TC may re-use cursor pointer of a floating window

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

Post Reply
User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

TC may re-use cursor pointer of a floating window

Post by *DrShark »

Like I mentioned before, I have a floating language bar over TC title. The language bar is slightly covers TC Start menu item, and when mouse cursor is in left side of language bar, Move cursor pointer appears.

So, steps to reproduce the issue:
1. Place language bar over TC's title (using e.g. guides mentioned in this post), slightly covering Start menu item with it (like on a screenshot from this post.)
2. Press Start menu.
3. Move cursor to left side of language bar: cursor will change to "Moving pointer" (screenshot.)
4. Move cursor over Total Commander's Start menu items or main menu items like Configuration: cursor still has "move" pointer, even though it's no longer placed over language bar.
Last edited by DrShark on 2020-02-04, 22:06 UTC, edited 1 time in total.
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I will check it. It probably happens because TC isn't actively setting its cursor all the time.
Author of Total Commander
https://www.ghisler.com
User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

Post by *DrShark »

The issue has been reproduced not only in TC, but also in other apps that have native Windows menus, on Windows Vista, but not Windows 10.
So probably a Windows bug, which doesn't exist anymore in modern Windows versions.

Also, it seems that there is no known workaround to make right cursor to appear in Vista in such case, reason (from email):
Christian Ghisler wrote:because the message handling is taken over by Windows as long as a menu is open.
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Unfortunately it's a general Windows Vista bug, I cannot fix it myself. It was fixed by Microsoft in later Windows versions.
Author of Total Commander
https://www.ghisler.com
User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

Re: TC may re-use cursor pointer of a floating window

Post by *DrShark »

ghisler(Author) wrote: 2018-05-04, 08:12 UTCUnfortunately it's a general Windows Vista bug, I cannot fix it myself ... because the message handling is taken over by Windows as long as a menu is open.
Is this also true for owner drawn menus TC uses in or after using dark mode? Asking with small hope this mouse pointer issue can be fixed at least for owner drawn menus...
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
Post Reply