-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
lxterminal, xterm windows sporadically flash on task bar without reason #772
Comments
The video doesn't show properly. Can you make a screencast? What focus model do you use? Does it work with Quiet Sloppy? This is with |
Hello. TaksBarShowAllWindows has default value 0. ManualPlacement=1 TaskBarAutoHide = 0 TerminalCommand = xterm.moj In addition, the focus_mode file: FocusMode=0 |
Using all your settings, I can't reproduce it! Nothing ever flashes... You can set the |
Hello. It is strange. But you can see on video, that it is happening. And for me, every time when I restart icewm. I added to the winoptions file in ~/.icewm and restarted icewm, but no change. The same behavior as before. I tried also icesh winoptions, but the same result. Update: There is a change. Now I cannot use icesh urgent command to stop flashing. I'm going to revert this option back, as it makes issue worse. :( |
I can create MS Teams meeting for debugging the issue if you give me e-mail address to invite. |
Try Check Run |
Also set |
Hello. The FlashTime is set 10 seconds as you can see from the preferences file I shared. I set FlashTime to zero and result is that flashing is now indefinite and cannot be stopped with icesh restore|urgent.
icesh restore cannot stop flashing, only urgent works. |
With FocusOnAppRaise=0 no change. |
Can you start from the default configuration? |
What sets that bit? |
This is good question. These terminals are open for approximately 2-3 days. I just tried to open the new one and it is without urgency bit set. And also does not flash after icewm restart. This is reason, why you cannot reproduce the issue. So the question is how it happened, that these 3 terminals have this bit set? And how to clear it? So it looks, that flashing after restart is only secondary reaction. The root cause is somewhere else. |
And why only terminals? Why I have not observed this with firefox, thunderbird or pavucontrol, which are permanently running on my desktop? |
Maybe I have an idea. Lxterminal has an option for visual bell. This is used in case, that PC does not have beeper. With lxterminal, the visual bell is translated to flashing of icon in task bar. Here is a proof. The new lxterminal window:
The same lxterminal window, after visual bell was used:
So it looks, that urgency flag is not cleared after it is used for visual bell. Is clearing of urgent flag responsibility of WM or application? |
It is the responsibility of the application according to section 4.1.2.4 of http://www.x.org/docs/ICCCM/icccm.pdf: |
Lxterminal never turns the urgency flag off. That is clearly a bug in lxterminal. |
Hello. I can confirm, that after applying patches, icesh urgent and restore commands clear urgency hint. |
The question now is, is this a desirable feature or not? Nowhere in the ICCCM spec does it say that a WM should clear this flag. Lxterminal may be the only application which has this bug. If you want all WMs to support this erratic behavior, you have to inform all 367 WMs out there and update the spec. We may just as well remove this new code from IceWM and let lxterminal users suffer a bit until they report the bug to the lxterminal developers. |
Hello. I have created a ticket for lxterminal. Let us wait for lxde developers reaction. |
Thanks! Urxvt has this cool option, which is spot on!
Sakura and XTerm also work correctly. So does xfce4-terminal. |
I tried Sakura, it works in the same way as lxterminal.
The same window after visual bell (called urgency bell in Sakura):
It does not help, when I change focus, the urgency hint is still active. And after icewm restart, also the Sakura icon blinks, until icewm clears the urgency hint. |
What version of sakura is that? |
This one: Information for package sakura:Repository : openSUSE-Leap-15.4-1 |
Hello.
I'm observing strange behavior of icewm and at least 2 terminals emulator I'm using - lxterminal and xterm. Sporadically it happens, that terminal windows start to flash on task bar every time the focus is changed from or to terminal window. The only way, how put the terminal window back to normal state is to use 'icesh urgent' command on the terminal window. This command, after initial flash, clears urgent flag from the window and it behaves normally afterwards.
I'm aware about this issue for some time, but I was not able to reproduce it reliably. Today I accidentally found out, that issue happens always, when I restart icewm with terminal windows opened. Download following recording for more information:
https://mail.upjs.sk/20240423_212449.mp4
Also terminals from other virtual desktop appears on task bar and flash after the restart. I set icewm to only show windows from the current virtual desktop on the task bar. This led me to believe, that the urgent flag is set for these windows.
icewm version: icewm-3.4.7
terminal emulators: lxterminal-0.4.0-bp154.1.86, xterm-330-150200.11.12.1
OS: OpenSuSE Leap 15.4
How to reproduce: see video in the link or description above
Note: I'm using focus follow mouse mode.
The text was updated successfully, but these errors were encountered: