TC 10.52 x32: when you click on the tooltip, the focus of TC is lost

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: white, Hacker, petermad, Stefan2

User avatar
AntonyD
Power Member
Power Member
Posts: 1231
Joined: 2006-11-04, 15:30 UTC
Location: Russian Federation

Re: TC 10.52 x32: when you click on the tooltip, the focus of TC is lost

Post by *AntonyD »

Are you sure you used 32-bit TC?
Indeed - my mistake. Apologize. tested 64bit....
yeah, 32bit - shows mentioned strange behavior...
#146217 personal license
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: TC 10.52 x32: when you click on the tooltip, the focus of TC is lost

Post by *ghisler(Author) »

I have tested this - the focus only seems to go temporarily to the hint, and returns to TC when the hint disappears. It looks like it has been like this for many years, so I prefer not to change it, sorry.
Author of Total Commander
https://www.ghisler.com
User avatar
AntonyD
Power Member
Power Member
Posts: 1231
Joined: 2006-11-04, 15:30 UTC
Location: Russian Federation

Re: TC 10.52 x32: when you click on the tooltip, the focus of TC is lost

Post by *AntonyD »

But a hint is not some full-fledged window on which you can actually click.
Ok, more precisely, we can click - but no action should occur! And so happens in all other windows applications.
And what - the tooltip is not drawn standard? but as a full-fledged mini-window? With its queue of messages in processing?
#146217 personal license
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: TC 10.52 x32: when you click on the tooltip, the focus of TC is lost

Post by *ghisler(Author) »

Yes, it's a floating window. How else would you draw something which can go over other programs (when the name is very long)?
Author of Total Commander
https://www.ghisler.com
User avatar
AntonyD
Power Member
Power Member
Posts: 1231
Joined: 2006-11-04, 15:30 UTC
Location: Russian Federation

Re: TC 10.52 x32: when you click on the tooltip, the focus of TC is lost

Post by *AntonyD »

Maybe it's time to take another library, which is sharpened for drawing tooltips, in order to get, as another plus, the ability to draw in a more modern and more convenient way - for example, fields could be added to a tooltip implemented by another library, necessary for the output, specify the maximum width for the tooltip, after which it would wrap the output to the second/third line. Well, a more necessary plus could well be that the focus would no longer run away from the program.
But not to leave it just "as-is" because " It looks like it has been like this for many years"...
#146217 personal license
Fla$her
Power Member
Power Member
Posts: 2244
Joined: 2020-01-18, 04:03 UTC

Re: TC 10.52 x32: when you click on the tooltip, the focus of TC is lost

Post by *Fla$her »

2ghisler(Author)
Couldn't fix it?
Overquoting is evil! 👎
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: TC 10.52 x32: when you click on the tooltip, the focus of TC is lost

Post by *ghisler(Author) »

Sorry, I couldn't find the reason why it happens.
Author of Total Commander
https://www.ghisler.com
Fla$her
Power Member
Power Member
Posts: 2244
Joined: 2020-01-18, 04:03 UTC

Re: TC 10.52 x32: when you click on the tooltip, the focus of TC is lost

Post by *Fla$her »

Can you suppress the tooltip? The author of Autorun succeeded.
Overquoting is evil! 👎
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: TC 10.52 x32: when you click on the tooltip, the focus of TC is lost

Post by *ghisler(Author) »

What do you mean? It does close when you click on it, what else should it do?
Author of Total Commander
https://www.ghisler.com
Fla$her
Power Member
Power Member
Posts: 2244
Joined: 2020-01-18, 04:03 UTC

Re: TC 10.52 x32: when you click on the tooltip, the focus of TC is lost

Post by *Fla$her »

You can intercept the click of the LMB and hide/suppress the window with the hint, and then focus on the element under the cursor, thereby bypassing the problem of deactivating the TC main window.
Overquoting is evil! 👎
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: TC 10.52 x32: when you click on the tooltip, the focus of TC is lost

Post by *ghisler(Author) »

It's complicated. Currently I set a timer on mouse down which removes the tip after a short delay. Removing it within the mous down handler was causing inexplicable crashes.
Author of Total Commander
https://www.ghisler.com
Post Reply