Registered Member
|
Ok, this is a weird one... in plasma-next I've noticed the following:
When using a java GUI application (e. g. netbeans), and switching to another window via TaskManager, in ca. 50% of the cases the window focus will not be transferred to this other window, so that input events still go to the java application. I'm using netbeans a fair bit, so I can state with confidence that this does not happen in KDE 4.13.x. Could you a) point me to the subsystem that's responsible for the transfer of the input focus so I can file a bug correcly? Is it kwindowsystem? b) try to quickly verify this observation if you happen to have some java application around? c) yell 'here' if you've seen the same or a similar problem? Thanks, Andreas |
KDE Developer
|
what about switching windows through the window manager? E.g. Alt+Tab, present windows, click on other windows?
|
Registered Member
|
Hi,
I've played with Alt+Tab and Expose for some time, and they seem to work correctly. As for just clicking on the window, it is possible to bring the window to the foreground without giving it input focus (with a console, the cursor is still the emtpy rectangle), but only if you click at it very quickly, and again only if a java gui hold the focus. Between two kde windows, everything's fine. |
Administrator
|
What level is your focus stealing prevention set at? This can be found in System Settings.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
It's set to 'Low'. I tried to turn it off, but that didn't change anything.
|
Administrator
|
Are there any Java applications other than Netbeans which you can reproduce the issue in? Also, which version of Java are they running under?
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
I've tried both oracle javase 7 and 8 (jdk), used a small self-compiled swing application and downloaded jabref-2.10. Same results as before. So nobody but me is seeing this behavior?
|
KDE Developer
|
Java is not that commonly used in GUI applications any more. I personally keep away from Java for security reasons and would have to install it first. |
Administrator
|
I'm afraid I don't have Java installed either. Perhaps another user can attempt to reproduce this?
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
|
No java, no taskbar here.
However, - what is the other window? Java as well? - Which taskbar implementation in particular? - Is the panel autohiding? (Is the taskbar in a panel at all?) - Please dump the outputs of "xwininfo" and "xprop" on the window (cursor turns into a '+', then just click the window) here (use "code" tags) |
Registered Member
|
I do have Java installed. (OpenJDK 1.7.0) But I cannot reproduce this behavior. Everything is working like expected here (4.13.x) with the standard task bar in the panel (no matter whether it is hiding or not) or even on the desktop. |
|
@Voltago, Wolfie:
do you use the same focus policy ("click to focus", "focus follows mouse", etc.)? |
Registered Member
|
I'm using "Click to focus". But I noticed now that the OP talked about Plasma Next. I misread that. I only tried in 4.13, I do not have Plasma 5 installed at the moment... Sorry. |
Registered Member
|
I tried again on Plasma5 now, and indeed I could easily reproduce the issue.
I have pretty much the default settings, i.e. "Click to Focus", no panel auto-hiding, the standard task manager in the panel. It only seems to happen when Java windows are involved, and I couldn't reproduce it with Alt+TAB, exactly as the OP described already. Strange enough, I quit the Java application while writing this, and now after starting it again I cannot reproduce it any more... Hm. PS: Right after clicking "Submit", I was able to reproduce this again. |
Registered Member
|
Hi luebking,
the other window can be konsole, or thunderbird compose, or libreoffice writer, or kate, it does not seem to matter. The taskbar implementation is the standard 'Task Manager' Plasmoid. Its containing panel is not auto-hiding. I'm also using the 'Click to Focus' policy. xwininfo output for the java window (netbeans in this case):
xprop output:
|
Registered users: Bing [Bot], blue_bullet, Google [Bot], rockscient, Yahoo [Bot]