dock and top bar flashing non-stop at fullscreen in Xorg sessions

Bug #1905186 reported by sepukkuhero
20
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Dash to dock
Unknown
Unknown
gnome-shell-extension-ubuntu-dock (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Ubuntu 20.04.1 LTS

This problem affects all extensions that alter the dock and top bar. Including the standard extension "Ubuntu dock". All extensions are duly updated to the present date.

I hoped that when entering full screen it would be possible to bring the dock and the top bar when placing the mouse over the respective corners. And in fact it is partially possible.

However, both are flashing, making it impossible to use them in full screen. They blink very fast and you need to click on the correct timing to open the programs on the dock, for example. It is possible to click, but it is as if they were triggered several times, as if I were placing and removing the mouse from the corner very quickly.

I enter the program. Everything is OK. The problem arises when I use the fullscreen. Sometimes the docks and the top bar work perfectly for a while, and then they start flashing.

-----------------

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: gnome-shell 3.36.4-1ubuntu1~20.04.2
ProcVersionSignature: Ubuntu 5.4.0-54.60-generic 5.4.65
Uname: Linux 5.4.0-54-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.12
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: ubuntu:GNOME
Date: Sun Nov 22 14:07:57 2020
DisplayManager: gdm3
InstallationDate: Installed on 2020-07-24 (120 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
RelatedPackageVersions: mutter-common 3.36.6-1ubuntu0.20.04.2
SourcePackage: gnome-shell
UpgradeStatus: Upgraded to focal on 2020-10-23 (30 days ago)
mtime.conffile..etc.xdg.autostart.gnome-shell-overrides-migration.desktop: 2020-07-25T15:59:00.336431
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu27.12
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: ubuntu:GNOME
DisplayManager: gdm3
DistroRelease: Ubuntu 20.04
InstallationDate: Installed on 2020-07-24 (121 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
Package: gnome-shell 3.36.4-1ubuntu1~20.04.2
PackageArchitecture: amd64
ProcVersionSignature: Ubuntu 5.4.0-54.60-generic 5.4.65
RelatedPackageVersions: mutter-common 3.36.6-1ubuntu0.20.04.2
Tags: focal
Uname: Linux 5.4.0-54-generic x86_64
UpgradeStatus: Upgraded to focal on 2020-10-23 (30 days ago)
UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare
_MarkForUpload: True
mtime.conffile..etc.xdg.autostart.gnome-shell-overrides-migration.desktop: 2020-07-25T15:59:00.336431

Revision history for this message
sepukkuhero (sepukkuhero) wrote :
description: updated
Changed in gnome-shell (Ubuntu):
assignee: nobody → SepukkuHero (sepukkuhero)
assignee: SepukkuHero (sepukkuhero) → nobody
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Thanks for the bug report. Because so many bugs are caused by extensions the first thing we ask is for you to uninstall all of these:

'<email address hidden>', '<email address hidden>', '<email address hidden>', '<email address hidden>', '<email address hidden>', '<email address hidden>', '<email address hidden>', '<email address hidden>', '<email address hidden>', '<email address hidden>', '<email address hidden>', '<email address hidden>', '<email address hidden>'

Then tell us if if the problem still occurs. If it doesn't then next please enable just Ubuntu Dock and tell us if the problem happens with only that extension.

Changed in gnome-shell (Ubuntu):
status: New → Incomplete
Revision history for this message
sepukkuhero (sepukkuhero) wrote :

I uninstalled all the extensions mentioned. I also disabled all of them and left only the default Ubuntu Dock.

The problem continues to happen in full screen, despite being apparently more stable.

Revision history for this message
sepukkuhero (sepukkuhero) wrote :

Previously I had a problem with double docks at the same time (ubuntu dock and dash to dock)... I solved this problem, but maybe it is related to this new problem?

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

Yes having double docks is known to cause bugs. But if you have disabled the above extensions then you shouldn't have double docks at all.

To verify, if the bug is still occurring then please now run:

  gsettings list-recursively org.gnome.shell > shellsettings.txt

and attach the resulting text file here.

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

Please also run:

  lspci -kv > lspci.txt

and attach the resulting text file here.

Revision history for this message
sepukkuhero (sepukkuhero) wrote :

First of all, thanks for the effort in helping me.

The double docks problem was solved by me, but I don't know if there were any side effects.

Do I paste the commands in the terminal? I did but nothing happened. It only appears when I put the content before ">"

Revision history for this message
sepukkuhero (sepukkuhero) wrote :

Here we go. shellsettings.txt

Revision history for this message
sepukkuhero (sepukkuhero) wrote :

lspci.txt

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

Thanks. That shows you still have two docks enabled simultaneously, but also a lot of extensions that we don't support and may cause problems:

'<email address hidden>', '<email address hidden>', '<email address hidden>', '<email address hidden>', '<email address hidden>', '<email address hidden>', '<email address hidden>', '<email address hidden>', '<email address hidden>', '<email address hidden>', '<email address hidden>', '<email address hidden>', '<email address hidden>'

Please uninstall/disable all but the last one, then log out and in again. Does the problem still occur? If so then please next run:

  apport-collect 1905186

tags: added: amdgpu
Revision history for this message
sepukkuhero (sepukkuhero) wrote : Dependencies.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
sepukkuhero (sepukkuhero) wrote : GsettingsChanges.txt

apport information

Revision history for this message
sepukkuhero (sepukkuhero) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
sepukkuhero (sepukkuhero) wrote : ProcEnviron.txt

apport information

Revision history for this message
sepukkuhero (sepukkuhero) wrote : ShellJournal.txt

apport information

Revision history for this message
sepukkuhero (sepukkuhero) wrote : modified.conffile..etc.xdg.autostart.gnome-shell-overrides-migration.desktop.txt

apport information

Revision history for this message
sepukkuhero (sepukkuhero) wrote : Re: dock and top bar flashing non-stop at fullscreen

All of the above were previously uninstalled. There were some left unmentioned and I just removed them all. The problem continues to happen even after the session ends. In addition, this problem occurs with both my integrated graphics card and the GPU.

I executed your command and sent a full report.

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

Thanks but that still shows you have a lot of extensions enabled, so let's forcefully clean them out:

  cd ~/.local/share/gnome-shell
  rm -rf extensions
  gsettings reset org.gnome.shell enabled-extensions

then log out and log in again. Does the problem still occur?

Revision history for this message
sepukkuhero (sepukkuhero) wrote :

The last command resulted in this error:

"failed to commit changes to dconf: Não foi possível iniciar automaticamente o D-Bus sem X11 $DISPLAY"

Something like: "D-Bus could not be started automatically without X11 $ DISPLAY"

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

You probably need to be logged into a graphical session before that last command will work.

Revision history for this message
sepukkuhero (sepukkuhero) wrote :

I tried to perform with administrator privileges on both "Ubuntu" (default) and "GNOME Xorg". In both it was not possible. But I managed to do it without being an admin, even though nothing came up.

Revision history for this message
sepukkuhero (sepukkuhero) wrote :

The problem persists, btw.

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

OK, I want to be completely sure the extensions have been cleaned out. Please now run:

  gsettings list-recursively org.gnome.shell > shellsettings22.txt
  ls ~/.local/share/gnome-shell/ > local22.txt

and attach the resulting text files.

Revision history for this message
sepukkuhero (sepukkuhero) wrote :
Revision history for this message
sepukkuhero (sepukkuhero) wrote :
Revision history for this message
sepukkuhero (sepukkuhero) wrote :

I uninstalled all extensions. They don't appear anywhere: "tweak tools"; "gnome extensions" website or "extensions".

I tried to find the extension files inside ".local> share> gnome-shell> extensions" and I didn't find anything either, even with the function to see hidden files...

Revision history for this message
sepukkuhero (sepukkuhero) wrote :

Is there any way to reset gnome? I have no idea what's going on.

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

The attachment in comment #25 shows you still have local extensions installed. Please wipe them by running:

  cd ~/.local/share/gnome-shell
  rm -rf extensions

and then log out and in again. Does the bug still happen?

If for any reason you want to reset ALL your settings to the "factory defaults" then the easiest way to do that is:

  dconf reset -f /

That will reset all your settings, but it won't affect your personal files.

Revision history for this message
sepukkuhero (sepukkuhero) wrote :

Okay, I've made significant progress. With the reset I was able to remove the traces from the extensions. I will resend the new "shellsettings22.txt".

I add that I found on the internet something similar to the problem I have: https://github.com/micheleg/dash-to-dock/issues/298

The difference is that my problem persists in different programs (firefox, evince)...

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

Your shellsettings/gsettings actually are not a problem anymore. The last problem I can see is that you have local extensions installed in your home directory, which is not part of your "settings". Please wipe them by running:

  cd ~/.local/share/gnome-shell
  rm -rf extensions

and then log out and in again. Does the bug still happen? If so then please run:

  ls ~/.local/share/gnome-shell/extensions/ > localext29.txt

and attach the resulting text file here.

Revision history for this message
sepukkuhero (sepukkuhero) wrote :

There, I executed the commands. The "extensions" folder disappears afterwards, right?

When installing the dash to dock, to avoid conflict between the docks, what would be the appropriate procedure?

Revision history for this message
sepukkuhero (sepukkuhero) wrote :

The extensions folder no longer exists...

Revision history for this message
sepukkuhero (sepukkuhero) wrote :
Revision history for this message
sepukkuhero (sepukkuhero) wrote :

Okay. The same problem with the flashing dock happened in all cases. Before I reinstalled "Dash to Dock", I managed to reproduce the problem as in the video above. Then, I installed the aforementioned extension (I disabled the Ubuntu dock previously to avoid conflicts) and tested both Dash to Dock on my own and Ubuntu Dock. Both had the same problem.

Attached is the information requested.

Revision history for this message
sepukkuhero (sepukkuhero) wrote :

The impression I have is: maybe some extension (possibly hide top bar) or configuration changed something more intrinsic to the system, which was preserved even after the reset etc.

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

I'm not convinced you have a clean setup yet. Please don't install Dash to Dock, or any extensions, while working on this bug.

Please delete it all again:

  cd ~/.local/share/gnome-shell
  rm -rf extensions

and then log out and in again. Do not install any extensions. Now does the bug still occur after you have logged out and in again? If it does then please run:

  ls ~/.local/share/gnome-shell/extensions/ >& localext34.txt

and attach the resulting text file here.

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

Please also run:

  dpkg -l | grep gnome-shell > packages.txt

and attach the resulting text file here.

Revision history for this message
sepukkuhero (sepukkuhero) wrote :

Ok, sorry.

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

OK, thanks. I forgot something...

Now that you only have Ubuntu extensions installed please start disabling those via the Extensions app. Log out and in again afterwards to be sure.

Then when you're using gnome-shell without any extensions does the bug still occur? If so then please run:

  gsettings list-recursively org.gnome.shell > shellsettings40.txt

and attach the resulting text file here.

Revision history for this message
sepukkuhero (sepukkuhero) wrote :

I'm going to sleep. Thank you again.

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

Thanks. That shows you still have the Ubuntu Dock enabled. Please disable it in the Extensions app and then tell us if this bug still occurs.

Revision history for this message
sepukkuhero (sepukkuhero) wrote :

How will I check without a dock?

Revision history for this message
sepukkuhero (sepukkuhero) wrote :

An error symbol also appears in the "Shell" in GNOME tweaks, even after reset etc.

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

Gnome Shell comes with its own dock which is hidden by default and appears when you click Activities or press the Windows key.

Please disable Ubuntu Dock in the Extensions app and then tell us if this bug still occurs.

Revision history for this message
sepukkuhero (sepukkuhero) wrote :

Well, with this limited dock I can't reproduce the bug because it leaves the fullscreen.

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

Yeah I guess I should have expected that, thanks.

affects: gnome-shell (Ubuntu) → gnome-shell-extension-ubuntu-dock (Ubuntu)
Changed in gnome-shell-extension-ubuntu-dock (Ubuntu):
status: Incomplete → New
Revision history for this message
sepukkuhero (sepukkuhero) wrote :

Any additional procedures to gather more information about the bug?

Changed in gnome-shell-extension-ubuntu-dock (Ubuntu):
status: New → Fix Committed
assignee: nobody → sepukkuhero (sepukkuhero)
assignee: sepukkuhero (sepukkuhero) → nobody
status: Fix Committed → New
summary: - dock and top bar flashing non-stop at fullscreen
+ FIXED!!! dock and top bar flashing non-stop at fullscreen
description: updated
description: updated
Changed in gnome-shell-extension-ubuntu-dock (Ubuntu):
status: New → Incomplete
status: Incomplete → New
Revision history for this message
sepukkuhero (sepukkuhero) wrote :

Actually not fixed :(

description: updated
summary: - FIXED!!! dock and top bar flashing non-stop at fullscreen
+ dock and top bar flashing non-stop at fullscreen
Revision history for this message
sepukkuhero (sepukkuhero) wrote :

Update: the problem only happens in the session with xorg (gnome or ubuntu) ...

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

It's not surprising this bug would only affect Xorg sessions because only Xorg sessions supported the fullscreen unredirect optimization, until recently.

no longer affects: xorg (Ubuntu)
summary: - dock and top bar flashing non-stop at fullscreen
+ dock and top bar flashing non-stop at fullscreen in Xorg sessions
Revision history for this message
Daniel van Vugt (vanvugt) wrote (last edit ):

In progress upstream:
https://github.com/micheleg/dash-to-dock/pull/2149

Also I have deleted tasks for the now unsupported deb versions of some extensions.

no longer affects: gnome-shell-extension-dashtodock (Ubuntu)
no longer affects: gnome-shell-extension-autohidetopbar (Ubuntu)
no longer affects: gnome-shell-extension-dash-to-panel (Ubuntu)
Changed in gnome-shell-extension-ubuntu-dock (Ubuntu):
status: New → Confirmed
To post a comment you must log in.