[xfce] Firefox raises and focuses with Right Mouse Button (RMB) when raise on click is disabled

Bug #481683 reported by positivek
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Xfwm4
Confirmed
Unknown
firefox (Ubuntu)
Invalid
Medium
Unassigned
xfwm4 (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

Binary package hint: xfwm4

On Xubuntu 9.10, I turned raise on click to off. This works as expected with most applications _except_ when I right-mouse-click on an unfocused FF window. In that case, FF pops to front.

Reproduce:
1. Install Xubuntu 9.10
2. In my X session, I go to panel's Applications menu-->Settings-->Window Manager
3. Choose the "Focus" tab.
4. Turn off "Raise on click" (uncheck it)
5. Open a Firefox window.
6. Open Thunar or Terminal or Mousepad or Gnumeric (etc.) and make it a smaller window that is on top of or in front of FF.
7. Give the smaller app the focus and make in front.
8. RMB click on FF.
BUG: Firefox window is given focus _and_ is raised to front.
Expected: No window focus should occur. No bring to front should occur.

--- additional information ---

* I only experience this problem when right-clicking FF when _another_ app initially has the focus.
* The bug does _not_ occur when right-clicking a non-FF window if FF initially has the focus.
* The bug does _not_ occur when right-clicking a _different_ FF window that is below. (That is, the RMB context menu pops up in the correct place and no window focus changes and no window raises occur.)

Using:
  xfwm4 4.6.1-1
  Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.5) Gecko/20091109 Ubuntu/9.10 (karmic) Firefox/3.5.5

ProblemType: Bug
Architecture: amd64
Date: Thu Nov 12 17:48:49 2009
DistroRelease: Ubuntu 9.10
InstallationMedia: Xubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
Package: firefox-3.5 3.5.5+nobinonly-0ubuntu0.9.10.1
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
SourcePackage: firefox-3.5
Uname: Linux 2.6.31-14-generic x86_64

Revision history for this message
positivek (anonyhole) wrote :
Changed in xfwm4 (Ubuntu):
status: New → Incomplete
Revision history for this message
Charlie Kravetz (cjkgeek) wrote :

Thank you for reporting this bug and helping to improve Xubuntu. I have tried to reproduce this issue in both 64bit Xubuntu 9.10 and 32bit Xubuntu Lucid. I followed the directions above, but firefox did not move on either system. I did note there is an option in firefox also, under Edit -> Preferences -> Tabs -> "When I open a link in a new tab...". I expect if that is checked, firefox would move to the workspace you are in.

Are you using the default window manager, without compiz?

Revision history for this message
Charlie Kravetz (cjkgeek) wrote :

We'd like to figure out what's causing this bug for you, but we haven't heard back from you in a while. Could you please provide the requested information? Thanks!

Revision history for this message
positivek (anonyhole) wrote :

Hi,

Regardless of the Firefox preference settings you mentioned, the bug still exists for me. Bear in mind that the bug shows up without actually performing any actions in firefox, other than simply a single right-click (not even choosing from the context menu).

Other applications (e.g. terminal, Evince) do NOT gain focus when right-clicked, the do NOT get brought to front. If they have a right-click context menu, the menu IS drawn, however. This would be my expected behaviour, I think.

I am using default xfce window manager, compiz/compositing is turned off. Raise on click is turned off.
Running Xubuntu, 9.10, Karmic, 64-bit.
Linux machname 2.6.31-20-generic #57-Ubuntu SMP Mon Feb 8 09:02:26 UTC 2010 x86_64 GNU/Linux
xubuntu-desktop 2.99
xfwm4 4.6.1-1

Appearance:
 - Style: Xfce-saltlake
 - Icons: Elementary Xubuntu
Window Manager:
 - Theme: Totem
 + Focus:
   - Focus model: Click to focus
   - New window focus: Either (Automatically give new window focus or not)
   - Raise on focus: NOT raise on focus
   - Raise on click: NOT raise on click

Hope this helps!

Revision history for this message
Charlie Kravetz (cjkgeek) wrote :

Thank you for the additional information and testing. I am marking this bug confirmed, and have forwarded it upstream. You can track and follow it at: http://bugzilla.xfce.org/show_bug.cgi?id=6335

Changed in xfwm4 (Ubuntu):
importance: Undecided → Medium
status: Incomplete → Triaged
Revision history for this message
Charlie Kravetz (cjkgeek) wrote :

Adding firefox to source because according to the Xfce developers, this is a firefox bug.

Changed in xfwm4:
status: Unknown → Confirmed
affects: firefox-3.5 (Ubuntu) → firefox (Ubuntu)
Changed in firefox (Ubuntu):
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
Thaddaeus Tintenfisch (thad-fisch-deactivatedaccount) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. We are sorry that we do not always have the capacity to look at all reported bugs in a timely manner. There have been many changes in Ubuntu since that time you reported the bug and your problem may have been fixed with some of the updates. It would help us a lot if you could test it on a currently supported Ubuntu version.

Changed in firefox (Ubuntu):
status: Confirmed → Incomplete
Changed in xfwm4 (Ubuntu):
status: Triaged → Incomplete
Revision history for this message
Thaddaeus Tintenfisch (thad-fisch-deactivatedaccount) wrote :

Closing this report.

Changed in firefox (Ubuntu):
status: Incomplete → Invalid
Changed in xfwm4 (Ubuntu):
status: Incomplete → Invalid
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.