Lister: several opened Lister windows conflict a little

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
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Lister: several opened Lister windows conflict a little

Post by *Alextp »

That is an old bug. Open two Lister windows at the same time. Call Find dialog in both of them, then switch to the first copy and try to close (OK / Cancel) the find dialog - you cannot. Second copy doesn't allow the 1st one to close its dialog.


BTW, 2Ghisler:
How do you achieve that Find dialog opens modally relative to the caller window only, not modally for the whole app?
It's interesting. How to do that?
User avatar
Hacker
Moderator
Moderator
Posts: 13081
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

That is an old bug.
Yes, and it has been reported before. ;)

Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

Sorry, I didn't find it.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48166
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

How do you achieve that Find dialog opens modally relative to the caller window only, not modally for the whole app?
It's interesting. How to do that?
Hmm, nothing specil, I'm just calling the DialogBox() function internally. Since it starts a new message loop, you cannot do things like closing other windows. You will also get into troubles if you open a modal dialog both in Lister and the main Total Commander...
Author of Total Commander
https://www.ghisler.com
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

So it's not possible with Delphi VCL functions. Thanks for info. I understand that it's hard to fix in TC.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48166
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Indeed I changed the VCL function to show the dialog boxes to make it work as it does now. This way the dialog in Lister does at least not block TC or the other other listers...
Author of Total Commander
https://www.ghisler.com
Post Reply