[b3x64] Status line not always updated
Moderators: Hacker, petermad, Stefan2, white
[b3x64] Status line not always updated
Brief mode.
Left panel contains some file.
Right panel is empty folder (so cursor is on ".." and status line shows "<DIR>").
1. Press Tab to get to the left panel.
2. Copy the file to right panel.
3. Press Tab to get to the right panel (cursor is still on ".." and status line shows "<DIR>").
4. Press down arrow on the keyboard: cursor moves to the newly copied file but status line still shows "<DIR>" instead of file size (sometimes it indeed shows file size but much more often not).
If cursor is moved up to ".." and then down back to file, then status line is updated.
TC8.0b3, Windows 7 SP1 x64 Pro Eng.
Left panel contains some file.
Right panel is empty folder (so cursor is on ".." and status line shows "<DIR>").
1. Press Tab to get to the left panel.
2. Copy the file to right panel.
3. Press Tab to get to the right panel (cursor is still on ".." and status line shows "<DIR>").
4. Press down arrow on the keyboard: cursor moves to the newly copied file but status line still shows "<DIR>" instead of file size (sometimes it indeed shows file size but much more often not).
If cursor is moved up to ".." and then down back to file, then status line is updated.
TC8.0b3, Windows 7 SP1 x64 Pro Eng.
- ghisler(Author)
- Site Admin
- Posts: 50532
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Thanks, I can confirm it. It seems that I'm not getting a notification from Lazarus. I will check that.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50532
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
- ghisler(Author)
- Site Admin
- Posts: 50532
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
- ghisler(Author)
- Site Admin
- Posts: 50532
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
- ghisler(Author)
- Site Admin
- Posts: 50532
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Same problem again in beta 9 x64 
1. Brief mode. I have 33 files in a folder.
2. Select all of them with Ctrl+A.
3. Deselect the first file with Insert button. Note that the second file is focused now.
4. Press "Calculate Occupied Space" (Ctrl+L).
5. Press Escape to close message box.
6. Deselect all files with Ctrl+Num-.
7. Move cursor up one line so that the first file becomes focused. Status line is not updated.

1. Brief mode. I have 33 files in a folder.
2. Select all of them with Ctrl+A.
3. Deselect the first file with Insert button. Note that the second file is focused now.
4. Press "Calculate Occupied Space" (Ctrl+L).
5. Press Escape to close message box.
6. Deselect all files with Ctrl+Num-.
7. Move cursor up one line so that the first file becomes focused. Status line is not updated.
- ghisler(Author)
- Site Admin
- Posts: 50532
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Hmm, sounds a bit constructed, but I will still have a look at it when I find the time.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50532
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
In principle, yes. With Delphi it was easy, each focus change triggered the OnChange method. Not so with Lazarus, it's triggered only when the user clicks himself, so I have to handle all these special cases myself.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com