Dark Mode on and off: different msgbox box sizes, copied style and translation

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

Moderators: sheep, Hacker, Stefan2, white

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

Re: Dark Mode on and off: different msgbox box sizes, copied style and translation

Post by *DrShark » 2019-11-28, 17:07 UTC

ghisler(Author) wrote:
2019-11-28, 11:26 UTC
Maybe some other program is locking the clipboard
I tried with terminated PuntoSwitcher which monitored clipboard, but issue still happens. Also instead of pasting the text to some editor I tried to check clipboard content with Windows NT ClipBook Viewer (clipbrd.exe): there I see that sometimes when I press Ctrl+C on active msgbox window first time, clipboard content is not updated. Since there is no beep at this moment too, it looks like msgbox window sometimes fails to catch first Ctrl+C keypress. Right now I don't know what can I do to get more information on the issue. Is there any way to make sure Ctrl+C reaches TC's msgbox window?
Android 4.3.1 no root, kernel 08.09.2016; Vista Home Premium SP2 rus 32 bit
TC #149847 Personal licence

Cuz we're all in this together, We're here to make it right

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 38395
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Dark Mode on and off: different msgbox box sizes, copied style and translation

Post by *ghisler(Author) » 2019-11-29, 15:44 UTC

The check for ctrl+c is very simple: on OnKeyup of the form, I call:

Code: Select all

if (key=ord('C')) and (Shift=[ssCtrl]) then begin
Maybe some other modifier keys like Shift or Alt were still pressed?
Author of Total Commander
http://www.ghisler.com

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

Re: Dark Mode on and off: different msgbox box sizes, copied style and translation

Post by *DrShark » 2019-12-02, 14:35 UTC

I can reproduce this Ctrl+C fails even after PC reboot. In email I asked to add some logging on this, but it silently goes to Behavior will no be changed now... Well... In that email I also wrote that system msgbox supports text copy by Ctrl+Ins, and it doesn't work with dark msgboxes of Total Commander.
Android 4.3.1 no root, kernel 08.09.2016; Vista Home Premium SP2 rus 32 bit
TC #149847 Personal licence

Cuz we're all in this together, We're here to make it right

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 38395
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Dark Mode on and off: different msgbox box sizes, copied style and translation

Post by *ghisler(Author) » 2019-12-04, 18:14 UTC

Maybe it's Vista-specific? I will have to make some tests on Vista...
Author of Total Commander
http://www.ghisler.com

Post Reply