LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-17-2018, 04:56 PM   #1
andygoth
Member
 
Registered: Sep 2017
Distribution: Slackware
Posts: 132

Rep: Reputation: 66
Firefox right-click goes back a page


Lately, the right-click context menu in Slackware64-current Firefox (60.0.2) has been acting up. Right-clicking and releasing without moving the mouse results in going back a page. Right-clicking and holding down the button reveals that the mouse is positioned over the "left arrow" back button in the top-left of the menu, then releasing causes back to be selected.

Right-clicking and moving over another selectable item causes that item to be selected immediately upon mouse release. Right-clicking and moving over a non-selectable item (grayed out item or the name of a submenu) or outside the menu before releasing causes the menu to stay posted, at which point it can be used like a normal menu. Everything mentioned in this paragraph is fine, but I'm just spelling it out to explore the other possibilities.

The one thing that's wrong with this picture is that right-clicking (without moving the mouse) and releasing goes back one page. My expectation is that the menu to stay posted so I can click again on the item I want.

Anyone else have this issue? What can be done about it? Is it a misconfiguration on my part? I haven't experienced this in the Windows versions of Firefox.
 
Old 06-17-2018, 05:22 PM   #2
RandomTroll
Senior Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 1,959

Rep: Reputation: 271Reputation: 271Reputation: 271
Weird! It's doing that for me now. Before (32- bit; I just switched to 64-bit Linux.) it opened a new tab on the exact same page; before that it worked. I asked at Mozilla's forum but didn't get a useful response; no one else seemed to have the problem. I almost always get better support for Firefox there than LQ: it's worth asking.
 
Old 06-17-2018, 09:13 PM   #3
chrisretusn
Senior Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 2,969

Rep: Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548
Not seeing this. Normal mouse behavior here with Slackware64-current (Sat Jun 16 05:59:57 UTC 2018) Firefox (60.0.2)
 
Old 06-17-2018, 09:24 PM   #4
andygoth
Member
 
Registered: Sep 2017
Distribution: Slackware
Posts: 132

Original Poster
Rep: Reputation: 66
Quote:
Originally Posted by chrisretusn View Post
Not seeing this. Normal mouse behavior here with Slackware64-current (Sat Jun 16 05:59:57 UTC 2018) Firefox (60.0.2)
It's also not a problem for me if I right-click on a new tab for which there is no history, but only because back is an inactive item.

Right-clicking on a link gives different behavior. It causes the link to be opened in a new tab since that item is what happens to end up under the mouse pointer when the menu is posted.

Please confirm that the back button is shown directly under the mouse pointer when you right-click, that it is not inactive, and that it still doesn't get selected.

Comparing Firefox with other applications, I see that everything else that has a right-click menu positions it slightly away from the mouse pointer, for example with the very corner of the menu frame at the pointer, with none of the menu items actually overlapping it. I strongly suspect this difference is the root of the problem, since normal behavior is for releasing the mouse button to select the item under the mouse pointer, or to leave the menu posted if the mouse button is released when not pointing at an enabled menu item.

In light of that observation, please also check where the menu is posted relative to the mouse pointer. To be clear, mine is positioned such that the back button's exact center aligns with the mouse pointer. This same offset is applied to other Firefox right-click menus, such as right-clicking in a multi-line text entry, despite the fact that the other menus don't have a back button.
 
Old 06-17-2018, 11:45 PM   #5
chrisretusn
Senior Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 2,969

Rep: Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548
I tested this out as you outlined. As you noted with other programs the mouse is slightly offset (top left) from the context menu. This is what I am seeing. Here are two screen shots. I can right click multiple times, the only thing that happens (as expected) is the context menu open and closes. If the right click is near the bottom of the page the mouse is positioned offset at the bottom left.

I am running Slackware64-current with Alien Bob's ktown. I also tested this on a clean version of Slackware64-current with KDE4

You did not mention your desktop.

I have no idea at the moment aside from maybe the mouse has sensitivity issues.
Attached Thumbnails
Click image for larger version

Name:	Screenshot_20180618_122447.png
Views:	134
Size:	208.3 KB
ID:	27942   Click image for larger version

Name:	Screenshot_20180618_122503.png
Views:	132
Size:	215.5 KB
ID:	27943  
 
Old 06-18-2018, 11:01 AM   #6
andygoth
Member
 
Registered: Sep 2017
Distribution: Slackware
Posts: 132

Original Poster
Rep: Reputation: 66
Quote:
Originally Posted by chrisretusn View Post
I tested this out as you outlined. As you noted with other programs the mouse is slightly offset (top left) from the context menu. This is what I am seeing. Here are two screen shots. I can right click multiple times, the only thing that happens (as expected) is the context menu open and closes. If the right click is near the bottom of the page the mouse is positioned offset at the bottom left.
Thanks. That's definitely normal behavior, and now I'm convinced my problem can be traced to the right-click menu being posted with the mouse pointer positioned over a menu item. But why that is happening is still unclear.

Quote:
Originally Posted by chrisretusn View Post
I am running Slackware64-current with Alien Bob's ktown. I also tested this on a clean version of Slackware64-current with KDE4

You did not mention your desktop.
I am using xfce4. I'll try again with KDE when I finish updating to the latest Slackware64-current, though I'm not using ktown.

Just tried a fresh Slackware-14.2 32-bit install (on a Compaq Armada M300 from 2000 with 192 megabytes RAM, woo!) and am not experiencing the mouse problem in Firefox 45.2.0. Later I will upgrade it to the latest Slackware-current and repeat the test.

I will probably have to wait until tonight or tomorrow to do these tests because I have other work to do.

Quote:
Originally Posted by chrisretusn View Post
I have no idea at the moment aside from maybe the mouse has sensitivity issues.
Only Firefox is affected.
 
Old 06-19-2018, 01:08 AM   #7
andygoth
Member
 
Registered: Sep 2017
Distribution: Slackware
Posts: 132

Original Poster
Rep: Reputation: 66
I tried all the available window managers. Most worked fine, positioning the menu's corner at the mouse pointer. Some shifted the menu vertically but not horizontally, so the mouse pointer was at the extreme left of the back button, just outside of activation range. xfce and mwm put the menu's back button under the pointer, causing the problem. KDE put the menu corner at the mouse pointer, but with just a pixel or two of overlap so that right-clicking actually triggers the back button.

Digression: I noticed that with twm, right-clicking very quickly caused the menu to flicker onscreen briefly then go away, whereas holding the right mouse button for a few milliseconds longer caused the menu to post normally.

Bottom line: there's a lot of variation between window managers.
 
Old 06-19-2018, 01:15 AM   #8
andygoth
Member
 
Registered: Sep 2017
Distribution: Slackware
Posts: 132

Original Poster
Rep: Reputation: 66
More information: Right click automatically clicks first menu item (on the right click menu popup).

However, I'm not using the Theme Font & Size Changer extension, even if the symptom is the same. I tried changing the "density" using the customize panel, and that didn't have an effect. I also tried safe mode, and it didn't fix anything. That part is definitely at odds with the linked report, in which safe mode corrected the issue.

I'm guessing the variation in window managers has to do with the extent each window manager will honor Firefox's attempt to position the menu, but it's really Firefox's problem that it be asking to put the menu under the mouse pointer.

Last edited by andygoth; 06-19-2018 at 01:16 AM. Reason: be more specific
 
Old 06-19-2018, 01:21 AM   #9
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,950

Rep: Reputation: Disabled
Try moving your ~/.mozilla directory out of the way and let firefox create a new profile for testing.
 
1 members found this post helpful.
Old 06-19-2018, 10:09 AM   #10
andygoth
Member
 
Registered: Sep 2017
Distribution: Slackware
Posts: 132

Original Poster
Rep: Reputation: 66
Quote:
Originally Posted by orbea View Post
Try moving your ~/.mozilla directory out of the way and let firefox create a new profile for testing.
That fixed it. I then experimented with each of the customizations I'd previously applied, putting them in one-by-one. This narrowed it down to me having unchecked Title Bar in the customization panel. That's what's confusing all the menu coordinate offsets. This also explains the differences between window managers, since that option only works for some, and on those that do (which, if I remember right, are also the ones that get the menu position wrong), the offset of the menu varies, since different window managers also have different window border geometries.

We can experiment more, though I think it may be worthwhile to file a bug report now that we have a procedure to reproduce. Thanks for the suggestion!
 
Old 06-20-2018, 01:53 AM   #11
chrisretusn
Senior Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 2,969

Rep: Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548
Quote:
Originally Posted by andygoth View Post
This narrowed it down to me having unchecked Title Bar in the customization panel.
Tried that, definitely affects the cursor position, however in my case, moved it further off from the context menu by quite a bit. Perhaps it's more that one setting. Strange problem indeed.

Edit: I looks more like it moved the context menu lower rather than effecting the cursor position. Position to the left looks about the same.
Attached Thumbnails
Click image for larger version

Name:	Screenshot_20180620_145152.png
Views:	229
Size:	150.4 KB
ID:	27966   Click image for larger version

Name:	Screenshot_20180620_145217.png
Views:	185
Size:	147.1 KB
ID:	27967  

Last edited by chrisretusn; 06-20-2018 at 01:59 AM. Reason: Cause I can
 
Old 06-20-2018, 02:17 PM   #12
RandomTroll
Senior Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 1,959

Rep: Reputation: 271Reputation: 271Reputation: 271
Quote:
Originally Posted by andygoth View Post
This narrowed it down to me having unchecked Title Bar in the customization panel.
Mine was checked; unchecking it made Firefox work 'properly'.
 
Old 07-13-2018, 03:57 PM   #13
andygoth
Member
 
Registered: Sep 2017
Distribution: Slackware
Posts: 132

Original Poster
Rep: Reputation: 66
With Firefox 6.1.0esr, this is no longer an issue. I can disable the titlebar and still get the menus in the right place.
 
Old 01-02-2019, 03:28 PM   #14
basedtho
LQ Newbie
 
Registered: Aug 2009
Location: ~
Distribution: Arch
Posts: 4

Rep: Reputation: 10
I'm experiencing this problem (though I would rather call it a feature) on Xfce with titlebar turned off, but not on i3 regardless of the position of the titlebar

Firefox version is 64
 
Old 02-27-2019, 03:27 AM   #15
XubuntuUser
LQ Newbie
 
Registered: Feb 2019
Posts: 1

Rep: Reputation: Disabled
Related bug report: https://bugzilla.mozilla.org/show_bug.cgi?id=1504021
 
1 members found this post helpful.
  


Reply

Tags
firefox, menu, right-click



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Firefox 60 for Android Brings Faster Page Rendering, New View Page Source Option LXer Syndicated Linux News 0 05-12-2018 07:06 PM
Sometimes when I click on a tab in Firefox it opens a new Firefox browser Gregg Bell Linux - Newbie 15 05-18-2016 08:49 PM
[SOLVED] Web page input executes on command line and output back to web page keif Programming 7 02-26-2014 10:25 AM
Firefox prevented this page from automatically redirecting to another page. Aquarius_Girl General 1 07-26-2010 07:26 AM
Going back, Going forward in firefox, Add the Current page as BookMark xbaez Linux - Software 2 05-20-2005 12:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:10 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration