Unclutter causes text input cursor to blink in unfocused windows

Bug #452313 reported by Mihai Capotă
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
unclutter (Ubuntu)
New
Undecided
Unassigned

Bug Description

When hovering the mouse cursor over a text input widget of an unfocused window, the text input cursor will start blinking in that widget when the Unclutter timeout expires. The window does not receive focus; key presses do not go to the window.

Steps to reproduce:
1. Run unclutter
2. Open two Terminal windows.
3. Click one of them.
4. Hover the mouse cursor over the other Terminal until the unclutter timeout expires (5 s default).

Expected result:
1. The mouse cursor disappears.

Actual result:
1. The mouse cursor disappears.
2. The text input cursor starts blinking in the unfocused Terminal; the unfocused Terminal remains unfocused. The text input cursor also keeps blinking in the focused Terminal, i.e., two text input cursor are now blinking, but key presses only go the the focused one.

ProblemType: Bug
Architecture: amd64
Date: Thu Oct 15 18:10:44 2009
DistroRelease: Ubuntu 9.10
NonfreeKernelModules: nvidia
Package: ubuntu-desktop 1.172
ProcEnviron:
 PATH=(custom, user)
 LANG=ro_RO.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-13.45-generic
SourcePackage: ubuntu-meta
Uname: Linux 2.6.31-13-generic x86_64

Revision history for this message
Mihai Capotă (mihaic) wrote :
Revision history for this message
Mihai Capotă (mihaic) wrote :

Here's a similar bug in Debian that was marked unreproducible:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=240271

And here's a thread about this problem in the Ubuntu forums:
http://ubuntuforums.org/showthread.php?t=1106805

Revision history for this message
Philip Muškovac (yofel) wrote :

Thank you for taking your time to report this bug and helping to make Ubuntu better, but this isn't a bug in the ubuntu meta packages. Marking for reassignment

affects: ubuntu-meta (Ubuntu) → ubuntu
tags: added: needs-reassignment
Revision history for this message
Mihai Capotă (mihaic) wrote :

Unclutter is causing this. Starting Unclutter with the -noevents option is a workaround.

A better description of the problem: when hovering the cursor over a text input widget of a not-focused window, a cursor will start blinking in that widget when the Unclutter timeout expires.

affects: ubuntu → unclutter (Ubuntu)
Mihai Capotă (mihaic)
summary: - Applications lose track of window focus status
+ Unclutter causes text input cursor to blink in unfocused windows
Mihai Capotă (mihaic)
description: updated
Revision history for this message
Travisgevans (travisgevans) wrote :

It took me forever to track this problem to unclutter. It was driving me crazy (the cursor blinking gave me false cues as to which window was focused and regularly caused me to begin typing in unintended windows).

Another solution might be to use a rewrite of unclutter that uses X's xfixes extensions rather than the sneaky hacks the original unclutter uses: https://github.com/Airblader/unclutter-xfixes
I built and have been trying it for about a week and haven't encountered any more cursor blink weirdness.

Revision history for this message
Axel Beckert (xtaran) wrote : Re: [Bug 452313] Re: Unclutter causes text input cursor to blink in unfocused windows

Hi,

Travisgevans wrote:
> Another solution might be to use a rewrite of unclutter that uses
> X's xfixes extensions rather than the sneaky hacks the original
> unclutter uses: https://github.com/Airblader/unclutter-xfixes

Thanks for that hint! I didn't know about that rewrite.

Will test it.

  Regards, Axel
--
 ,''`. | Axel Beckert <email address hidden>, http://people.debian.org/~abe/
: :' : | Debian Developer, ftp.ch.debian.org Admin
`. `' | 4096R: 2517 B724 C5F6 CA99 5329 6E61 2FF9 CD59 6126 16B5
  `- | 1024D: F067 EA27 26B9 C3FC 1486 202E C09E 1D89 9593 0EDE

Paul White (paulw2u)
tags: removed: needs-reassignment
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.