<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>348127</bug_id>
          
          <creation_ts>2015-05-23 06:49:01 +0000</creation_ts>
          <short_desc>Java Swing Applications &amp; Focus</short_desc>
          <delta_ts>2015-05-23 06:50:52 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Plasma</classification>
          <product>kwin</product>
          <component>compatibility</component>
          <version>5.3.0</version>
          <rep_platform>Kubuntu</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>347153</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Robert Charbonneau">etriaph</reporter>
          <assigned_to name="KWin default assignee">kwin-bugs-null</assigned_to>
          
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1521214</commentid>
    <comment_count>0</comment_count>
    <who name="Robert Charbonneau">etriaph</who>
    <bug_when>2015-05-23 06:49:01 +0000</bug_when>
    <thetext>The JetBrains IDE _Ruby_Mine_ and Oracle&apos;s NetBeans are Swing apps that do not like to take focus when you switch to a desktop they&apos;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&apos;s not minimized, the window manager should *always* give it focus.

This does not seem to happen with the Java Console (jcontrol)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1521215</commentid>
    <comment_count>1</comment_count>
    <who name="Thomas Lübking">thomas.luebking</who>
    <bug_when>2015-05-23 06:50:52 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 347153 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>