Bug 348127

Summary: Java Swing Applications & Focus
Product: [Plasma] kwin Reporter: Robert Charbonneau <etriaph>
Component: compatibilityAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version: 5.3.0   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description Robert Charbonneau 2015-05-23 06:49:01 UTC
The JetBrains IDE _Ruby_Mine_ and Oracle's NetBeans are Swing apps that do not like to take focus when you switch to a desktop they're running on.

Reproducible: Always

Steps to Reproduce:
1. Install NetBeans (https://netbeans.org/downloads/) or RubyMine [30 Day Trial] (https://www.jetbrains.com/ruby/download/)
2. Run NetBeans or RubyMine
3. Move to another desktop
4. Switch back to the desktop running NetBeans or RubyMine

Actual Results:  
The window will not take focus, you have to Alt+Tab (or your custom binding) to the window, or click it to take focus, in order for the window to focus.

Expected Results:  
If there is only one window running on that desktop, and if it's not minimized, the window manager should *always* give it focus.

This does not seem to happen with the Java Console (jcontrol)
Comment 1 Thomas Lübking 2015-05-23 06:50:52 UTC

*** This bug has been marked as a duplicate of bug 347153 ***