pop-os / beta

Pop!_OS Beta
359 stars 19 forks source link

22.04: Wallpaper switching behavior seems off #230

Closed Sadin closed 2 years ago

Sadin commented 3 years ago

How did you upgrade to 21.10? (Fresh install / Upgrade)

Fresh install 21.10 + Nvidia Drivers

Related Application and/or Package Version (run apt policy $PACKAGE NAME):

GNOME, GNOME Shell

Issue/Bug Description:

Wallpaper doesn't switch on actual desktop when selected in GNOME, but switches in workspace view. Don't believe this is strictly upstream as I have GNOME40 + Fedora 34 running on my Thinkpad.

Examples: https://imgur.com/a/0CBDfjd

alt text alt text

Steps to reproduce (if you know):

Attempt to swap wallpapers

Expected behavior:

Wallpaper should swap when selected.

Other Notes:

Have rebooted, this is post fresh install, no changes has been made no packages added. Did not test if this happened in live preview from flash drive.

Sadin commented 3 years ago

Updating packages post install issue persists

jacobgkau commented 3 years ago

Not seeing this in NVIDIA mode on an oryp8 or galp5. Tried with an external display connected and configured above the internal display. Also tried after opening Firefox like the screenshot shows.

Sadin commented 3 years ago

Guess I should be more clear, this is on a custom machine. Reboot the wallpaper swaps but has the same behavior when needing swapping ( reboot required for it to change on desktop )

hwinfo --short
cpu:                                                            
                       Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz, 3600 MHz
                       Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz, 3600 MHz
                       Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz, 3600 MHz
                       Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz, 3600 MHz
                       Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz, 3600 MHz
                       Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz, 3600 MHz
                       Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz, 5000 MHz
                       Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz, 3600 MHz
                       Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz, 3600 MHz
                       Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz, 3600 MHz
                       Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz, 3600 MHz
                       Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz, 3600 MHz
                       Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz, 2125 MHz
                       Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz, 2416 MHz
                       Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz, 3600 MHz
                       Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz, 3600 MHz
keyboard:
                       Logitech USB Receiver
  /dev/input/event4    CannonKeys Instant60
mouse:
  /dev/input/mice      CannonKeys Instant60
                       Logitech USB Receiver
  /dev/input/mice      Corsair Gaming SCIMITAR PRO RGB Mouse
monitor:
                       VG27A
                       DELL Dell U4919DW
graphics card:
                       nVidia GP104 [GeForce GTX 1080]
sound:
                       Intel 200 Series PCH HD Audio
                       nVidia GP104 High Definition Audio Controller
storage:
                       Samsung Electronics NVMe SSD Controller SM981/PM981/PM983
                       Intel 200 Series PCH SATA controller [AHCI mode]
                       Samsung Electronics NVMe SSD Controller SM961/PM961
network:
  enp2s0f0             Hewlett-Packard Company Ethernet 10Gb 2-port 530SFP+ Adapter
  enp2s0f1             Hewlett-Packard Company Ethernet 10Gb 2-port 530SFP+ Adapter
  enp0s31f6            Intel Ethernet Connection (2) I219-V
network interface:
  lo                   Loopback network interface
  enp2s0f1             Ethernet network interface
  enp2s0f0             Ethernet network interface
  enp0s31f6            Ethernet network interface
disk:
  /dev/nvme0n1         Samsung Electronics NVMe SSD Controller SM981/PM981/PM983
  /dev/sdb             WD My Passport 25E2
  /dev/sdc             JetFlash Transcend 32GB
  /dev/nvme1n1         Samsung Electronics NVMe SSD Controller SM961/PM961
  /dev/sda             Samsung SSD 860
partition:
  /dev/nvme0n1p1       Partition
  /dev/nvme0n1p2       Partition
  /dev/sdb1            Partition
  /dev/sdc1            Partition
  /dev/sdc2            Partition
  /dev/sdc3            Partition
  /dev/nvme1n1p1       Partition
  /dev/nvme1n1p2       Partition
  /dev/nvme1n1p3       Partition
  /dev/nvme1n1p4       Partition
  /dev/sda1            Partition
  /dev/sda2            Partition
usb controller:
                       ASMedia ASM2142 USB 3.1 Host Controller
                       Intel 200 Series/Z370 Chipset Family USB 3.0 xHCI Controller
bios:
                       BIOS
