[solved] Lister menu shown in full screen mode of image viewers

Bug reports will be moved here when the described bug has been fixed

Moderators: Hacker, petermad, Stefan2, white

User avatar
petermad
Power Member
Power Member
Posts: 16009
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

[solved] Lister menu shown in full screen mode of image viewers

Post by *petermad »

Lister menu shown in full screen mode of image viewers when dialogs has been opened.

Prequisite: A user defined encoding has to be defined for Lister.

To reproduce:

1. Put this line in the [Lister] section of wincmd.ini: UserEncodings=ISO Latin1 (28591)
2. Restart TC.
3. Use either Imagine (1.0.4 or 1.0.5wip) or SGViewer (1.9.2 beta) to view an image.
4. Switch to full screen (Alt+Enter).
5. Open any plugin dialog, press for example Ctrl+S.
6. Close the dialog again.
7. Now Lister menu is shown in the top of the screen.

7. Remove UserEncodings=ISO Latin1 (28591) from wincmd.ini and restart TC
8. Now the bug is gone!
Last edited by petermad on 2021-05-30, 17:51 UTC, edited 1 time in total.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
Boofo
Power Member
Power Member
Posts: 1431
Joined: 2003-02-11, 00:29 UTC
Location: Des Moines, IA (USA)
Contact:

Post by *Boofo »

[OT]Where can we find the beta version of SGViewer?[/OT]
chmod a+x /bin/laden -- Allows anyone the permission to execute /bin/laden

How do I un-overwrite all my data?

User of Total Commander
#60471 Single user license
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

Unexpected Menu---

Post by *Clo »

2petermad

:) Hello Peter !

• Tested with Imagine 1.0.5wip : Confirmed !
7. Remove UserEncodings=ISO Latin1 (28591) from wincmd.ini and restart TC
8. Now the bug is gone!
• Confirmed as well !
Note : Here I've F11 set for Full screen in Imagine, that doesn't prevent to reproduce the bug as you say…

:mrgreen: KR
Claude
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
User avatar
fenix_productions
Power Member
Power Member
Posts: 1979
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

Post by *fenix_productions »

Confirmed!
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...

#128099
User avatar
petermad
Power Member
Power Member
Posts: 16009
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

2Boofo
Where can we find the beta version of SGViewer?
http://progman13.totalcmd.net/downloads/wlx_SGViewer_1.9.2_BETA.zip

I don't know if it is official in any respect, I got it from a personal email correspondance with the author (ProgMan13) about some bug fixing.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
deus-ex
Power Member
Power Member
Posts: 979
Joined: 2003-02-10, 17:45 UTC

Post by *deus-ex »

Confirmed. Adding "UserEncodings=" to the [Lister] section of wincmd.ini it's suffice to define just one character as the value to make the described issue appear. Any letter/number/sign will do except for the "Space" char, e.g. "UserEncodings=.".

_____________
Kind regards,
deus-ex
User avatar
Boofo
Power Member
Power Member
Posts: 1431
Joined: 2003-02-11, 00:29 UTC
Location: Des Moines, IA (USA)
Contact:

Post by *Boofo »

2petermad

Thank you for the link. It must not be official as I couldn't find it anywhere Googling it.

Also confirmed on the bug. ;)
chmod a+x /bin/laden -- Allows anyone the permission to execute /bin/laden

How do I un-overwrite all my data?

User of Total Commander
#60471 Single user license
User avatar
petermad
Power Member
Power Member
Posts: 16009
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

it's suffice to define just one character as the value
That's my experience too.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50390
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I can confirm that too, but you will have to live with it. Why?

1. There is no official full screen mode in Lister. It's done by the plugin, so the plugin has to handle it correctly if it wants to do that.

2. Lister refreshes the menu when you switch to it. I tried it when the menu is opened, but this doesn't work, so I had to do it when lister is activated (because the user may have changed the wincmd.ini manually, or change the options in another copy of Lister). When TC refreshes the menu, it's redrawn by Windows, that's probaly why it appears.
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 16009
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

2ghisler(Author)

But why only if there i a UserEncodings= statement in wincmd.ini :?:
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50390
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

See point two of my explanation. It's the updating of the menu with the user-defined encodings when you switch to Lister (which happens when you close the settings dialog).
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 16009
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

which happens when you close the settings dialog
Thanks, now I understand :-)
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
petermad
Power Member
Power Member
Posts: 16009
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

2ghisler(Author)

Wouldn't it be possible to NOT let TC update the menu when Lister is in a mode (4, 6 or 7) where the Encoding item is disabled anyway - Lister must know what mode it is currently in when it is switched to, I guess?
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50390
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Yes, that could be done - but then the update has be done at a later time, maybe when the menu is re-enabled. I will check that.
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 16009
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

Thanks!
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Post Reply