Bug 55550 - Mouse pointer dissapear when is hide and by keyboard, you switch focus
Summary: Mouse pointer dissapear when is hide and by keyboard, you switch focus
Status: RESOLVED FIXED
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR major
Target Milestone: ---
Assignee: John Firebaugh
URL:
Keywords:
: 55461 57283 57509 57632 57657 58350 64417 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-03-05 12:37 UTC by Anton
Modified: 2003-10-06 01:41 UTC (History)
9 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
kcursor.cpp.patch (553 bytes, patch)
2003-04-24 04:40 UTC, Chris Brien
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Anton 2003-03-05 12:37:30 UTC
Version:           unknown (using KDE 3.1.0)
Installed from:     (3.0)
Compiler:          gcc version 2.95.4 20011002 (Debian prerelease)
OS:          Linux (i686) release 2.4.20-686

When you are in kate or kwrite, and write anithing, cursor dissapears, how is usual in editors.
If with mouse cursor hide, you make any action with keyboard that implies the lost of the focus by kate/kwrite, the cursor appears again, but disappears when you enter again by moving mouse in kate/kwrite window.
Only dissapear from the document that had hide the cursor bafore.
I think this bug it's an extension of 55461 aon perhaps 40005
Comment 1 Christoph Cullmann 2003-03-06 23:32:04 UTC
can somebody else reproduce that ? I simply don't get it here :/
Comment 2 Maksim Orlovich 2003-03-07 00:48:49 UTC
I've seen it a couple of times when using Kate on the 3.1 branch....  
It's not easy to reproduce short term -- just seems like when switching around the 
embedded konsole,text view,  and some other konsole with alt-tab, etc., sometimes 
the cursor gets lost.. Happened pretty often during the multi-hour 
typing-homework-in-LaTeX sessions Kate is so good at... 
 
Comment 3 Daniel Quinn 2003-03-22 08:16:30 UTC
does the same thing on my box:  i start kate, i can move the mouse around just 
fine, i switch desktops to click on a few files in konqueror, and when i come back 
to the desktop that has kate on it, my mouse cursor disappears when it's over the 
text editing area.  the file selector on the left and the menu area above act as 
normal, but i can't see the mouse in the text section. 
Comment 4 Flavio Stanchina 2003-03-23 23:36:27 UTC
I can confirm this, exactly as described in comment #3: it's not always 
reproducible, but it happened to me several times today. 
Using KDE 3.1.1 packaged for Debian woody, straight from download.kde.org. 
Comment 5 Daniel Quinn 2003-03-25 23:49:09 UTC
it happens constantly on my home machine, but never on my work machine.  
steps to reproduce @home are: 
 
  1. open a file in kate (php file... if that matters) 
  2. do some edits 
  3. open a second file in kate 
  4. do some edits in the second file 
  5. switch back to the first file 
  6. cursor is invisible... but only in the text editing window. 
 
  the same is true if i switch desktops, do something in konqueror and come back 
to my file in kate. 
 
my stats @home: 
  amd athlon 800mhz 
  ati all-in-wonder radeon 
  gentoo 1.2 
  gcc 2.95.3 
  kde 3.1.1 
 
@work: 
  intel celeron 1.0ghz 
  integrated video 
  gentoo 1.2 
  gcc 2.95.3 
  kde 3.1.1 
 
i even recompiled (emerged) kdelibs @home to see if that would fix things...  
no-go. 
 
what other info would be useful? 
Comment 6 Niels 2003-03-26 18:10:11 UTC
I also get this. It's only in one of several open files. My setup is Gentoo 1.4, KDE 3.1.1, AMDXP1800+, Nvidia, Xfree 4.2.9?, GCC 3.2.?

Very annoying!
Comment 7 Hamish Rodda 2003-03-27 13:27:45 UTC
Christoph, is this related to the KCursor::autoHideEventFilter calls in KateViewInternal? 
 