bridge:
                       Intel 200 Series PCH PCI Express Root Port #1
                       Intel Z370 Chipset LPC/eSPI Controller
                       Intel Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor PCIe Controller (x16)
                       Intel 200 Series PCH PCI Express Root Port #17
                       Intel 8th Gen Core 8-core Desktop Processor Host Bridge/DRAM Registers [Coffee Lake S]
                       Intel Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor PCIe Controller (x8)
                       Intel 200 Series PCH PCI Express Root Port #9
                       Intel 200 Series PCH PCI Express Root Port #5
hub:
                       Terminus Hub
                       Linux Foundation 2.0 root hub
                       Linux Foundation 3.0 root hub
                       Linux Foundation 2.0 root hub
                       Linux Foundation 3.0 root hub
memory:
                       Main Memory
unknown:
                       FPU
                       DMA controller
                       PIC
                       Keyboard controller
                       Intel 200 Series/Z370 Chipset Family Power Management Controller
                       Intel 200 Series PCH CSME HECI #1
                       Intel 200 Series/Z370 Chipset Family SMBus Controller
                       Serial controller
                       RME Fireface UFX II (23866594)
                       Corsair Gaming SCIMITAR PRO RGB Mouse
                       Corsair H115i Platinum
                       Apple Watch Magnetic Charging Cable
                       Logitech USB Receiver
leviport commented 2 years ago

I'm also seeing happen. I recorded a video of what it looks like when it is happening on darp6:

https://user-images.githubusercontent.com/13512097/138529925-812eb03e-247b-4a5f-af30-02af699432c8.mp4

As you can see, I have windows on 3 different workspaces. Gnome-terminal is open on the first, Firefox (and SimpleScreenRecorder, which wasn't opened until I saw the bug happen) open on the second, and Gnome Control Center on the third.

It wasn't happening when I first booted this machine, but it started happening after I connected and disconnected an external display. Restarting gnome-shell reliably makes it go away.

rdrms commented 2 years ago

I can confirm this issue, I'm running a Ratel Performance (2013) but with AMD graphics card (RX 570). I upgraded from 21.04 using pop-upgrade, and my first guess was that the wallpaper functionality provided by the custom Pop! "Desktop settings" is disconnected from dconf.

But this is not the case, running "gsettings set org.gnome.desktop.background picture-uri "file:///home/user/Pictures/Wallpaper/example.png" Ends up changing the desktop wallpaper shown in the Pop! Desktop settings window, instead of actually changing the wallpaper.

Other thing I tried was disabling all the (GNOME) extensions one by one, even with them all turned off I still couldn't get the wallpaper to change.

I ran gnome-control-center in verbose mode in terminal but the only message when changing backgrounds was:

(gnome-control-center:19105): dconf-DEBUG: 09:05:31.397: change_fast

(gnome-control-center:19105): dconf-DEBUG: 09:05:31.397: change_notify: /org/gnome/desktop/background/

(gnome-control-center:19105): dconf-DEBUG: 09:05:31.398: change_fast

(gnome-control-center:19105): dconf-DEBUG: 09:05:31.398: change_notify: /org/gnome/desktop/screensaver/

I just saw the linked bug where it changes in workspaces and I can confirm the change exists there, just not on the main desktop screen.

rdrms commented 2 years ago

I can't sleep but may have found something that helps determine where the bug is, as well as a workaround!

The issue is definitely with the extension "Desktop Icons NG (DING)", I have successfully got the wallpaper to change to the correct one (from the default) by disabling this extension in the Extensions program, and then restarting GNOME Shell (alt+F2, type "r" and hit enter).

Hopefully this helps in fixing it.

inffy commented 2 years ago

If you update the extensioon throug extensions.gnome.org it seems to fix this behaviour

jackpot51 commented 2 years ago

I will pull updates from DING into our packaged version

jackpot51 commented 2 years ago

Pushed to https://github.com/pop-os/desktop-icons-ng/tree/master

jackpot51 commented 2 years ago

I am not seeing this anymore after updating DING

leviport commented 2 years ago

Looks like this is back in Jammy

XV-02 commented 2 years ago

The failure the change seems to persist across gnome-shell and gdm restarts, a full system reboot, and even a shutdown and boot. It is present on both fresh installs and updates.

lukeofthetauri commented 2 years ago

I'd like to note that it seems this only affects dark theme- I am able to change the background when I am using light mode, but going back to dark keeps the wallpaper set from light-theme.

jackpot51 commented 2 years ago

@ids1024 I patched gnome-shell to use the light theme background. We should either have gnome-control-center only use the light theme background, or remove that patch from gnome-shell and set a default dark theme background in pop-session

jackpot51 commented 2 years ago

Should be fixed in https://github.com/pop-os/gnome-shell/pull/95 and https://github.com/pop-os/desktop/pull/83