Elinvention / gnome-shell-extension-nasa-apod

Change your wallpaper daily to the NASA's astronomy picture of the day
https://extensions.gnome.org/extension/1202/nasa-apod/
GNU General Public License v3.0
119 stars 21 forks source link

Set Wallpaper button not working #72

Open vandalt opened 1 month ago

vandalt commented 1 month ago

Hi,

I've been having the issue described below since I installed the extension. I remember it worked in previous version of GNOME (can't remember if it was before GNOME 40 or not).

Thanks!

Describe the bug

When clicking "set wallpaper" in the dropdown, nothing happens. Setting the wallpaper by selecting it in the history does work as expected.

To Reproduce

Steps to reproduce the behavior:

  1. Click on the Saturn icon in the top bar
  2. Click on Set wallpaper
  3. Drop down closes but no window opens

Expected behavior

The window to select wallpaper should appear

Operating system with version

For example:

Arch Linux

GNOME Shell version

GNOME 46

Installation method

I tried https://extensions.gnome.org/extension/1202/nasa-apod/ and installing directly via Git.

Logs <- VERY IMPORTANT

I tried journalctl -f /usr/bin/gnome-shell and this is what I got. No entry seems to be added when I click "Set Wallpaper" (whichdoes not work) or Settings (which does work). The buttons that trigger external programs do add an entry (open folder or open APOD website).

Aug 08 14:42:31 yoga gnome-shell[1815]: meta_dbus_session_manager_uninhibit: assertion 'priv->inhibit_count > 0' failed
Aug 08 14:42:42 yoga gnome-shell[1815]: Could not open device /dev/input/event25: GDBus.Error:System.Error.ENODEV: No such device
Aug 08 14:44:12 yoga gnome-shell[1815]: meta_window_set_stack_position_no_sync: assertion 'window->stack_position >= 0' failed
Aug 08 14:46:53 yoga gnome-shell[1815]: Window manager warning: Ping serial 5638389 was reused for window W6, previous use was for window W0.
Aug 08 14:47:11 yoga gnome-shell[1815]: meta_window_set_stack_position_no_sync: assertion 'window->stack_position >= 0' failed
Aug 08 14:47:57 yoga gnome-shell[1815]: NASA APOD extension: xdg-open https://apod.nasa.gov/apod/
Aug 08 14:47:59 yoga gnome-shell[1815]: Window manager warning: Ping serial 5704226 was reused for window W0, previous use was for window W6.
Aug 08 14:48:01 yoga gnome-shell[1815]: Window manager warning: Ping serial 5706790 was reused for window W6, previous use was for window W0.
Aug 08 14:48:06 yoga gnome-shell[1815]: NASA APOD extension: xdg-open /home/vandal/Pictures/wallpapers/apod/
Aug 08 14:48:08 yoga gnome-shell[1815]: Window manager warning: Ping serial 5713256 was reused for window W6, previous use was for window W11.

Extension's settings

Output of gsettings --schemadir ~/.local/share/gnome-shell/extensions/nasa_apod@elinvention.ovh/schemas/ list-recursively org.gnome.shell.extensions.nasa-apod.

org.gnome.shell.extensions.nasa-apod api-keys ['XKSoS8Bv05ij8JH8UWa7eqMavXgGfFStcc6Pu3KH', 'jCUjMOBpL523SxLoi4PogFZ3YsvvFtVNyEvRd0IB']
org.gnome.shell.extensions.nasa-apod background-options 'default'
org.gnome.shell.extensions.nasa-apod download-folder '/home/vandal/Pictures/wallpapers/apod/'
org.gnome.shell.extensions.nasa-apod hide false
org.gnome.shell.extensions.nasa-apod image-resolution 'hd'
org.gnome.shell.extensions.nasa-apod image-resolution-metered 'lowres'
org.gnome.shell.extensions.nasa-apod last-json '{"copyright":"\\nDonato Lioce; \\nText: Natalia Lewandowska \\n(SUNY Oswego)\\n","date":"2024-08-07","explanation":"To some, they look like battlements, here protecting us against the center of the Milky Way. The Three Merlons, also called the Three Peaks of Lavaredo, stand tall today because they are made of dense dolomite rock which has better resisted erosion than surrounding softer rock. They formed about 250 million years ago and so are comparable in age with one of the great extinctions of life on Earth. A leading hypothesis is that this great extinction was triggered by an asteroid about 10-km across, larger in size than Mount Everest, impacting the Earth. Humans have gazed up at the stars in the Milky Way and beyond for centuries, making these battlefield-like formations, based in the Sexten Dolomites, a popular place for current and ancient astronomers.","hdurl":"https://apod.nasa.gov/apod/image/2408/DolomitesSky_Lioce_4681.jpg","media_type":"image","service_version":"v1","title":"Milky Way Behind Three Merlons","url":"https://apod.nasa.gov/apod/image/2408/DolomitesSky_Lioce_960.jpg"}\n'
org.gnome.shell.extensions.nasa-apod last-refresh uint64 1723133029124
org.gnome.shell.extensions.nasa-apod notify true
org.gnome.shell.extensions.nasa-apod pinned-background '2024-08-07-Milky Way Behind Three Merlons.jpg'
org.gnome.shell.extensions.nasa-apod refresh-metered false
org.gnome.shell.extensions.nasa-apod set-background true
org.gnome.shell.extensions.nasa-apod transient true