Closed Bug 1531763 Opened 5 years ago Closed 3 years ago

[mac] The arrow panel arrow shows on both sides of the panel

Categories

(Toolkit :: UI Widgets, defect, P3)

All
macOS
defect

Tracking

()

RESOLVED WONTFIX
Tracking Status
firefox65 --- affected
firefox66 --- affected
firefox67 --- affected

People

(Reporter: obotisan, Unassigned)

Details

Attachments

(1 file)

Attached image imgph_fullsize.png

Affected versions

  • Firefox 67.0a1
  • Firefox 66.0b12
  • Firefox 65.0.1

Affected platforms

  • macOS 10.13
  • macOS 10.14

Steps to reproduce

  1. Go to boredpanda.com (or https://www.google.com/maps/ and activate "Show your location" option)
  2. Place the browser on the right side of the screen.
  3. Resize the browser by making it smaller.

Expected result

  • The doorhanger slips on the left side of the browser and the tooltip still remains underneath the "Change whether you can receive notifications from the site symbol".

Actual result

  • The doorhanger slips on the left side of the browser, but the tooltip is duplicated or remains on the left side of the doorhanger.

Regression range

  • I don't think this is a regression. I can reproduce the issue on Firefox from 2017-01-02 and older builds can't be opened.

Additional notes

  • Please look at the attached image.
  • I can't reproduce the issue for other doorhangers except for the notifications.
Component: General → XUL Widgets
Product: Firefox → Toolkit
Summary: [mac] The tooltip for notifications is duplicated when the browser is resized → [mac] The arrow panel arrow shows on both sides of the panel

I think this is some Mac rendering issue. Clicking on the real arrow is sent to the panel, but clicking on the fake arrow clicks on the background.

Component: XUL Widgets → Widget: Cocoa
Product: Toolkit → Core

I believe this is handled by frontend code.

Component: Widget: Cocoa → General
Product: Core → Firefox

(In reply to Stephen A Pohl [:spohl] from comment #2)

I believe this is handled by frontend code.

It is not. This is a graphics issue of some sort.

Component: General → Widget: Cocoa
Priority: -- → P3
Product: Firefox → Core

This happens when the arrow is moved after the panel is opened. We do not invalidate the shadow when that happens. So in that screenshot, it looks like the actual arrow in on the left side of the panel, and the shadow that remains from where the arrow was during panel opening is on the right.

It looks like the real arrow should really also be on the right.

Neil, is it possible to prevent moving the arrow after the panel opens?

Flags: needinfo?(enndeakin)

I've notice that this issue is reproducing on Ubuntu 18.04 x64, too. I tested it today with Firefox 67.0b11.
Also, I can see the issue on Windows 10 x64 (on latest Beta), but the tooltip doesn't remain duplicated only for a second.

I don't think this is a widget bug.

I also can't reproduce the visual glitch shown in the screenshot; instead, for me, both the arrow and the shadow are on the wrong side: When I follow the steps to reproduce, both the arrow and its shadow are on the left side, whereas both should be on the right side.
I think the bug is that the arrow location does not get adjusted when the panel is flipped. The flipping logic is not in Widget.

Component: Widget: Cocoa → XUL Widgets
Product: Core → Toolkit

We don't show arrows anymore so going to just close this.

Flags: needinfo?(enndeakin)
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: