Quick view panel: Clicking on a Lister plugin didn't mark the panel as active

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

Moderators: petermad, Stefan2, white, Hacker

AkulaBig
Power Member
Power Member
Posts: 707
Joined: 2021-09-09, 17:28 UTC

Re: Quick view panel: Clicking on a Lister plugin didn't mark the panel as active

Post by *AkulaBig »

Horst.Epp wrote: 2026-04-08, 13:34 UTC For me, Imagine plugin still works fine to view .fli files with RC3
Indeed, everything works on a clean build! I will look for the problem myself.
AkulaBig
Power Member
Power Member
Posts: 707
Joined: 2021-09-09, 17:28 UTC

Re: Quick view panel: Clicking on a Lister plugin didn't mark the panel as active

Post by *AkulaBig »

ghisler(Author) wrote: 2026-04-08, 07:03 UTC RC3 will be released later today, you will then see what I mean.
When updating one file at a time, it turned out that the problem was due to the TOTALCMD64.EXE file. In TC 32-bit everything works fine. What setting can affect 64-bit TC specifically?
AkulaBig
Power Member
Power Member
Posts: 707
Joined: 2021-09-09, 17:28 UTC

Re: Quick view panel: Clicking on a Lister plugin didn't mark the panel as active

Post by *AkulaBig »

Oh, my problem has already been reported in a bug:
The settings in lister for "Define view by file type" (ModeByfileType=1) no longer works in Lister in TC 11.57rc3 64bit - The 32bit version still works.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 52373
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Quick view panel: Clicking on a Lister plugin didn't mark the panel as active

Post by *ghisler(Author) »

Now it's clear. TC1by1 began to show focus. TCModPlug and TCAlReaderExt still do not show focus.
Can you try sending WM_COMMAND with high word of LPARAM set to 0xFFF8 when your plugin gets the focus?
Author of Total Commander
https://www.ghisler.com
Fla$her
Power Member
Power Member
Posts: 3788
Joined: 2020-01-18, 04:03 UTC

Re: Quick view panel: Clicking on a Lister plugin didn't mark the panel as active

Post by *Fla$her »

AkulaBig wrote: 2026-04-08, 11:57 UTC TC1by1 began to show focus.
Very unstable. It activates on the first file, but when switching to others, it doesn't. Sometimes closing and switching with Alt+Tab from other windows helps, but not always.
Overquoting is evil! 👎
AkulaBig
Power Member
Power Member
Posts: 707
Joined: 2021-09-09, 17:28 UTC

Re: Quick view panel: Clicking on a Lister plugin didn't mark the panel as active

Post by *AkulaBig »

ghisler(Author) wrote: 2026-04-08, 16:25 UTC
Now it's clear. TC1by1 began to show focus. TCModPlug and TCAlReaderExt still do not show focus.
Can you try sending WM_COMMAND with high word of LPARAM set to 0xFFF8 when your plugin gets the focus?
Hm. nothing happens:
[img]https://s1.hostingkartinok.com/uploads/thumbs/2026/04/b50df44259f6dd896ebbdabc031964d9.png[/img]
AkulaBig
Power Member
Power Member
Posts: 707
Joined: 2021-09-09, 17:28 UTC

Re: Quick view panel: Clicking on a Lister plugin didn't mark the panel as active

Post by *AkulaBig »

Fla$her wrote: 2026-04-08, 16:35 UTC
AkulaBig wrote: 2026-04-08, 11:57 UTC TC1by1 began to show focus.
Very unstable. It activates on the first file, but when switching to others, it doesn't. Sometimes closing and switching with Alt+Tab from other windows helps, but not always.
Interestingly, it works stably for me. Maybe some program is stealing your focus?
AkulaBig
Power Member
Power Member
Posts: 707
Joined: 2021-09-09, 17:28 UTC

Re: Quick view panel: Clicking on a Lister plugin didn't mark the panel as active

Post by *AkulaBig »

I quickly tried not to hide the header, that is, make 1by1 a descendant. No, no effect.
Fla$her
Power Member
Power Member
Posts: 3788
Joined: 2020-01-18, 04:03 UTC

Re: Quick view panel: Clicking on a Lister plugin didn't mark the panel as active

Post by *Fla$her »

Interestingly, it works stably for me.
On both bitnesses?
Maybe some program is stealing your focus?
This wouldn't correspond to the initial conditions when another panel is active.
Overquoting is evil! 👎
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 52373
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Quick view panel: Clicking on a Lister plugin didn't mark the panel as active

Post by *ghisler(Author) »

Hm. nothing happens:
The high word of lparam must be set to 0xFFF8, so send 0xFFF80000 instead.
Author of Total Commander
https://www.ghisler.com
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 52373
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Quick view panel: Clicking on a Lister plugin didn't mark the panel as active

Post by *ghisler(Author) »

You need to send WM_COMMAND to the Lister window, that's the one you receive in ListLoad.
Author of Total Commander
https://www.ghisler.com
AkulaBig
Power Member
Power Member
Posts: 707
Joined: 2021-09-09, 17:28 UTC

Re: Quick view panel: Clicking on a Lister plugin didn't mark the panel as active

Post by *AkulaBig »

ghisler(Author) wrote: 2026-04-09, 08:50 UTC You need to send WM_COMMAND to the Lister window, that's the one you receive in ListLoad.
It turns out that you need to check the Lister window that appears with F3? After all, Lister is not accessible via Ctrl+Q? Let me describe my actions step by step:
1. Press F3, the TC1by1 plugin starts.
2. Using the Spy program, I capture the TLister window:
[img]https://s1.hostingkartinok.com/uploads/thumbs/2026/04/a9ee240a9119be80e9672fc9969edc5c.png[/img]
3. I enter WM_COMMAND in LPARAM FFF80000:
[img]https://s1.hostingkartinok.com/uploads/thumbs/2026/04/2a8f4b058176ed22424f496ce9766608.png[/img]
Result 0 :(
What am I doing wrong?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 52373
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Quick view panel: Clicking on a Lister plugin didn't mark the panel as active

Post by *ghisler(Author) »

No, Ctrl+Q also opens a Lister window! It's just embedded in Total Commander.

Lister ignores WM_COMMAND with LPARAM=FFF80000 when started with F3. Have you checked what happens when you send it after opening Ctrl+Q?
Author of Total Commander
https://www.ghisler.com
AkulaBig
Power Member
Power Member
Posts: 707
Joined: 2021-09-09, 17:28 UTC

Re: Quick view panel: Clicking on a Lister plugin didn't mark the panel as active

Post by *AkulaBig »

ghisler(Author) wrote: 2026-04-10, 08:11 UTC No, Ctrl+Q also opens a Lister window! It's just embedded in Total Commander.

Lister ignores WM_COMMAND with LPARAM=FFF80000 when started with F3. Have you checked what happens when you send it after opening Ctrl+Q?
I checked it on TCSumatraPDF, uLister using CtrL+Q. Nothing happens. TC1by1 Lister does not.
Post Reply