Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ TheIDE » U++ TheIDE: Other Features Wishlist and/or Bugs » [Linux] Tooltips and pop-up windows don't disappear when TheIde is losing focus
[Linux] Tooltips and pop-up windows don't disappear when TheIde is losing focus [message #43116] Thu, 08 May 2014 12:07 Go to next message
Zbych is currently offline  Zbych
Messages: 327
Registered: July 2009
Senior Member
Hi,

When I am switching between TheIde and other applications, tooltips and pop-up windows stay always on top.
Maybe TheIde should hide them when focus is lost?

index.php?t=getfile&id=4530&private=0
Re: [Linux] Tooltips and pop-up windows don't disappear when TheIde is losing focus [message #43128 is a reply to message #43116] Tue, 13 May 2014 07:54 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13986
Registered: November 2005
Ultimate Member
What Desktop environment is that?

Mirek
Re: [Linux] Tooltips and pop-up windows don't disappear when TheIde is losing focus [message #43129 is a reply to message #43128] Tue, 13 May 2014 20:33 Go to previous messageGo to next message
Zbych is currently offline  Zbych
Messages: 327
Registered: July 2009
Senior Member
Unity + Compiz (ubuntu 12.04)
Re: [Linux] Tooltips and pop-up windows don't disappear when TheIde is losing focus [message #44331 is a reply to message #43129] Mon, 23 February 2015 15:01 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13986
Registered: November 2005
Ultimate Member
Zbych wrote on Tue, 13 May 2014 20:33
Unity + Compiz (ubuntu 12.04)


Hopefully fixed.

Mirek
Re: [Linux] Tooltips and pop-up windows don't disappear when TheIde is losing focus [message #52448 is a reply to message #44331] Wed, 02 October 2019 09:21 Go to previous messageGo to next message
jjacksonRIAB is currently offline  jjacksonRIAB
Messages: 221
Registered: June 2011
Experienced Member
mirek wrote on Mon, 23 February 2015 15:01
Zbych wrote on Tue, 13 May 2014 20:33
Unity + Compiz (ubuntu 12.04)


Hopefully fixed.

Mirek


Was there a regression? I still have this problem on 4.15.0-64-generic #73-Ubuntu && Upp v.13393
It's not just Assist, it's all popup windows doing it. I was also able to crash TheIDE with a memory allocation error if I alt+tabbed right when Assist was rendering.

[Updated on: Wed, 02 October 2019 09:25]

Report message to a moderator

Re: [Linux] Tooltips and pop-up windows don't disappear when TheIde is losing focus [message #52453 is a reply to message #52448] Wed, 02 October 2019 14:27 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13986
Registered: November 2005
Ultimate Member
jjacksonRIAB wrote on Wed, 02 October 2019 09:21
mirek wrote on Mon, 23 February 2015 15:01
Zbych wrote on Tue, 13 May 2014 20:33
Unity + Compiz (ubuntu 12.04)


Hopefully fixed.

Mirek


Was there a regression? I still have this problem on 4.15.0-64-generic #73-Ubuntu && Upp v.13393
It's not just Assist, it's all popup windows doing it. I was also able to crash TheIDE with a memory allocation error if I alt+tabbed right when Assist was rendering.


Just to be sure, can you check with trunk please? (current version is 13624)
Re: [Linux] Tooltips and pop-up windows don't disappear when TheIde is losing focus [message #52459 is a reply to message #52453] Wed, 02 October 2019 18:28 Go to previous messageGo to next message
jjacksonRIAB is currently offline  jjacksonRIAB
Messages: 221
Registered: June 2011
Experienced Member
mirek wrote on Mon, 23 February 2015 15:01

Just to be sure, can you check with trunk please? (current version is 13624)

Took forever to build, but yes, it's still an issue as of 13621.

[Updated on: Fri, 04 October 2019 11:02]

Report message to a moderator

Re: [Linux] Tooltips and pop-up windows don't disappear when TheIde is losing focus [message #52463 is a reply to message #52459] Thu, 03 October 2019 10:44 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13986
Registered: November 2005
Ultimate Member
I guess it must be Unity related. I have just tried with Compiz/MATE/Ubuntu 16.04 and all seems fine.
Re: [Linux] Tooltips and pop-up windows don't disappear when TheIde is losing focus [message #52464 is a reply to message #52463] Thu, 03 October 2019 10:53 Go to previous messageGo to next message
jjacksonRIAB is currently offline  jjacksonRIAB
Messages: 221
Registered: June 2011
Experienced Member
It could be Cinnamon-related, I never considered that.
EDIT: after trying MATE, it appears to be a Cinnamon issue.