I have also seen this once or twice, though not recently and I remember you changed something for 
CVS head...? 
Comment 8 Daniel Quinn 2003-03-28 05:23:59 UTC
one other thing i noted.  if i move my mouse into the text editing area and it 
disappears, i can right-click and my mouse is then visible...  but only as long as 
the pop-up window is visible.  if i click elsewhere to make it go away, the mouse 
is gone again. 
Comment 9 uzs5p3 2003-03-28 14:22:36 UTC
I can reproduce all of the above on Ralph Nolden's Woody backport of KDE 3.1.1. 
In addition, I noticed that the same behaviour can be seen in the embedded terminal 
emulators both of kate and konqueror. Konsole doesn't have the problem. 
Comment 10 Wolfgang Silbermayr 2003-04-01 14:58:17 UTC
I can also reproduce it with switching between the desktops. If there are several files 
opened in kate, I can do it with any of them (so that there are some files that hide 
the cursor and others that don't). 
Comment 11 Thorsten Holtkaemper 2003-04-03 16:02:19 UTC
I can also reproduce this annoying behaviour. At least here it appeared the
first time with 3.1 or 3.1.1 (not sure), even though the same bug is also
described in Bug 40005.
Comment 12 Thorsten Holtkaemper 2003-04-07 16:51:49 UTC
I've found a kind of workaround for this bug: split the window and close the
pane with the hidden cursor. I'm yet not sure if the new pane ever suffers from
this bug again.
Comment 13 Jeff Mast 2003-04-07 18:00:00 UTC
I still have problems after doing the suggestion in comment 12. 
The only way I have found to prevent the cursor from going away 
is to click in the I-Search text entry box before switching desktops. 
 
Comment 14 Urgo 2003-04-12 19:11:35 UTC
I can confirm the bug as well.  It happens every time I use kate, usually
starting after about 15 minutes.

mouse cursor disappears in kate terminal window and document windows when
switching between konsole/other applications and coming back.  It only happens
in one place at a time.  One file could have no mouse while another open file in
kate would have one.  Work Around: close/reopen file/terminal (ctrl-d).  Or for
documents use split screen mode then close the one w/ no mouse.


Problem started when upgrading to 3.1.1 from 3.1 via gentoo emerge (gentoo 1.4)
Comment 15 Cyrus 2003-04-12 19:17:39 UTC
I too have encountered this same bug in Kate after upgrading from KDE 3.1.0 to
3.1.1. Stats: Gentoo 1.4, PentiumIII, nVidia GeForce2MX, gcc 3.2.2, glibc 3.2.1-r4.
Comment 16 John Firebaugh 2003-04-14 01:19:59 UTC
*** Bug 55461 has been marked as a duplicate of this bug. ***
Comment 17 John Firebaugh 2003-04-14 05:20:07 UTC
*** Bug has been marked as fixed ***.
Comment 18 Christoph Cullmann 2003-04-18 00:11:40 UTC
I have disabled the autohide feature for CVS HEAD and the 3_1 branch, that looks like 
a KCursor problem, same effects in konsole part :/ 
Maintainer of KCursor should look at that, therefor reassigning that bug 
Comment 19 John Firebaugh 2003-04-23 05:09:29 UTC
*** Bug 57509 has been marked as a duplicate of this bug. ***
Comment 20 Chris Brien 2003-04-24 04:40:10 UTC
Created attachment 1423 [details]
kcursor.cpp.patch

This patch is against 3.1.1a, which works by not ignoring the
QEvent::WindowDeactivate event which is received when focus changes.
Comment 21 John Firebaugh 2003-04-24 05:01:35 UTC
That patch is wrong. Its effect would be to ignore QEvent::WindowDeactivate. 
 
HEAD now contains a rewritten autohide implementation that should fix these persistent 
problems. I'm waiting to backport for some testing. 
Comment 22 John Firebaugh 2003-04-24 18:21:26 UTC
*** Bug 57632 has been marked as a duplicate of this bug. ***
Comment 23 Hamish Rodda 2003-04-25 04:55:22 UTC
*** Bug 57657 has been marked as a duplicate of this bug. ***
Comment 24 Ben Atkin 2003-04-28 01:02:20 UTC
This bug is annoying because I frequently Alt-Tab between windows while 
programming.  I would like it to be fixed without disabling autohide. 
Comment 25 Anders Lund 2003-05-12 09:29:52 UTC
*** Bug 58350 has been marked as a duplicate of this bug. ***
Comment 26 Ryan Sinn 2003-05-15 17:58:16 UTC
This also occurs when receiving Kopete IMs while editing documents with KATE.

The loss of focus is contained to the current open document.  Opening or
switching to other documents in the 'file list' will display the cursor.

Closing the document in which the mouse cursor is hidden and reopening it
resolves the issue.
Comment 27 Stephan Binner 2003-05-17 20:30:46 UTC
*** Bug 57283 has been marked as a duplicate of this bug. ***
Comment 28 metrol 2003-05-22 09:04:30 UTC
As of 3.1.2, this bug is gone!  Recommend closing, unless anyone else is still 
seeing this. 
Comment 29 Daniel Quinn 2003-06-13 22:49:59 UTC
this bug seems to be fixt as of kde 3.1.2 
Comment 30 Stephan Binner 2003-06-15 14:21:15 UTC
Closing then. Please only comment further if it still happens with KDE 3.1.2 or 
newer for you. 
Comment 31 uzs5p3 2003-06-15 15:12:45 UTC
The bug itself disappeared for me as well. Embedded konsole in kate works fine. 
However, now the curser just isn't hidden anymore in kate or kwrite, i.e. the functionality 
went away, too. 
Comment 32 Stephan Binner 2003-06-21 11:10:23 UTC
FYI, John has backported his fixes from HEAD for KDE 3.1.3 now. 
Comment 33 Andreas Koepfle 2003-10-06 01:41:01 UTC
*** Bug 64417 has been marked as a duplicate of this bug. ***