Focus bug switching panel
Moderators: Hacker, petermad, Stefan2, white
Focus bug switching panel
Hello,
I use total commander 8.5 with plugin synwrite 6.1.185.
My problem is that when I run internal Lister (F3) with synwrite plugin, I can't switch focus to it while the lexer of synwrite is working. When the file is totally loaded it works. For big files it may take many seconds.
You could tell me that it's normal because synwrite is busy. But no. The "bug" occurs only if I want to switch panel focus using tab key. If I click with the mouse on the lister panel, the focus is set on it and I can navigate in the file normaly even if it is not completly loaded.
Sorry for my english, tell me if something is not clear.
I use total commander 8.5 with plugin synwrite 6.1.185.
My problem is that when I run internal Lister (F3) with synwrite plugin, I can't switch focus to it while the lexer of synwrite is working. When the file is totally loaded it works. For big files it may take many seconds.
You could tell me that it's normal because synwrite is busy. But no. The "bug" occurs only if I want to switch panel focus using tab key. If I click with the mouse on the lister panel, the focus is set on it and I can navigate in the file normaly even if it is not completly loaded.
Sorry for my english, tell me if something is not clear.
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Unfortunately most lister plugins are not thread-safe, so TC tells them in the foreground thread to load the file. If the plugin then starts its own message loop, some TC functions like handling Tab do not work because they are handled in the main message loop (tab is special because Windows would intercept it before it reaches the dialog to switch between controls, so it has to be handled before).
Therefore there is unfortunately nothing I can do, sorry.
Btw, is this problem specific to TC 8.5? I'm not aware of any changes since TC8.
Therefore there is unfortunately nothing I can do, sorry.
Btw, is this problem specific to TC 8.5? I'm not aware of any changes since TC8.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Ok sorry maybe I didn't completly understood Ghisler's answer. he told there was nothing he could do. But if the bug is in the TC API, who can correct it if not you :p
Last edited by vfloyd on 2013-12-19, 16:17 UTC, edited 1 time in total.