[Updated on: Thu, 03 October 2019 11:07]

Report message to a moderator

Re: [Linux] Tooltips and pop-up windows don't disappear when TheIde is losing focus [message #52465 is a reply to message #52464] Thu, 03 October 2019 11:14 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13986
Registered: November 2005
Ultimate Member
jjacksonRIAB wrote on Thu, 03 October 2019 10:53
It could be Cinnamon-related, I never considered that.
EDIT: after trying MATE, it appears to be a Cinnamon issue.


OK, will try with Cinnamon ASAP.
Re: [Linux] Tooltips and pop-up windows don't disappear when TheIde is losing focus [message #52467 is a reply to message #52464] Thu, 03 October 2019 18:35 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13986
Registered: November 2005
Ultimate Member
Hopefully fixed in trunk, please check and report.

Mirek
Re: [Linux] Tooltips and pop-up windows don't disappear when TheIde is losing focus [message #52471 is a reply to message #52467] Fri, 04 October 2019 10:11 Go to previous messageGo to next message
jjacksonRIAB is currently offline  jjacksonRIAB
Messages: 221
Registered: June 2011
Experienced Member
mirek wrote on Thu, 03 October 2019 18:35
Hopefully fixed in trunk, please check and report.

Mirek


Awesome, it appears to be fixed in TheIDE. Now I have to figure out why I have the same problem just making a straight call to PopUp.
Re: [Linux] Tooltips and pop-up windows don't disappear when TheIde is losing focus [message #52473 is a reply to message #52471] Fri, 04 October 2019 10:16 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13986
Registered: November 2005
Ultimate Member
jjacksonRIAB wrote on Fri, 04 October 2019 10:11
mirek wrote on Thu, 03 October 2019 18:35
Hopefully fixed in trunk, please check and report.

Mirek


Awesome, it appears to be fixed in TheIDE. Now I have to figure out why I have the same problem just making a straight call to PopUp.


Do you react to Deactivate?

Mirek
Re: [Linux] Tooltips and pop-up windows don't disappear when TheIde is losing focus [message #52474 is a reply to message #52473] Fri, 04 October 2019 10:25 Go to previous messageGo to next message
jjacksonRIAB is currently offline  jjacksonRIAB
Messages: 221
Registered: June 2011
Experienced Member
mirek wrote on Fri, 04 October 2019 10:16
jjacksonRIAB wrote on Fri, 04 October 2019 10:11
mirek wrote on Thu, 03 October 2019 18:35
Hopefully fixed in trunk, please check and report.

Mirek


Awesome, it appears to be fixed in TheIDE. Now I have to figure out why I have the same problem just making a straight call to PopUp.


Do you react to Deactivate?

Mirek


Nope, I will now. Very Happy I'm trying to do some janky thing where I want an irregular shaped tooltip, so to cover up for the lack of transparency I'm copying the background behind the PopUp and redrawing over it. It doesn't fix the drop shadow problem but the window is dark anyway so you have to look closely to notice.

index.php?t=getfile&id=5917&private=0
  • Attachment: janky.png
    (Size: 15.89KB, Downloaded 376 times)
Re: [Linux] Tooltips and pop-up windows don't disappear when TheIde is losing focus [message #52475 is a reply to message #52473] Fri, 04 October 2019 11:15 Go to previous messageGo to next message
jjacksonRIAB is currently offline  jjacksonRIAB
Messages: 221
Registered: June 2011
Experienced Member
Is the reaction by override? I'm inheriting from Ctrl and Deactivate never seems to be called.

Edit: ahh, looking at ToolTip it installs a mouse hook and state hook. I'll try that.

[Updated on: Fri, 04 October 2019 12:03]

Report message to a moderator

Re: [Linux] Tooltips and pop-up windows don't disappear when TheIde is losing focus [message #52477 is a reply to message #52475] Fri, 04 October 2019 14:39 Go to previous message
mirek is currently offline  mirek
Messages: 13986
Registered: November 2005
Ultimate Member
jjacksonRIAB wrote on Fri, 04 October 2019 11:15
Is the reaction by override? I'm inheriting from Ctrl and Deactivate never seems to be called.

Edit: ahh, looking at ToolTip it installs a mouse hook and state hook. I'll try that.


Yeah, you basically need to override Deactivate to close the popup. I guess menu (or Assist) is better example here.


Mirek
Previous Topic: Disable Assits++ scan on certain files
Next Topic: Build Methods detection
Goto Forum:
  


Current Time: Mon Jun 17 11:43:58 CEST 2024

Total time taken to generate the page: 0.03358 seconds