[10.50b5] File tooltips - cm_SwitchFileTipWindows, cm_SwitchFileTipWindows 0, cm_SwitchFileTipWindows 2

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

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
tuska
Power Member
Power Member
Posts: 3741
Joined: 2007-05-21, 12:17 UTC

[10.50b5] File tooltips - cm_SwitchFileTipWindows, cm_SwitchFileTipWindows 0, cm_SwitchFileTipWindows 2

Post by *tuska »

Code: Select all

cm_SwitchFileTipWindows	2959	Enable/disable file tooltips
cm_SwitchFileTipWindows	2959	Hilfstexte zu Dateinamen ein- und ausschalten
HISTORY.TXT wrote: 12.04.22 Release Total Commander 10.50 beta 1
08.03.22 Added: New internal command cm_SwitchFileTipWindows to enable/disable the display of tooltips (hints) for files.
                         Also accepts parameters 0=toggle, 1=on, 2(or -1)=off (32/64)
Button with command: cm_SwitchFileTipWindows 0

Code: Select all

TOTALCMD#BAR#DATA
cm_SwitchFileTipWindows 0

wciconex.dll,56
cm_SwitchFileTipWindows 0|Enable/disable the display of tooltips (hints) for files|Also accepts parameters 0=toggle, 1=on, 2(or -1)=off (32/64)|https://ghisler.ch/board/viewtopic.php?t=76391|Tooltip configuration


-1
Button with command: cm_SwitchFileTipWindows 2

Code: Select all

TOTALCMD#BAR#DATA
cm_SwitchFileTipWindows 2

wciconex.dll,56
cm_SwitchFileTipWindows 2|Enable/disable the display of tooltips (hints) for files|Also accepts parameters 0=toggle, 1=on, 2(or -1)=off (32/64)|https://ghisler.ch/board/viewtopic.php?t=76391|Tooltip configuration


-1
These are the options that determine whether the file tooltip is displayed or not:

Code: Select all

Configuration - Display: [x] Show filename in file list as tooltip if truncated
			     [x] Win32-style tips with file comments (if available)
Test case 1
  1. Make sure that tooltips are displayed -> point to file with cursor until tooltip appears
    Configuration - Display: [x] Show filename in file list as tooltip if truncated
    [x] Win32-style tips with file comments (if available)
  2. Run cm_SwitchFileTipWindows 2 -> TURN OFF the file tooltip display
    Configuration - Display: [ ] Show filename in file list as tooltip if truncated
    Greyed-out! -> [x] Win32-style tips with file comments (if available) <- Greyed-out!
  3. Quit TC (ALT+F4)
  4. Start TC
  5. Although the tooltip display should be switched OFF, the tooltip is still displayed.
    This option has switched itself over as described under point 1.
    Configuration - Display: [x] Show filename in file list as tooltip if truncated
    [x] Win32-style tips with file comments (if available)
-------------------------
Test case 2
cm_SwitchFileTipWindows 0
Same result as in point 5. for test case 1 after switching off the tooltip display.

-------------------------
Test cases 3, 4, 5
3) Change from TC x64 (tooltip OFF, Quit TC) to x86 (Start TC) -> error: x86 shows tooltip.
4) Change from TC x86 (tooltip OFF, Quit TC) to x64 (Start TC) -> error: x64 shows tooltip.
5) cm_SwitchFileTipWindows 2, quit TC (ALT+F4), PC warm start, start TC
    -> file tooltips present, although previously switched off.

Test case 6
cm_SwitchFileTipWindows 1
The tooltip display also remains after a TC restart -> OK!

Thus, the permanent shutdown of the tooltip display does not work at present.

Therefore, please check test cases 1 - 5.
Thanks!


Tested with:
Windows 10 Pro (x64) Version 21H2 (OS build 19044.1706)
TC 10.50b5 x64/x86, TC_clean_x64.ini, TC_clean_x86.ini
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [10.50b5] File tooltips - cm_SwitchFileTipWindows, cm_SwitchFileTipWindows 0, cm_SwitchFileTipWindows 2

Post by *ghisler(Author) »

cm_SwitchFileTipWindows is indeed temporary. Since all the other toggle commands are permanent, I will make this permanent too.
Author of Total Commander
https://www.ghisler.com
User avatar
funkymonk
Senior Member
Senior Member
Posts: 410
Joined: 2013-12-04, 09:56 UTC

Re: [10.50b5] File tooltips - cm_SwitchFileTipWindows, cm_SwitchFileTipWindows 0, cm_SwitchFileTipWindows 2

Post by *funkymonk »

BTW: Talking about ToolTips, is there any news on https://www.ghisler.ch/board/viewtopic.php?p=412372&hilit=tooltip#p412372 (post 1 and 3)?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [10.50b5] File tooltips - cm_SwitchFileTipWindows, cm_SwitchFileTipWindows 0, cm_SwitchFileTipWindows 2

