[Bug 1234468] Re: Keystrokes are hijacked by inactive window
*** This bug is a duplicate of bug 1231588 *** https://bugs.launchpad.net/bugs/1231588 ** Changed in: thunderbird Importance: Medium = Undecided ** Changed in: thunderbird Status: Invalid = New ** Changed in: thunderbird Importance: Undecided = Unknown ** Changed in: thunderbird Status: New = Unknown ** Bug watch removed: Mozilla Bugzilla #831854 https://bugzilla.mozilla.org/show_bug.cgi?id=831854 ** Bug watch removed: Mozilla Bugzilla #917027 https://bugzilla.mozilla.org/show_bug.cgi?id=917027 ** Bug watch added: Mozilla Bugzilla #923349 https://bugzilla.mozilla.org/show_bug.cgi?id=923349 ** This bug has been marked a duplicate of bug 1231588 Running unclutter without -noevent causes focus problems for Firefox and Thunderbird -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1234468 Title: Keystrokes are hijacked by inactive window To manage notifications about this bug go to: https://bugs.launchpad.net/thunderbird/+bug/1234468/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1234468]
Unclutter bug here https://bugs.launchpad.net/ubuntu/+source/unclutter/+bug/1255507 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1234468 Title: Keystrokes are hijacked by inactive window To manage notifications about this bug go to: https://bugs.launchpad.net/thunderbird/+bug/1234468/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1234468]
Yes, unclutter tries to be clever, but is not quite clever enough. *** This bug has been marked as a duplicate of bug 625149 *** -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1234468 Title: Keystrokes are hijacked by inactive window To manage notifications about this bug go to: https://bugs.launchpad.net/thunderbird/+bug/1234468/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1234468]
I think this bug belongs here, maybe GTK devs know a bit more about this? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1234468 Title: Keystrokes are hijacked by inactive window To manage notifications about this bug go to: https://bugs.launchpad.net/thunderbird/+bug/1234468/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1234468]
For reference what this means: -noevents stops unclutter sending a pseudo EnterNotify event to the X client whose cursor has been stolen. Sending the event helps programs like emacs think that they have not lost the pointer focus. This option is provided for backwards compatibility in case some clients get upset. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1234468 Title: Keystrokes are hijacked by inactive window To manage notifications about this bug go to: https://bugs.launchpad.net/thunderbird/+bug/1234468/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1234468]
BTW: I had the same problem with SeaMonkey when using multiple windows and it looks like using unclutter with -noevents worked. Is this now a bug in all Mozilla applications or a problem with the way unclutter works? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1234468 Title: Keystrokes are hijacked by inactive window To manage notifications about this bug go to: https://bugs.launchpad.net/thunderbird/+bug/1234468/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1234468]
I suspect it *is* Mozilla, but I'm not sure. It'd be great to hear from some devs here. I did do some troubleshooting in the following threads that might be useful: https://forum.kde.org/viewtopic.php?f=111t=110202 https://forum.kde.org/viewtopic.php?f=111t=117704 I was told Firefox has quite a lot issues with X as they more or less have their own toolkit instead of going with default ones. Indeed I have only come across this problem with FF/TB and unclutter, and nothing else. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1234468 Title: Keystrokes are hijacked by inactive window To manage notifications about this bug go to: https://bugs.launchpad.net/thunderbird/+bug/1234468/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1234468] Re: Keystrokes are hijacked by inactive window
** Changed in: thunderbird Status: New = Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1234468 Title: Keystrokes are hijacked by inactive window To manage notifications about this bug go to: https://bugs.launchpad.net/thunderbird/+bug/1234468/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1234468]
As per the link above, I've been running unclutter with `-noevents`, and that appears to have fixed this bug for the last 5 days, at least. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1234468 Title: Keystrokes are hijacked by inactive window To manage notifications about this bug go to: https://bugs.launchpad.net/thunderbird/+bug/1234468/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1234468]
I'm not sure if you followed my link, but killing unclutter and stopping it from running at startup fixes this for me. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1234468 Title: Keystrokes are hijacked by inactive window To manage notifications about this bug go to: https://bugs.launchpad.net/thunderbird/+bug/1234468/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1234468]
(In reply to Sparhawk from comment #4) Andrew, do you by any chance have unclutter running? Indeed I do, because it's a dependency of kubuntu-desktop. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1234468 Title: Keystrokes are hijacked by inactive window To manage notifications about this bug go to: https://bugs.launchpad.net/thunderbird/+bug/1234468/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1234468]
Andrew, do you by any chance have unclutter running? https://forum.kde.org/viewtopic.php?f=111t=117704p=294916#p294912 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1234468 Title: Keystrokes are hijacked by inactive window To manage notifications about this bug go to: https://bugs.launchpad.net/thunderbird/+bug/1234468/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1234468]
This is also apparently seen in Unity as well. https://forum.kde.org/viewtopic.php?f=111t=117704#p294488 As stated previously, I also tried manually downloading Thunderbird from the Mozilla website, so it's unlikely to be a problem introduced in the Ubuntu packages. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1234468 Title: Keystrokes are hijacked by inactive window To manage notifications about this bug go to: https://bugs.launchpad.net/thunderbird/+bug/1234468/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1234468]
Andrew, do you see this bug in both Firefox and Thunderbird? If, like me, you see it more frequently in Thunderbird, the following might help. I was also hit by this (unrelated?) bug in the upgrade. https://bugzilla.mozilla.org/show_bug.cgi?id=917027 Applying the fix for that bug seems to mitigate this bug a little, although it doesn't totally fix it. I still get this bug intermittently, but it *seems* to be less frequent. The fix is: Edit Preferences Advanced General Config Editor. Search for mail.compose.max_recycled_windows, double click it, and change the '1' to '0' in the 'Enter integer value' window that pops up. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1234468 Title: Keystrokes are hijacked by inactive window To manage notifications about this bug go to: https://bugs.launchpad.net/thunderbird/+bug/1234468/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1234468] Re: Keystrokes are hijacked by inactive window
** Bug watch added: Mozilla Bugzilla #917027 https://bugzilla.mozilla.org/show_bug.cgi?id=917027 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1234468 Title: Keystrokes are hijacked by inactive window To manage notifications about this bug go to: https://bugs.launchpad.net/thunderbird/+bug/1234468/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1234468] Re: Keystrokes are hijacked by inactive window
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: thunderbird (Ubuntu) Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1234468 Title: Keystrokes are hijacked by inactive window To manage notifications about this bug go to: https://bugs.launchpad.net/thunderbird/+bug/1234468/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1234468] Re: Keystrokes are hijacked by inactive window
Launchpad has imported 2 comments from the remote bug at https://bugzilla.mozilla.org/show_bug.cgi?id=923349. If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at https://help.launchpad.net/InterBugTracking. On 2013-10-03T01:59:36+00:00 Bugzilla-g wrote: User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:24.0) Gecko/20100101 Firefox/24.0 (Beta/Release) Build ID: 20130911155223 Steps to reproduce: Recently, probably in the upgrade to Thunderbird 24.0, I've found that the front-most, active window often will not receive keystrokes. Instead they are being sent to the background, inactive window. For example, I attempt to reply to an email, and start typing. I see text in the body as expected, then a second after beginning, the text is sent to the main mail index window. The front-most window is shown as selected in the pager, while a non-selected window receives the keystrokes. This means that for long periods, I am unable to send and compose emails. In addition, I'm also often mid-sentence when I realise that the characters aren't appearing, and I've done some weird filing/labelling in the mail index window. I can alt-tab or click between windows, but cannot seem to type into the compose window. Otherwise, clicking does all you expect it to. You can select menus of the window; you can even select text (although it's the background window grey instead of the foreground window blue). I tried to make sure that it was not an issue with X/KDE by testing to see what the reported active window was. $ xwininfo | grep -i 'window id' xwininfo: Window id: 0x3c001f6 Inbox - Uni - Mozilla Thunderbird $ xwininfo | grep -i 'window id' xwininfo: Window id: 0x3c0670c Write: Re: Foo Bar - Unicode (UTF-8) $ sleep 1 xprop -root | grep -E '^_NET_ACTIVE_WINDOW' _NET_ACTIVE_WINDOW(WINDOW): window id # 0x3c001f6 $ sleep 1 xprop -root | grep -E '^_NET_ACTIVE_WINDOW' _NET_ACTIVE_WINDOW(WINDOW): window id # 0x3c0670c It seems that even when the active window is reported to be the compose window by X, it will still not receive input. I presume that it's Thunderbird hijacking the active window internally. I've tried starting in safe mode and manually downloading and running Thunderbird from the website (64-bit version), instead of using the version in the repositories. In both cases, I still hit this bug. I don't see this in any other application, except for Firefox occasionally. It used to be fairly frequent in Firefox starting in a release around February, but appears to have diminished in frequency since then. I did similar troubleshooting in Firefox for active window using xev, but this is now buggy and doesn't work. First I found window IDs with xwininfo | grep -i 'window id' Then, when the bug occurred, I attempted to see if keystrokes were being passed to the active (but non-responsive) window with xev -id 0x123456 | grep Key I also did the same for the background window that was actually responding to the keystrokes. It seems that the active (but non- responsive) window was indeed receiving keystrokes, and the other one was not, although it was responding to them. I presume that again, it's Firefox hijacking the active window internally. It's probably easier for me to do more troubleshooting in Thunderbird, since it's more frequent. I checked bugzilla to see this had already been filed, but found nothing. However, I'm unsure if this is related: https://bugzilla.mozilla.org/show_bug.cgi?id=831854 Also, I'm not sure how to work out what core version this regression could have occurred in, so I've just left it unspecified. Kubuntu 13.04 KDE 4.10.5 Ubuntu bug trackers. Thunderbird bug here: https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/1234468 Firefox bug here: https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1234470 Actual results: Keystrokes go to the background, non-active window. Expected results: Keystrokes should go to the foreground, active window. Reply at: https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/1234468/comments/5 On 2013-10-11T14:45:52+00:00 Andeew wrote: I have the same issue on 64-bit Kubuntu 12.04 Reply at: https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/1234468/comments/8 ** Changed in: thunderbird Status: Unknown = New ** Changed in: thunderbird Importance: Unknown = Medium ** Bug watch added: Mozilla Bugzilla #831854 https://bugzilla.mozilla.org/show_bug.cgi?id=831854 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1234468 Title: Keystrokes are hijacked by inactive window To manage notifications about this bug go to: https://bugs.launchpad.net
[Bug 1234468] Re: Keystrokes are hijacked by inactive window
** Also affects: thunderbird via https://bugzilla.mozilla.org/show_bug.cgi?id=923349 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1234468 Title: Keystrokes are hijacked by inactive window To manage notifications about this bug go to: https://bugs.launchpad.net/thunderbird/+bug/1234468/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1234468] [NEW] Active window cannot receive keystrokes
/ubuntu/+source/thunderbird/+bug/1234468/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1234468] Re: Active window cannot receive keystrokes
Related bug in firefox. https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1234470 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1234468 Title: Active window cannot receive keystrokes To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/1234468/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1234468] Re: Active window cannot receive keystrokes
Attempted running in safe mode, and I still see the bug. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1234468 Title: Active window cannot receive keystrokes To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/1234468/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1234468] Re: Active window cannot receive keystrokes
As per https://wiki.ubuntu.com/MozillaTeam/Bugs , I downloaded and ran the Thunderbird build from the Mozilla website. (Note the link is incorrect, and I had to dig for the 64-bit version.) I still encountered this bug even in this version.. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1234468 Title: Active window cannot receive keystrokes To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/1234468/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1234468] Re: Keystrokes are hijacked by inactive window
** Summary changed: - Active window cannot receive keystrokes + Keystrokes are hijacked by inactive window -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1234468 Title: Keystrokes are hijacked by inactive window To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/1234468/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1234468] Re: Keystrokes are hijacked by inactive window
Upstream bug filed here https://bugzilla.mozilla.org/show_bug.cgi?id=923349 ** Bug watch added: Mozilla Bugzilla #923349 https://bugzilla.mozilla.org/show_bug.cgi?id=923349 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1234468 Title: Keystrokes are hijacked by inactive window To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/1234468/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs