[Ubuntu] Zooming in on an image doesn't change the cursor into a magnifying-glass




Widget: Gtk
13 days ago
11 days ago


(Reporter: Oana Botisan, Unassigned)




Firefox Tracking Flags

(firefox57 wontfix, firefox58 fix-optional, firefox59 fix-optional)




13 days ago
[Affected versions]:
- Latest Nightly 59
- beta 58.0b14
- Firefox 57.0.4

[Affected platforms]:
- Ubuntu 16.04 x64

[Steps to reproduce]:
1. Launch Firefox and open an image (ex. http://www.catster.com/wp-content/uploads/2017/08/A-fluffy-cat-looking-funny-surprised-or-concerned.jpg)
2. Use Ctrl+scroll to zoom in until the image is bigger than the browser window
3. Observe the cursor's behaviour.

[Expected result]:
- The cursor changes into a magnifying-glass that shows the actions you can do (zoom in or zoom out)

[Actual result]:
- The cursor remains the same.

[Regression range]:
- Last good revision: 19289cc8bf6ffce3b2067fbe91aebea5a356d00815:16.87 
- First bad revision: 7ac30073bcac75a1f0217a342300233a4a2d939e15:16.87
- Pushlog:https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=19289cc8bf6ffce3b2067fbe91aebea5a356d008&tochange=7ac30073bcac75a1f0217a342300233a4a2d939e

I assume that the bug 1328724 is the cause of this issue.
I can't reproduce, on Ubuntu 17.10.  I tested Firefox Nightly 59.0a1 (2018-01-08) and the ubuntu package of Firefox Release 57.0.4 (64-bit) -- and in both, I get Expected Results. (I do see a magnifying glass when performing the STR.)

Maybe there's something Ubuntu-version-specific (note that my Ubuntu is newer than Oana's).  It does sound like some others are able to reproduce, per bug 1328724 comment 7 and bug 1328724 comment 8 -- just not me.
Blocks: 1328724
Priority: -- → P3
Component: Layout: Images → Widget: Gtk
Based on a user's comment on bug 1328724, it sounds like the issue here is theme-specific -- according to this user, you get expected behavior if you've got the "Adwaita" cursor theme, but broken behavior from other themes like DMZ-White (and the theme has to be chosen before you start Firefox).  Incidentally, Adwaita is the theme that I am using (and indeed, I'm getting correct/expected behavior).

Here's the full text of that user's analysis from bug 1328724 comment 8:
> zoom-in/zoom-out cursors are no longer displayed with Linux Mint
> 18.1 Cinnamon 64-bit.
> I did not change the theme after installing Linux Mint, and Themes settings
> currently says that "DMZ-White" is in use in "Mouse Pointer" category.
> Observations:
> - Switch to "Adwaita" as "Mouse Pointer" theme, the zoom-in/zoom-out cursors
> are then properly display on the doc/demo MDN page[1]
> - Switch back to "DMZ-White", the zoom-in/zoom-out cursors are *still*
> properly displayed.
> - Quit then launch Nightly, the zoom-in/zoom-out cursors are no longer
> properly displayed.
> - Switch to "Adwaita" as "Mouse Pointer" theme and quit then launch Nightly,
> zoom-in/zoom-out are properly displayed.
> So it appears if "Adwaita" was enabled at any time at least once while
> Nightly is running will fix the zoom-in/zoom-out cursor issue even if going
> back to non-"Adwaita". Re-booting Nightly without "Adwaita" however and the
> issue is back.
> [1] https://developer.mozilla.org/en-US/docs/Web/CSS/cursor?v=example


11 days ago
status-firefox57: affected → wontfix
status-firefox58: affected → fix-optional
status-firefox59: affected → fix-optional
You need to log in before you can comment on or make changes to this bug.