?
avatar fr56
fr56
4 Aug 2016

Steps to reproduce the issue

Using Firefox (FF) for Windows, in Admin menu, clik on any menu item, e.g. System, and then right click on a subitem in the drop-down menu, e.g. Configuration.

Expected result

FF will show the menu for choices like Open link in new tab, Open link in new window etc.

Actual result

FF will show the menu for choices like Share this page, Show Source Code etc, and it's not possible to open the desired element in a new tab.

System information (as much as possible)

Joomla 3.6.0 or 3.6.1.
PHP 5.5.36
Isis admin template
Windows 10
Firefox version 48 (also tested on v. 45 and 47).

Additional comments

This bug started after upgrading to Joomla 3.6.0. It's the same in 3.6.1.
Tested on different sites with different PCs.
It's ok if using Chrome, Opera, Edge or IE.
Firefox for Mac v. 47 is also ok.
Hathor template is not affected.
Actually, it's the same bug in the frontend main menu on joomla.org!

avatar fr56 fr56 - open - 4 Aug 2016
avatar brianteeman brianteeman - change - 4 Aug 2016
Category Templates (admin)
avatar brianteeman
brianteeman - comment - 4 Aug 2016

I just tried it in chrome and firefox for mac and had no problem

avatar fr56
fr56 - comment - 4 Aug 2016

Right, it seems to be only Firefox for Windows that's affected, but thanks for testing.
Anyone else here using Windows?

avatar yild
yild - comment - 4 Aug 2016

I can confirm this issue in 3.6.0 and 3.6.1.
Furthermore when I was playing with menu there ware times that even top level menu item would not bring FF popup menu that allow open link.

If you r-click a few times... dozens... it eventually bring popup menu, from this moment it will work in each tab (I had 3.6 and 3.6.1 sites opened simultaneously) - or maybe it was pure luck.

There ware 'places' on menu item that would bring popup menu, click on text - no effect, click on padding (or what ever space between each text in menu its called) - correct menu popup.

Tested 3.5.1 and there ware no problems like that (or I didn't encounter one).

avatar brianteeman
brianteeman - comment - 4 Aug 2016

The css for the menus has been completely rwritten since 3.5 to allow for
scrolling when you have a very long menu

On 4 August 2016 at 21:53, yild notifications@github.com wrote:

I can confirm this issue in 3.6.0 and 3.6.1.
Furthermore when I was playing with menu there ware times that even top
level menu item would not bring FF popup menu that allow open link.

If you r-click a few times... dozens... it eventually bring popup menu,
from this moment it will work in each tab (I had 3.6 and 3.6.1 sites opened
simultaneously) - or maybe it was pure luck.

There ware 'places' on menu item that would bring popup menu, click on
text - no effect, click on padding (or what ever space between each text in
menu its called) - correct menu popup.

Tested 3.5.1 and there ware no problems like that (or I didn't encounter
one).


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#11457 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABPH8eGpzQDvc93gDmm10rfWzNc0NBl5ks5qclE4gaJpZM4JdCM1
.

Brian Teeman
Co-founder Joomla! and OpenSourceMatters Inc.
http://brian.teeman.net/

avatar ggppdk
ggppdk - comment - 4 Aug 2016

It is due JS and due to the fact that:

  • firefox fires a click event (that propages up) to the document , when you press right click, and possible other events
  • other browsers do not do it (for right click)

and current JS will close the menu if a click is caught at "document",
(and firefox will show its built-in menu after the event handlers finish ?)

Adding detection for right click maybe enough to see the correct browser menu
but to keep the HTML-based menu of Joomla open will need more than catching the right click

avatar ggppdk
ggppdk - comment - 4 Aug 2016

I don't think this is worth the effort, just use middle click to open in new tab

avatar C-Lodder
C-Lodder - comment - 5 Aug 2016

Same issue for me on FF Beta (Windows).

I've had to start opening pages in a new tab using CTRL + click, but the fact is, people may want to perform a different action such as inspecting the element, copy link location, etc, so yes, it is worth it. I'll look into potential fixes for this over the weekend if I get a moment


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/11457.

avatar ggppdk
ggppdk - comment - 5 Aug 2016

@C-Lodder

Of course it would be nice if this works,

Clearing menu happens here (uncompressed version JS (enabled debug)):
https://github.com/joomla/joomla-cms/blob/staging/media/jui/js/bootstrap.js#L841

    .on('click.dropdown.data-api', clearMenus)

with:

    .on('click.dropdown.data-api',
        function (e) {
                var isRightMB = 0;
                e = e || window.event;

                if ("which" in e)  // Gecko (Firefox), WebKit (Safari/Chrome) & Opera
                    isRightMB = e.which == 3; 
                else if ("button" in e)  // IE, Opera 
                    isRightMB = e.button == 2; 

                if (!isRightMB) clearMenus();
            }
    )


works , but i do not know if it will cause other problems, but the above will save you time, that you can spend on testing it


right_click_firefox

avatar brianteeman brianteeman - change - 7 Aug 2016
Status New Confirmed
avatar C-Lodder
C-Lodder - comment - 6 Sep 2016
avatar brianteeman
brianteeman - comment - 6 Sep 2016

Closed as we have a PR for testing

avatar brianteeman brianteeman - change - 6 Sep 2016
Status Confirmed Closed
Closed_Date 0000-00-00 00:00:00 2016-09-06 10:06:53
Closed_By brianteeman
avatar brianteeman brianteeman - close - 6 Sep 2016

Add a Comment

Login with GitHub to post a comment