-
Notifications
You must be signed in to change notification settings - Fork 98
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
Strange window activation problem. #755
Comments
Give versions of your java, icewm. Do DBeaver and krdc need to be connected or can i just start them and repeat your problem? |
Version of Icewm is: IceWM 3.4.4, Copyright 1997-2012 Marko Macek, 2001 Mathias Hasselmann.) Im running on Gentoo linux x86-64 with kernel 6.1.57-gento and Nvidia Quandro T2000 with proprietary drivers. Intellij IDEA use and embedded version of java: The version of intellij is: IntelliJ IDEA 2023.2.5 (Ultimate Edition). DBeaver also use an embedded jre: JAVA_VERSION="17.0.6" For DBeaver maybe it's enough to open a SQL editor without a connection to reproduce the issue. For KRDC i experiment the issue when i'm connected to a windows server using rpc. But to be honest i didn't understood the steps to reproduce this behavior.... it happens after some time. The next time it happens again maybe i can try to record the screen. Thanks again for the quick reply. |
Are these all |
if i run the comman now (that i have several windows onpen (and one is DBeaver and another is Intellij) i get this: When shoud i run the comman exactly? |
|
When it happens, run just |
Every 2,0s: icesh -a list focusmodel linux-giovanni: Wed Nov 22 15:52:16 2023 0x44128e9 0 5112 "vsm-portal-git – PortalRole.java [vsm-portal-dom": (jetbrains-idea.jetbrains-idea) 2560x1397+1920+17 Intellij (the first one) is using focusmode Globally DBeaver and krdc Locally |
When those application windows are active and functional, by what exact control event do you get away from them? |
The IntelliJ problem was reported before elsewhere: |
usually i use the taskbar or quickswitch and when i go back to idea sometime i dont get the window activated. |
i tried also to use other wm : mutter kwin or sawfish or openbox and they don't seem to have this problem. But i really like IceWM and i want to stick with it. |
i will try to use the workaround propsed in this issue. CopyQ is also mentioned here and i use it. |
When you switch away from dbeaver or krdc, do you use the keyboard or the mouse? Do you go to another workspace or not? The fact that other WMs this problem doesn't occur doesn't prove anything. Using the same logic, we could say that thousands of users using thousands of applications don't experience this problem. In fact, I used krbc to try to repeat your problem but couldn't. |
What icewm focus setting do you use? |
|
normally i switch alt-tabbing with the keyboard and i don't use workspaces |
Second attempt at reproducing it with krdc using Click-to-Focus also failed. I'll try dbeaver. Quote |
openjdk |
Also with |
thanks anyway for the effort. i will try to reproduce it and do a video. |
record-2023-12-23_16.33.47.mp4i recorded this video to show the problem: if you open a database table and in the filter bar you start typing and then you hit |
I set ClickToFocus like you and can now repeat your movie and see you are right, but if I analyze the events that occur in dbeaver and icewm then I see nothing wrong with icewm. According to this analysis, all the time the focus remains with dbeaver. So it must be a bug in either dbeaver or in java. |
But if i try openbox or other window managers it's not happening. I have attached a video demonstrating it with Openbox. |
But if I use xterm or firefox or whatever, then it is also not happening. See my comment of November 23. |
ok now i changed from ClickToFocus to Custom and it works as expected. What exactly is doing Custom? i cannot find any reference in the handbook |
I am also observing strange activation problems, but it is hard to reproduce. When it starts happening, the situation is: |
I have a strange annoying window activation problem:
It happens with some application like Intellij Idea, DBeaver (that are java apps) but also with kde krdc app.
After a while it happens that when i switch back to one of this windows using the taskbar the window is shown but is not activated.
If I click on the window content i don't get the cursor and i cannot write text.
Sometimes after clicking multiple times on the window title bar or content the window get activated.
If i click on another window and then back the window is always activated correctly and also if i restart icewm.
Any suggestion on how debug this to give you more info?
Thanks in advance.
The text was updated successfully, but these errors were encountered: