Skip to content

Missing wallpaper #427

Open
Open
@kousu

Description

@kousu

Describe the bug

When workrave is blocking my screen, it shows a black background.

On an older system, it shows the wallpaper I set. I like that a lot! Looking at something aesthetically pleasing helps easing into a break. Maybe it's kind of vain, but this is probably the second or third top reason I keep the old system around instead of wiping it with something newer, because the comfyness of workrave makes my flow a lot more efficient there.

To Reproduce

  1. Set a wallpaper using your DE

    1. With i3, run feh --bg-fill ~/Pictures/path/to/wallpaper.png, and add

      ( [ -x ~/.fehbg ] && ~/.fehbg ) &
      

      to your ~/.xinitrc. Or use nitrogen, xwallpaper, or even xsetroot.

    2. With xfce, use the system settings GUI to set a background.

    3. With KDE, use the system settings GUI to set a background

    4. With GNOME, well, I didn't install enough of GNOME to be able to set a background, but it defaults to a blue background which I'd expect to count as a wallpaper and get picked up by Workrave.

  2. In Workrave, set "Block mode: Block input and screen"

    Screenshot

    workrave-nobg-blockscreen

  3. Wait for the Micro Break to trigger; or, manually trigger a Rest Break.

  4. You will see a black background, instead of the background managed by the DE.

Expected behavior

I'd like to see my wallpaper when the screen locks.

Screenshots

Here's i3:

workrave-nobg-i3.webm

Here's xfce:

workrave-nobg-xfce.webm

Linux Version:

  • Distribution: ArchLinux
  • Distribution Version: (rolling; so, latest, as of today)
  • Desktop Environment: i3, xfce4, GNOME, KDE (plasma-desktop)
  • Workrave Version: 1.10.50
$ cat /etc/os-release 
NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://bugs.archlinux.org/"
LOGO=archlinux-logo
$ pacman -Qi workrave
Name            : workrave
Version         : 1.10.50-1
Description     : Assist in the recovery and prevention of Repetitive Strain Injury (RSI)
Architecture    : x86_64
URL             : https://workrave.org/
Licenses        : GPL3
Groups          : None
Provides        : None
Depends On      : gstreamer  gtkmm3  libsm  libxss
Optional Deps   : gst-plugins-good: to play sound events [installed]
                  gnome-panel: Applet for GNOME Panel
                  mate-panel: Applet for MATE Panel
                  xfce4-panel: Applet for Xfce4 Panel [installed]
Required By     : kousu-device-nigiri
Optional For    : None
Conflicts With  : None
Replaces        : None
Installed Size  : 14.13 MiB
Packager        : Antonio Rojas <[email protected]>
Build Date      : Tue 05 Jul 2022 03:43:26 PM
Install Date    : Wed 03 Aug 2022 09:29:20 PM
Install Reason  : Installed as a dependency for another package
Install Script  : No
Validated By    : Signature

Additional context

The older system where the background is displayed is a Debian-derivative:

Linux Version:

  • Distribution: GalliumOS
  • Distribution Version: 3.1
  • Desktop Environment: xfce4
  • Workrave Version: 1.10.16
workrave-bg-xfce4.webm
$ cat /etc/os-release 
NAME="GalliumOS"
VERSION="3.1 (Bismuth)"
ID=galliumos
ID_LIKE="ubuntu debian"
PRETTY_NAME="GalliumOS 3.1"
VERSION_ID="3.1"
HOME_URL="https://galliumos.org/"
SUPPORT_URL="https://galliumos.org/"
BUG_REPORT_URL="https://https://github.com/GalliumOS/galliumos-distro/issues"
VERSION_CODENAME=bismuth
UBUNTU_CODENAME=bionic
$ apt policy workrave
workrave:
  Installed: 1.10.16-2ubuntu1
  Candidate: 1.10.16-2ubuntu1
  Version table:
 *** 1.10.16-2ubuntu1 500
        500 http://ca.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
        100 /var/lib/dpkg/status

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: gtkGtk UIbugSomething isn't workingos: linuxLinux specific

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions