Closed
Bug 1406751
Opened 7 years ago
Closed 6 years ago
[Linux, maybe wm-dependent] Single-clicking on the space between the urlbar and page content maximizes the window
Categories
(Core :: Widget: Gtk, defect, P3)
Tracking
()
VERIFIED
FIXED
mozilla61
Tracking | Status | |
---|---|---|
firefox-esr52 | --- | unaffected |
firefox-esr60 | --- | fixed |
firefox56 | --- | unaffected |
firefox57 | --- | wontfix |
firefox58 | --- | wontfix |
firefox59 | --- | wontfix |
firefox60 | --- | verified |
firefox61 | --- | verified |
People
(Reporter: wavexx, Assigned: jhorak)
References
Details
(Keywords: regression)
Attachments
(2 obsolete files)
User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:52.0) Gecko/20100101 Firefox/52.0 Build ID: 20100101 Steps to reproduce: Firefox 57.0 b6 just installed on Linux, default theme with default density. Click on the space between the urlbar and the web page (I have roughly ~10 pixels available). The window is pseudo-maximized. The same happens in the space between the urlbar and header bar and other empty spaces. Actual results: Click on the space between the urlbar and the web page (I have roughly ~10 pixels available). The window is pseudo-maximized. Expected results: Nothing. This space shouldn't trigger window maximization as it can be hit by mistake while trying to hit the url bar. Likewise, hitting the empty space in the tabbar shouldn't trigger this kind of broken maximization. Clicking on the same space doesn't restore the original state. How am I supposed to exit this mode?
Comment 1•7 years ago
|
||
[bugday-20171009] Windows 7x64, Firefox 58. Bug is unconfirmed.
Comment hidden (obsolete) |
Updated•7 years ago
|
Flags: qe-verify+
Priority: -- → P3
QA Contact: valentina.ona
Comment 4•7 years ago
|
||
(In reply to Valentina Claudia Ona from comment #2) > I verify this issue and is also reproducible on Windows 7 x32 and x64 using > Firefox beta 57.0b7 and Nightly 58.0a1. Uh, with a single click? That would seem surprising, and I can't reproduce that. Only double clicks do anything.
Flags: needinfo?(valentina.ona)
Comment 5•7 years ago
|
||
Only if you double-click in that space.
Flags: needinfo?(valentina.ona) → needinfo?(gijskruitbosch+bugs)
Updated•7 years ago
|
Status: NEW → UNCONFIRMED
Ever confirmed: false
Flags: needinfo?(dao+bmo)
Priority: P3 → --
Whiteboard: [reserve-photon-visual]
I just need a single click in both areas (note that the area extends also in the empty spaces between the toolbar buttons).
Updated•7 years ago
|
Comment 7•7 years ago
|
||
I can confirm this issue and it's also reproducible on multiple machines with double click please see the attachment
Updated•7 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 8•7 years ago
|
||
This bug is about single click, as wavexx confirmed in comment 6.
Status: NEW → UNCONFIRMED
Ever confirmed: false
Flags: needinfo?(valentina.ona)
Comment 11•7 years ago
|
||
We need a Linux system, because it maybe feature of OS and all attempt to reproduce are incorrect.
Flags: needinfo?(wavexx)
Comment 12•7 years ago
|
||
I verified this issue using Nightly 58.0a1 on Ubuntu 16.04 x64 and I can't reproduce this issue.
Flags: needinfo?(valentina.ona)
Updated•7 years ago
|
Status: UNCONFIRMED → NEW
Component: Theme → Toolbars and Customization
Ever confirmed: true
Flags: needinfo?(wavexx)
Flags: needinfo?(gijskruitbosch+bugs)
Priority: -- → P2
Comment 13•7 years ago
|
||
Hey Justin, can you set an appropriate priority here and figure out if we should track for 57? summary: a single click in some areas of chrome triggers window resize on Linux.
Flags: needinfo?(dolske)
Comment 14•7 years ago
|
||
We still need more information on under what conditions this happens, e.g. what Linux distribution and version. WindowDraggingUtils.jsm calls window.beginWindowMove on mousedown which then calls gdk_window_begin_move_drag via nsIWidget::BeginMoveDrag. If this is somehow not working correctly, I think that ought to be a Widget: Gtk bug if it's a Firefox bug at all.
Component: Toolbars and Customization → Widget: Gtk
Flags: needinfo?(dolske)
Keywords: qawanted,
steps-wanted
Priority: P2 → --
Product: Firefox → Core
QA Contact: valentina.ona
Updated•7 years ago
|
Priority: -- → P3
Updated•7 years ago
|
Flags: needinfo?(wavexx)
Reporter | ||
Comment 15•7 years ago
|
||
This is happening on Linux, FF 57b6, with Debian unstable, using GTK 3.22.22 or 3.22.24. The window manager is spectrwm, but I could reproduce it with awesomewm and openbox as well. I'm not using a specific desktop system (no Gnome, no KDE). However, FF56 with the same GTK version doesn't have the same problem, so I wouldn't put GTK as a suspect here, unless dragging by the tab-bar was introduced in FF57. By extension though, it looks like that dragging the window would work also between the addon buttons in the toolbar, which I would _also_ consider as a bug. I have to be honest, I reverted to FF56 after a few weeks. I've been accustomed to too many extensions that have no equivalent replacement yet. This could change in the future, but for now I'm done with 57.
Flags: needinfo?(wavexx)
Updated•7 years ago
|
Updated•7 years ago
|
Summary: Clicking on the space between the urlbar and page content maximizes the window → [Linux, maybe wm-dependent] Single-clicking on the space between the urlbar and page content maximizes the window
Comment 16•7 years ago
|
||
Hi, I encounter this exact problem using Firefox developer edition 57b14 on Arch Linux through the aur package https://aur.archlinux.org/packages/firefox-developer-fr/. I use awesomewm v3 as a window manager. There is no bug using Firefox 56 (via https://www.archlinux.org/packages/extra/x86_64/firefox/) on the same machine.
Reporter | ||
Comment 17•7 years ago
|
||
Verified this again on Linux 57 (final) on Debian unstable using many tiling window managers. By inspecting with xev, it seems that simply *clicking* on the tab bar causes FF to sent a window-move event to the WM (even though the moved distance is 0 pixels). This causes any tiling window manager to detach the window from the tiling. This shouldn't happen. As for any drag operation, it shouldn't happen unless there's a minimal amount of motion involved. The fact that the active area sits along under the entire urlbar is aggravating. A click just under the hamburger menu will also trigger this issue.
Comment 18•7 years ago
|
||
Can you reproduce with your add-ons disabled? See also bug 1419092 comment 5.
Flags: needinfo?(wavexx)
Comment 20•7 years ago
|
||
On Ubuntu 16.04 using WindowMaker as the window manager I get different problems depending which version of Firefox I'm using: Firefox 57.0.1: 1) Double click in either of the spaces beside the URL bar * -> Instant Crash! (even in safe mode) ---------------- ** Gdk:ERROR:/build/gtk+3.0-2Ut_nl/gtk+3.0-3.18.9/./gdk/x11/gdkwindow-x11.c:5129:create_moveresize_window: assertion failed: (mv_resize->moveresize_emulation_window == NULL) Redirecting call to abort() to mozalloc_abort ExceptionHandler::GenerateDump cloned child 11361 ExceptionHandler::SendContinueSignalToChild sent continue signal to child ExceptionHandler::WaitForContinueSignal waiting for continue signal... ------------------ Firefox Developer Edition 58.0b6: 1) Minimize firefox window 2) Un-minimize firefox window 3) Single click in either of the spaces beside the URL bar * -> Firefox window maximises! Step 1 and 2 can be replaced by other window manager operations (e.g. Shade/Unshade (reduces window to just the title bar); Maximize/Unmaximize, etc)
Comment 21•7 years ago
|
||
Comment 20 is bug 1186967
Comment 22•6 years ago
|
||
https://wiki.mozilla.org/Bug_Triage/Projects/Bug_Handling/Bug_Husbandry#Move_fix-optionals
status-firefox59:
--- → ?
Reporter | ||
Comment 23•6 years ago
|
||
I can reproduce this also with FF58b14. Short summary: Single-click on an empty space in the tab bar triggers a window-move event of 0 pixels. The same happens in several other (normally non-reactive) areas, such as the empty spaces between addon buttons next to the url bar, or the space between the urlbar and the tab-bar (a few pixels). A missed click by a few pixels will cause FF to maxize in any tiling window manager. The regression started in FF57.
Reporter | ||
Comment 24•6 years ago
|
||
Other infos: - GTK is 3.22.26, but likely not the cause (as written before, the regression was introduced in FF57 with GTK staying the same) - For clarity: dragging and double-clicking in the empty space of tab-bar causes the same effects: * drags of a small-enough distance are processed as a click * drags of a large distance cause a window move, which inherently untile a window in a tiled window manager: I do not consider this a bug. * double-click is buggy: a window-move event of a 0 pixels is caused at the end of the first mouse-release event (even before the second click). Double-click processing is obviously broken as well.
Updated•6 years ago
|
Attachment #8917859 -
Attachment is obsolete: true
Updated•6 years ago
|
Attachment #8917787 -
Attachment is obsolete: true
Comment 25•6 years ago
|
||
I expect bug 1455235 fixed this.
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox61:
--- → fixed
Depends on: 1455235
Keywords: qawanted,
steps-wanted
Resolution: --- → FIXED
Target Milestone: --- → mozilla61
Comment 26•6 years ago
|
||
Not sure if we're going to want to take this as a late uplift for Beta, but I could see this being something we'd want fixed in ESR60 still.
Updated•6 years ago
|
status-firefox-esr52:
--- → unaffected
Comment 27•6 years ago
|
||
Hello, I tried reproducing this issue on Ubuntu 17.04 , 16.04 using Firefox builds 57.0b6 , 57.0b9 without any success , it would be a great help if you could recheck this issue on your Operating System using one of our latest builds you can find here: https://nightly.mozilla.org/ , and please let us know if the issue still occurs on your end. Thanks
Flags: needinfo?(wavexx)
Comment 29•6 years ago
|
||
Hi Wavexx , Sorry to keep bugging you with this issue, but it is still unclear for me if it reproduces or not using 59.0.2 build? Also, could you please try to verify this issue on the latest nightly build (you can find here: https://nightly.mozilla.org/), as from bug's comments it seems that this was fixed only on Nightly 61.
Flags: needinfo?(wavexx)
Reporter | ||
Comment 30•6 years ago
|
||
Yes, it still reproduces on 59.0.2. I tried nightly. It's better: nothing happens with a simple click, which is some progress. But if I click and drag on the empty space in the toolbar (between the home button and the urlbar to be clear), the same problem appears again. Are you supposed to be able to drag firefox around in that spot?
Flags: needinfo?(wavexx)
Updated•6 years ago
|
Comment 31•6 years ago
|
||
Hi Wavexx, Thank you for your response, and to answer your question: Yes that is intended since version 57(Photon) i believe, i'm happy to hear that the above mentioned issue no longer reproduces on the latest nightly build. I also tried reproducing the issue on Ubuntu 16.04 but without any success. I will mark it Confirmed as Fixed based on comment 27 and comment 30.
Status: RESOLVED → VERIFIED
Flags: qe-verify+
Reporter | ||
Comment 32•6 years ago
|
||
Then if that's intended, you should add a minimum drag distance. It seems that a single 1px distance will trigger the drag, which is clearly not enough as it might still trigger the underlying issue if one has intended to click, but resulted in a drag instead.
Comment 33•6 years ago
|
||
Hi Wavexx, the Space between the Home button and the address bar is called a "flexible space" and that can be removed from the Customize options, your idea for the minimum drag distance is great and you should add a separate issue to Bugzilla as an "Enhancement" and our Dev team will get to it when possible.
Reporter | ||
Comment 34•6 years ago
|
||
Yes, but that space is not the only space where dragging works. The flexible space is just a coincidence. Dragging also appears to work if you click *between the space of two buttons* in the toolbar. I mean, does *that* make sense to you? I'm sorry for being harsh here but... minimum drag distance is a basic UI concept that shouldn't require explaining.
Comment 35•6 years ago
|
||
It does not :) , but this should be treated as a separate issue since the defect here was the Window resizing with a single click, you should definitely log a different issue for the minimum dragging distance area from a "Click" to be wider than 5 or 10px before resizing the entire browser window.
You need to log in
before you can comment on or make changes to this bug.
Description
•