Speaker volume overlay sometimes jitters left/right slightly when pressing volume keys

Bug #1692394 reported by Daniel van Vugt
32
This bug affects 5 people
Affects Status Importance Assigned to Milestone
GNOME Shell
Expired
Medium
gnome-shell (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

https://bugzilla.gnome.org/show_bug.cgi?id=772287

When I press the volume keys on my keyboard the shell displays an overlay showing the volume level. Normally this overlay is stationary, but sometimes when adjusting the volume, the overlay shifts slightly a pixel or two left or right.

ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: gnome-shell 3.24.2-0ubuntu4
ProcVersionSignature: Ubuntu 4.10.0-20.22-generic 4.10.8
Uname: Linux 4.10.0-20-generic x86_64
ApportVersion: 2.20.5-0ubuntu3
Architecture: amd64
Date: Mon May 22 11:02:57 2017
DisplayManager: lightdm
GsettingsChanges:
 b'org.gnome.shell' b'had-bluetooth-devices-setup' b'true'
 b'org.gnome.shell' b'app-picker-view' b'uint32 1'
 b'org.gnome.shell' b'favorite-apps' b"['firefox.desktop', 'org.gnome.Terminal.desktop', 'rhythmbox.desktop', 'yelp.desktop', 'org.gnome.Nautilus.desktop', 'org.gnome.Software.desktop']"
 b'org.gnome.desktop.interface' b'gtk-im-module' b"'gtk-im-context-simple'"
 b'org.gnome.desktop.interface' b'scaling-factor' b'uint32 1'
InstallationDate: Installed on 2017-05-03 (18 days ago)
InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Alpha amd64 (20170502)
SourcePackage: gnome-shell
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
In , Daniel Boles (dboles) wrote :

Created attachment 336725
screencast

The title and attached screen recording basically say it all.

The square overlays showing the new value for brightness or volume change their horizontal location slightly each time the value is changed - if and only if it's being changed to/from something above 50%. When changing between values at/below 50%, the overlay stays in the same position, as it should.

fwiw, I don't recall this happening before, so either (A) my memory is rubbish (very likely), or (B) it's a new thing that just started happening in the last day or 2.

Revision history for this message
In , Florian-muellner (florian-muellner) wrote :

*** Bug 772625 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Cosimo-cecchi (cosimo-cecchi) wrote :

Created attachment 337381
osdWindow: always round-up sizes when updating allocation

This fixes the OSD window flickering horizontally at certain
resolutions.

Revision history for this message
In , Florian-muellner (florian-muellner) wrote :

Review of attachment 337381:

OK

Revision history for this message
In , Cosimo-cecchi (cosimo-cecchi) wrote :

Attachment 337381 pushed as f819654 - osdWindow: always round-up sizes when updating allocation

Revision history for this message
In , Florian-muellner (florian-muellner) wrote :

*** Bug 774088 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Florian-muellner (florian-muellner) wrote :

*** Bug 774369 has been marked as a duplicate of this bug. ***

Revision history for this message
Daniel van Vugt (vanvugt) wrote :
tags: added: gnome-17.10
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gnome-shell (Ubuntu):
status: New → Confirmed
Revision history for this message
In , A-gnome (a-gnome) wrote :

Created attachment 363743
Screenshot of OSD

Hi, since Gnome 3.24 (Fedora 26) and Gnome 3.26 (Fedora 27), I also experience the same bug on all of my machines. The volume and brightness OSD jitters above 50%.

This happens on my laptop (1366x768), my desktop (1920x1200) and my work setup (dual monitors, dual 1920x1200). I also tested this with Ubuntu 17.10, with the same result.

I have no extensions running, just a vanilla Gnome 3.26 setup on all of my machines.

Besides the jitter, I also have a graphic issue since Gnome 3.22, see the attachment. This grahical glitch ONLY happens when animations are ON. When the animations are OFF, the graphical glitch does not happen, just the jitter.

Revision history for this message
In , A-gnome (a-gnome) wrote :

BTW, my shell version is:

gnome-shell.x86_64 3.26.2-1.fc27

Revision history for this message
In , Daniel Boles (dboles) wrote :

You should reopen this bug if you can still demonstrate the same problem. A video of your system would be good to confirm it's likely the exact same thing.

For the other issue - which ideally would have a textual description too, but presumably is incorrect placement/clipping of the graphics? - you should open a new bug report.

Revision history for this message
In , Alessandro-bono369 (alessandro-bono369) wrote :

Created attachment 363759
volume overlay jittering

(In reply to Daniel Boles from comment #9)
> You should reopen this bug if you can still demonstrate the same problem. A
> video of your system would be good to confirm it's likely the exact same
> thing.

I have the same problem with Fedora 27. A screencast is attached.

Revision history for this message
In , A-gnome (a-gnome) wrote :

(In reply to Daniel Boles from comment #9)
> For the other issue - which ideally would have a textual description too,
> but presumably is incorrect placement/clipping of the graphics? - you should
> open a new bug report.

Thank you, I have opened that bug here: https://bugzilla.gnome.org/show_bug.cgi?id=790413

Revision history for this message
In , Daniel Boles (dboles) wrote :

(In reply to Kadir from comment #8)
> BTW, my shell version is:
>
> gnome-shell.x86_64 3.26.2-1.fc27

Conversely, I haven't seen this reoccur yet, and I'm currently on Debian with gnome-shell_3.26.2-1_amd64.deb (and X, fwiw)

Revision history for this message
In , Lionel Landwerlin (llandwerlin) wrote :

I can still see this issue on 3.26.2.

Revision history for this message
In , A-gnome (a-gnome) wrote :

Created attachment 364064
Jitter at 1920x1200

With a freshly installed and fully updated Fedora 27 install (with gnome-shell.x86_64 version 3.26.2-1.fc27), I see the jitter above 50%. The system is a desktop with a monitor resolution of 1920x1200.

No extensions, shell/gtk themes or icon themes installed, a fully stock system.

Revision history for this message
In , Daniel Boles (dboles) wrote :

I wrote a big post with my versions of gjs, libmozjs, etc. Then discarded it by accident. :|

Suffice it to say the machine in question, which does not exhibit the jitter, is running Debian unstable, fully up-to-date as of yesterday, on a 1920x1080 screen with scaling 1, font size 10, the stock theme, and a handful of the standard extensions turned on.

Revision history for this message
In , Florian-muellner (florian-muellner) wrote :

*** Bug 792023 has been marked as a duplicate of this bug. ***

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

I don't recall seeing this in a while.

Changed in gnome-shell (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
In , Florian-muellner (florian-muellner) wrote :

*** Bug 778546 has been marked as a duplicate of this bug. ***

Revision history for this message
Daniel Rodriguez (newhacker1746) wrote :

I currently experience this issue on an up-to-date 18.04 install. I came across this bug while googling for "gnome volume overlay wobble". It also affects the other two overlays that I can use (screen brightness and keyboard backlight.) I was able to record in in 60fps so as to make it more evident. Just wanted to share my experience on the most updated as possible Ubuntu.

Changed in gnome-shell (Ubuntu):
status: Incomplete → Confirmed
importance: Undecided → Low
Revision history for this message
Daniel van Vugt (vanvugt) wrote :
Changed in gnome-shell:
importance: Unknown → Medium
status: Unknown → Confirmed
Revision history for this message
Michal Predotka (mpredotka) wrote :

I think the bug you're referencing is about blurriness from y position calculation.
I believe the upstream bug about left/right jittering is https://bugzilla.gnome.org/show_bug.cgi?id=772287

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

There is a fix for the left/right jittering in https://bugzilla.gnome.org/show_bug.cgi?id=782011

But yes those bugs should be deduplicated.

Revision history for this message
In , Daniel van Vugt (vanvugt) wrote :

Please see attachment 352891 in bug 782011 for a potential fix.

Revision history for this message
In , Slatchurie (slatchurie) wrote :

Created attachment 372570
osdWindow: change the centering calculation

The current method relies on Clutter.ActorAlign.CENTER.
But it doesn't take into account the new size of the OSD, and
another calculation has to be made to correct it.
When the level bar is wide enough, a jitter of 1px can appear
from the difference between the two centering methods.

This moves the centering calculation from the screen actor to the
constraint box of the OSD.

Revision history for this message
In , Florian-muellner (florian-muellner) wrote :

*** Bug 782011 has been marked as a duplicate of this bug. ***

Changed in gnome-shell:
status: Confirmed → Invalid
no longer affects: gnome-shell
Changed in gnome-shell:
importance: Unknown → Medium
status: Unknown → Confirmed
Revision history for this message
In , Daniel van Vugt (vanvugt) wrote :
Revision history for this message
In , Jonas Ådahl (jadahl) wrote :

slatchurie, could you turn this into a merge request on gitlab?

tags: added: bionic cosmic
Revision history for this message
In , Florian-muellner (florian-muellner) wrote :

It's possible that the issue has been fixed in https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/2, as the level bar is (once again) a custom drawn actor instead of a fill-level actor inside a trough actor.

Revision history for this message
In , Lionel Landwerlin (llandwerlin) wrote :

I can still reproduce on 3.28.3, I can't really tell what version that merge request ended up in.

Revision history for this message
In , Florian-muellner (florian-muellner) wrote :

Sorry I haven't been more clear. The merge request wasn't about this issue at all, but about implementing a feature - it just happened that the involved refactoring touched (and replaced) the code that was previously identified to cause the jiggling, which is why it's possible that the issue is fixed.

But being a larger patch set that involves UI changes and refactoring, we are talking about an unstable change (3.29.90 to be precise).

tags: removed: artful gnome-17.10
tags: removed: cosmic
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

I haven't seen this in a long time.

Changed in gnome-shell (Ubuntu):
status: Confirmed → Fix Released
Changed in gnome-shell:
importance: Medium → Undecided
status: Confirmed → New
description: updated
Changed in gnome-shell:
importance: Undecided → Unknown
status: New → Unknown
Changed in gnome-shell:
importance: Unknown → Medium
status: Unknown → Confirmed
Revision history for this message
In , Gnome-sysadmin (gnome-sysadmin) wrote :

GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org.
As part of that, we are mass-closing older open tickets in bugzilla.gnome.org
which have not seen updates for a longer time (resources are unfortunately
quite limited so not every ticket can get handled).

If you can still reproduce the situation described in this ticket in a recent
and supported software version, then please follow
  https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines
and create a new ticket at
  https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/

Thank you for your understanding and your help.

Changed in gnome-shell:
status: Confirmed → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.