my-weather-indicator widgets appear in the wrong position in a Wayland session

Bug #2057964 reported by IngPaolo
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mutter (Ubuntu)
Triaged
Low
Unassigned

Bug Description

On my Ububtu 22.04.4 system, NVDIA GeForce GT710, my-weather-indicator does not show widget as they should be (move them across desktop, positioning, showing on all desktop, etc.), but are shown as windows, impossible to move from the position they have when shown.
If I switch my drivers to nvdia-driver-470, surprise!: everything works as expected, widgets are really widgets and I can see weather information on every desktop, in the position I placed them.
The problem is that I can't use nvdia-driver-470 because they let crash my digital signature application, which is more important to me than weather info, so I have to use xorg-server, but I would like it to work correctly with widgets as well.
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
DistroRelease: Ubuntu 22.04
InstallationDate: Installed on 2024-03-03 (12 days ago)
InstallationMedia: Ubuntu 22.04.4 LTS "Jammy Jellyfish" - Release amd64 (20240220)
NonfreeKernelModules: nvidia_modeset nvidia
Package: gnome-shell-extension-appindicator 42-2~fakesync1
PackageArchitecture: all
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=it_IT.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 6.5.0-25.25~22.04.1-generic 6.5.13
Tags: jammy
Uname: Linux 6.5.0-25-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo vboxusers
_MarkForUpload: True
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
DistroRelease: Ubuntu 22.04
InstallationDate: Installed on 2024-03-03 (12 days ago)
InstallationMedia: Ubuntu 22.04.4 LTS "Jammy Jellyfish" - Release amd64 (20240220)
Package: gnome-shell-extension-appindicator 42-2~fakesync1
PackageArchitecture: all
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=it_IT.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 6.5.0-25.25~22.04.1-generic 6.5.13
Tags: jammy wayland-session
Uname: Linux 6.5.0-25-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo vboxusers
_MarkForUpload: True

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

Thanks for the bug report. Please attach a screenshot of the problem and also run this command to automatically gather more system information:

  apport-collect 2057964

affects: xorg-server (Ubuntu) → gnome-shell-extension-appindicator (Ubuntu)
tags: added: jammy nvidia
Changed in gnome-shell-extension-appindicator (Ubuntu):
status: New → Incomplete
Revision history for this message
IngPaolo (ingpaolo) wrote : Dependencies.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
IngPaolo (ingpaolo) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
IngPaolo (ingpaolo) wrote : Dependencies.txt

apport information

tags: added: wayland-session
description: updated
Revision history for this message
IngPaolo (ingpaolo) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
IngPaolo (ingpaolo) wrote : Re: xserver for NVDIA GeForce GT710 not showing widgets but windows

I've executed the command "apport-collect 2057964" twice: the first with nvdia-driver-470, the second with xorg-xserver driver.
I've also got two screenshots.
In this first screenshot you can see that in the side bar do not appear any my-weather-indicator window and the two gadgets showing weather in two different italian cities are positioned on the right side of my desktop. These widgets appear in every other desktop I use.

Revision history for this message
IngPaolo (ingpaolo) wrote (last edit ):

In this second screenshot you can see that in the side bar appear two my-weather-indicator windows (showing weather in the same italian cities); they are stuck in the upper left corner (i.e. they cannot be moved) and they appear only in the desktop where they were opened.

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

Thanks. You reported the original bug from a Wayland session. Please try logging out and then selecting the Xorg session on the login screen. Does the bug still occur?

I suspect that's the main issue here. Not the presence of nvdia-driver-470 directly, but it will change what default session type you get. nvdia-driver-470 will force a Xorg session by default which allows apps to place windows/widgets themselves. Not having an Nvidia driver installed, you will get a Wayland session and apps are not allowed to position themselves (although I thought gnome-shell had a workaround for that for compatibility with Xwayland).

Please:

1. Uninstall nvdia-driver-470

2. Reboot

3. On the login screen select 'Ubuntu on Xorg' instead of the default 'Ubuntu' option.

summary: - xserver for NVDIA GeForce GT710 not showing widgets but windows
+ Weather widgets appear in the wrong position in a Wayland session
affects: gnome-shell-extension-appindicator (Ubuntu) → mutter (Ubuntu)
Revision history for this message
IngPaolo (ingpaolo) wrote (last edit ): Re: Weather widgets appear in the wrong position in a Wayland session

Good news: "Ubuntu on Xorg" does the job.
I had already uninstalled nvdia-driver-470 in order to use my digital signature application (which does not work with them).
So I've simply started a new session, logged in with "Ubuntu on Xorg": now weather widgets works as they are supposed to do (as you said) and my digital signature application works fine as well.

Changed in mutter (Ubuntu):
status: Incomplete → New
summary: - Weather widgets appear in the wrong position in a Wayland session
+ my-weather-indicator widgets appear in the wrong position in a Wayland
+ session
Changed in mutter (Ubuntu):
importance: Undecided → Low
status: New → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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