Post by *ghisler(Author) »

It's on my to do list, but I cannot say whether I will add it to TC 10.50 or 11.
Author of Total Commander
https://www.ghisler.com
User avatar
tuska
Power Member
Power Member
Posts: 3741
Joined: 2007-05-21, 12:17 UTC

Re: [10.50b5] File tooltips - cm_SwitchFileTipWindows, cm_SwitchFileTipWindows 0, cm_SwitchFileTipWindows 2

Post by *tuska »

Can you please still implement this proposal?
tuska wrote: 2022-05-12, 21:15 UTC 2ghisler(Author)
Could you please do it at command: cm_SwitchFileTipWindows ... Toggle the display of tooltips (hints) for files
to enable the button to be displayed pressed/not pressed, analogous to the command: cm_ToggleAutoViewModeSwitch?
User avatar
petermad
Power Member
Power Member
Posts: 14741
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: [10.50b5] File tooltips - cm_SwitchFileTipWindows, cm_SwitchFileTipWindows 0, cm_SwitchFileTipWindows 2

Post by *petermad »

tuska wrote: 2022-05-16, 12:29 UTC Can you please still implement this proposal?
tuska wrote: 2022-05-12, 21:15 UTC 2ghisler(Author)
Could you please do it at command: cm_SwitchFileTipWindows ... Toggle the display of tooltips (hints) for files
to enable the button to be displayed pressed/not pressed, analogous to the command: cm_ToggleAutoViewModeSwitch?
That already works for me in TC 10.50b5
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
tuska
Power Member
Power Member
Posts: 3741
Joined: 2007-05-21, 12:17 UTC

Re: [10.50b5] File tooltips - cm_SwitchFileTipWindows, cm_SwitchFileTipWindows 0, cm_SwitchFileTipWindows 2

Post by *tuska »

petermad wrote: 2022-05-16, 12:42 UTC That already works for me in TC 10.50b5
Ahh, thanks for pointing that out :) - only now do I notice the difference:

Code: Select all

cm_SwitchFileTipWindows		button to be displayed pressed/not pressed -> OK
cm_SwitchFileTipWindows 0	button to be displayed pressed/not pressed -> not available
In my very first suggestion, I still had cm_SwitchFileTipWindows 0 registered,
and only later corrected (edited) to cm_SwitchFileTipWindows as I feared that
this function might not work with cm_SwitchFileTipWindows 0.

If it works with cm_SwitchFileTipWindows (button to be displayed pressed/not pressed),
then one can leave it at that, unless the author also wants to set it up for cm_SwitchFileTipWindows 0.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [10.50b5] File tooltips - cm_SwitchFileTipWindows, cm_SwitchFileTipWindows 0, cm_SwitchFileTipWindows 2

Post by *ghisler(Author) »

Indeed the button state only works when NOT using any parameters.
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14741
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: [10.50b5] File tooltips - cm_SwitchFileTipWindows, cm_SwitchFileTipWindows 0, cm_SwitchFileTipWindows 2

Post by *petermad »

ghisler(Author) wrote: 2022-05-16, 13:50 UTC Indeed the button state only works when NOT using any parameters.
Confirmed - not even with 0 as parameter.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
funkymonk
Senior Member
Senior Member
Posts: 410
Joined: 2013-12-04, 09:56 UTC

Re: [10.50b5] File tooltips - cm_SwitchFileTipWindows, cm_SwitchFileTipWindows 0, cm_SwitchFileTipWindows 2

Post by *funkymonk »

ghisler(Author) wrote: 2022-05-16, 09:30 UTC It's on my to do list, but I cannot say whether I will add it to TC 10.50 or 11.
Both sounds good. Thank you!
User avatar
petermad
Power Member
Power Member
Posts: 14741
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: [10.50b5] File tooltips - cm_SwitchFileTipWindows, cm_SwitchFileTipWindows 0, cm_SwitchFileTipWindows 2

Post by *petermad »

history.txt wrote:15.05.22 Fixed: cm_SwitchFileTipWindows: New value of FileTipWindows wasn't saved to wincmd.ini (32/64)
Confirmed fixed in TC 10.50b6 :-)
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
tuska
Power Member
Power Member
Posts: 3741
Joined: 2007-05-21, 12:17 UTC

Re: [10.50b5] File tooltips - cm_SwitchFileTipWindows, cm_SwitchFileTipWindows 0, cm_SwitchFileTipWindows 2

Post by *tuska »

Bug fixing confirmed in TC 10.50b6 :)
Thank you!
User avatar
white
Power Member
Power Member
Posts: 4595
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: [10.50b5] File tooltips - cm_SwitchFileTipWindows, cm_SwitchFileTipWindows 0, cm_SwitchFileTipWindows 2

Post by *white »

Moderator message from: white » 2022-05-19, 13:22 UTC

Moved to Fixed bugs
Post Reply