Closed Bug 1822764 Opened 1 year ago Closed 1 year ago

Mouse not interacting with tab bar of non-maximized window at the top edge of the screen

Categories

(Core :: Widget: Gtk, defect, P3)

Firefox 111
defect

Tracking

()

VERIFIED FIXED
113 Branch
Tracking Status
firefox-esr102 --- unaffected
firefox111 --- wontfix
firefox112 --- verified
firefox113 --- verified

People

(Reporter: julien.falque, Assigned: emilio)

References

(Blocks 1 open bug, Regression)

Details

(Keywords: regression)

Attachments

(3 files)

Attached video Screencast of the issue

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/111.0

Steps to reproduce:

I reproduce this on Gnome desktop (Wayland), at least on an up-to-date Arch Linux and Ubuntu 22.10.

  • Move a non-maximized Firefox window to the top edge of the screen
  • Try to interact with the tab bar (e.g. closing a tab with middle click, or left click on the new tab button) while having the mouse pointer at the very top of the screen

Actual results:

The mouse actually interacts with the edge of the window, i.e. it starts to resize it.

If you right click there, the resizing will continue even if you release the mouse button. You need to left click to stop the resizing.

Expected results:

The mouse should have interacted with the tab bar (pre-v111 behavior).

The Bugbug bot thinks this bug should belong to the 'Core::Widget: Gtk' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Widget: Gtk
Product: Firefox → Core
Blocks: wayland
Priority: -- → P3

Not Wayland-specific and seems to be intentional, however the native titlebar and other native apps on Ubuntu 22.10 do not have this behavior.

Regression window:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=9c484601dceb9159cb363f2bc0d52e313bc33f1e&tochange=08b6af27b2ea004809b29b47c2df0ce7eb6f6397

Regressed by Bug 1813554.

Blocks: gtktitlebar
No longer blocks: wayland
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: regression
Regressed by: 1813554

:emilio, since you are the author of the regressor, bug 1813554, could you take a look? Also, could you set the severity field?

For more information, please visit auto_nag documentation.

Flags: needinfo?(emilio)

It doesn't match the native GNOME behavior, so keep it in that DE only.

Assignee: nobody → emilio
Status: NEW → ASSIGNED
Flags: needinfo?(emilio)
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/30618bdaad42
Only do the extra resizer pixel on KDE. r=stransky
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 113 Branch

The patch landed in nightly and beta is affected.
:emilio, is this bug important enough to require an uplift?

  • If yes, please nominate the patch for beta approval.
  • If no, please set status-firefox112 to wontfix.

For more information, please visit auto_nag documentation.

Flags: needinfo?(emilio)

Comment on attachment 9325136 [details]
Bug 1822764 - Only do the extra resizer pixel on KDE. r=stransky

Beta/Release Uplift Approval Request

  • User impact if declined: comment 0
  • Is this code covered by automated tests?: No
  • Has the fix been verified in Nightly?: Yes
  • Needs manual test from QE?: Yes
  • If yes, steps to reproduce: comment 0
  • List of other uplifts needed: none
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): Reverts behavior to pre-111 behavior.
  • String changes made/needed: none
  • Is Android affected?: No
Flags: needinfo?(emilio)
Attachment #9325136 - Flags: approval-mozilla-beta?
Flags: qe-verify+
QA Whiteboard: [qa-triaged]

Comment on attachment 9325136 [details]
Bug 1822764 - Only do the extra resizer pixel on KDE. r=stransky

Approved for 112.0b9

Attachment #9325136 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Attached video resizing.webm

I wasn't able to reproduce this issue in the KDE environment using Nightly 113.0a1(15-03-2023) on Ubuntu 22.04 following the STR from Comment 0.
@Julien Falque, could you please let us know if the issue can still be reproduced in the latest Nightly 113.0a1 and Firefox 112.0 versions?

While checking this issue in the Gnome environment, I've reproduced it using Nightly 113.0a1(15-03-2023) on Ubuntu 22.04.
@Emilio, I've noticed that in the latest Nightly 113.0a1 it's no longer possible to resize the browser window by dragging. Please see the attachment. Should I file a separate bug for this?

Flags: needinfo?(julien.falque)
Flags: needinfo?(emilio)

Yeah, kde shouldn't have changed behavior with this patch, and the gnome thing is intentional as per comment 0

Flags: needinfo?(emilio)

I confirm I can't reproduce the issue on Arch Linux with Firefox 112.0rc2-1.

Flags: needinfo?(julien.falque)

Thank you for confirming.
Marking this as VERIFIED FIXED.

Status: RESOLVED → VERIFIED
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: