Workspace number at changes -- system freeze
Closed this issue · 9 comments
- Fvwm3 version (run:
fvwm3 --version
)
fvwm3 1.1.0 (released)
Expected Behaviour
This config has worked well until fvwm3 1.1.0 release.
https://fvwmforums.org/t/any-idea-to-display-the-workspace-number-at-changes/1822/6
It was copied and modified to a PageIndicator script.
https://github.com/rasatpc/Fvwm-KISe/blob/main/core/1Functions/PageIndicator/deskPgNo.sys
Fvwm3 1.1.0 makes FvwmPager flicker and freezes the system for a few seconds. Any action freezes the whole system.
I have not been able to pinpoint the issue, but it seems to do with Module FvwmEvent
Is it a bug or a config error?
Hi @rasatpc
Yes, it's a bug. I think I need to check the DesktopSize broadcast module issue as this implicitly sends a M_NEW_PAGE packet each time.
That being said, the way you've written this panel is written to spawn itself on a new_page event each time seems weird to me. I would instead use a single sticky FvwmButtons instance, and use SendToModule to change the button's text.
Please can you try compiling fvwm3 on the ta/gh-997
branch? Hopefully that fixes this problem for you.
fvwm3 on the ta/gh-997 branch
Slightly better with milder freeze.
- Menu (left-click) appears, not previously due to freeze.
- FvwmPager flickers.
- FvwmPager mini-window shows modules on the desk. Doesn't read the option...
*FvwmPager: UseSkipList
(hides modules)
So it does help?
Good.
Whatever you're referring to re UseSkipList, has nothing to do with this issue.
Slight help, but still freezes,
Ok, UseSkipList
I check later after this system freeze is solved.
I don't have any freezes here.
Can you see if there's other factors here which could be contributing to this?
Earlier I test with all Kise configs.
Now, default config with RightPanel.
FvwmConsole:
Read deskPgNo.sys
RightPanel's FvwmPager mini-windows are shaking, stops and system freeze.
Did you make any new changes in ta/gh-997
in 3 hours?
No, but I have just pushed another fix on that branch -- please git pull
and try again.
Note also that your config example is still going to spawn a new FvwmButtons each time there's a new_page event. You should rewrite it per my earlier suggestion -- until you do, you will notice flickering as fvwm is trying to deal with that.
Thank you, the Page Indicator works fine.
use a single sticky FvwmButtons instance, and use SendToModule to change the button's text.
I don't understand those technical words. Will ask tomorrow. It is late here in Helsinki.... 01:35. Good night.