<?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>130190</bug_id>
          
          <creation_ts>2006-07-03 13:12:19 +0000</creation_ts>
          <short_desc>delayed focus problem when changing active windows</short_desc>
          <delta_ts>2012-03-19 01:09:07 +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>general</component>
          <version>unspecified</version>
          <rep_platform>unspecified</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <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>1</everconfirmed>
          <reporter name="Paul Stear">paul</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>451319</commentid>
    <comment_count>0</comment_count>
    <who name="Paul Stear">paul</who>
    <bug_when>2006-07-03 13:12:19 +0000</bug_when>
    <thetext>Version:           1.4.1-beta1 (using KDE 3.5.3, Gentoo)
Compiler:          Target: i686-pc-linux-gnu
OS:                Linux (i686) release 2.6.16-gentoo-r9

amarok script manager starts and is displayed but when the mouse enters the manager the manager disappears and reappears when the mouse is moved away.  I can&apos;t even enter it to stop or cancel it.
If the mouse is over the manager form then it flashes on and off. it just seems that the mouse focus is not being recognised by the manager form.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>451351</commentid>
    <comment_count>1</comment_count>
    <who name="Mark Kretschmann">kretschmann</who>
    <bug_when>2006-07-03 15:52:05 +0000</bug_when>
    <thetext>Well this sounds really weird. Can&apos;t reproduce.

What window manager are you using?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>451356</commentid>
    <comment_count>2</comment_count>
    <who name="Paul Stear">paul</who>
    <bug_when>2006-07-03 16:16:55 +0000</bug_when>
    <thetext>I am using kde 3.5.3, I hope the following will help.  Let mr know if you require anything else.
Portage 2.1.1_pre2-r2 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.16-gentoo-r9 i686)
=================================================================
System uname: 2.6.16-gentoo-r9 i686 AMD Athlon(tm) XP 2400+
Gentoo Base System version 1.12.1
ccache version 2.4 [enabled]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r2
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS=&quot;x86 ~x86&quot;
AUTOCLEAN=&quot;yes&quot;
CBUILD=&quot;i686-pc-linux-gnu&quot;
CFLAGS=&quot;-O2 -march=athlon-xp -pipe&quot;
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>451364</commentid>
    <comment_count>3</comment_count>
    <who name="Paul Stear">paul</who>
    <bug_when>2006-07-03 16:36:43 +0000</bug_when>
    <thetext>I have just realised that while the script manager form is flashing, if I click over the flash the form then sticks and I can use it.
Also with cover manager, when a cover is found the page flashes but if I click it displays ok, I can then save it as normal. It does appear that when these screens come up focus is not transferred to them but is when the mouse is clicked.  By the way I have my mouse set for &quot;Focus Strictly Under Mouse&quot; with both auto raise and delay focus set to 750 msec.

Hope this helps
Paul</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>451931</commentid>
    <comment_count>4</comment_count>
    <who name="Paul Stear">paul</who>
    <bug_when>2006-07-06 13:45:08 +0000</bug_when>
    <thetext>I have temporarily change my mouse behaviour from &quot;Focus Strictly Under Mouse&quot; to &quot;click to Focus&quot; and the pop up windows of the script manager or downloaded album covers are displayed correctly and remain in position.  If I click them it stays active and I can operate as normal.
I don&apos;t think this is a kde problem because this is the only program that is affected.
I think the solution is to force the pop up windows to be on top with focus.

Hope this helps
Paul</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>453791</commentid>
    <comment_count>5</comment_count>
    <who name="Mark Kretschmann">kretschmann</who>
    <bug_when>2006-07-15 10:20:49 +0000</bug_when>
    <thetext>Well, closing this report. Whatever it is, it&apos;s a window manager issue. Prolly a bug in KWin.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>453814</commentid>
    <comment_count>6</comment_count>
    <who name="Paul Stear">paul</who>
    <bug_when>2006-07-15 14:20:38 +0000</bug_when>
    <thetext>I&apos;m not sure this is a window manger problem.  I have just updated amarok to 1.4.1-r2 0n gentoo and now the pop up windows stay on top of the main program page even though I change my mouse to &quot;Focus Strictly Under Mouse&quot;.
I&apos;m now happy that all is working.
Paul</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>453824</commentid>
    <comment_count>7</comment_count>
    <who name="Martin Aumueller">aumuell</who>
    <bug_when>2006-07-15 16:18:45 +0000</bug_when>
    <thetext>Just tried to reproduce the problem (with yesterday&apos;s svn): I can, but it really depends on the exact window manager settings you listed:
- focus strictly under mouse
- autoraise
- delay focus
Could it be that your problem disappeared because you changes some wm setting?
In any case I tend to agree with Mark&apos;s suspicion.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>453830</commentid>
    <comment_count>8</comment_count>
    <who name="Ian Monroe">ian.monroe</who>
    <bug_when>2006-07-15 17:01:26 +0000</bug_when>
    <thetext>reopening and then figuring out how to reassign to kwin</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>453977</commentid>
    <comment_count>9</comment_count>
    <who name="Paul Stear">paul</who>
    <bug_when>2006-07-16 12:33:20 +0000</bug_when>
    <thetext>Well I&apos;m glad you were able to reproduce this strange behaviour.
After having kde windows behaviour set to &quot;click to focus&quot;, everything dispayed ok.
After the amarok update I changed back to my original setting of:
- focus strictly under mouse 
 - autoraise 
 - delay focus
Everything now works ok.  If you haven&apos;t changed amarok then I am at a loss as to why it is now working.
Amarok was the only application that I had this problem with.
Thanks for your time
Paul</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>456901</commentid>
    <comment_count>10</comment_count>
    <who name="Lubos Lunak">l.lunak</who>
    <bug_when>2006-07-31 13:35:33 +0000</bug_when>
    <thetext>The delay focus feature seems to be broken, when switching from one window to another the new window is activated with delay but the old window is deactivated immediatelly.
As a workaround for this specific problem you can turn off hiding of utility windows for inactive windows in KWin&apos;s configuration.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>479826</commentid>
    <comment_count>11</comment_count>
    <who name="Shaun Thomas">sthomas</who>
    <bug_when>2006-10-26 00:35:52 +0000</bug_when>
    <thetext>There&apos;s a really easy way to reproduce this:

Open any two windows so that they overlap somewhere.  Disable Desktop-&gt;Window Behavior -&gt;Auto Raise and Delay Focus, and Enable Focus Follows Mouse.  Now hover over the part of the two windows that overlaps.  This should immediately confuse the window manager so that it continuously switches focus between the windows.

I noticed this first in 3.5.4, but it seems to have persisted in 3.5.5.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1197481</commentid>
    <comment_count>12</comment_count>
    <who name="Martin Flöser">mgraesslin</who>
    <bug_when>2011-12-10 10:43:44 +0000</bug_when>
    <thetext>Really old bug and no idea whether it is still valid. Because of that I set to unmaintained. If it is still an issue with a recent version, please open a new bug with the required details. I find it quite hard to just get what this bug is about due to the fact that it started in Amarok.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1197488</commentid>
    <comment_count>13</comment_count>
    <who name="Thomas Lübking">thomas.luebking</who>
    <bug_when>2011-12-10 10:56:22 +0000</bug_when>
    <thetext>see comment #10 - this is
https://git.reviewboard.kde.org/r/103130/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1237931</commentid>
    <comment_count>14</comment_count>
    <who name="Thomas Lübking">thomas.luebking</who>
    <bug_when>2012-03-19 01:09:07 +0000</bug_when>
    <thetext>patch from commenr #13 has been submitted, but i forgot to attach the bug</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>