Bug 459474

Summary: Nitrogen errors out in normal installation of kubuntu
Product: [Plasma] Breeze Reporter: Ashwani Sharma <ashwani>
Component: gtk themeAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: normal CC: agrinev98, nicolas.fella, uhhadd
Priority: NOR    
Version First Reported In: 5.18.8   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Ashwani Sharma 2022-09-21 06:18:49 UTC
Package: nitrogen
Architecture: amd64
Version: 1.6.1-2build1
Priority: extra
Section: universe/x11
Origin: Ubuntu

## STEPS TO REPRODUCE
1. Install nitrogen from default apt repo.
   ```sudo apt update -y && sudo apt install nitrogen -y```
1. Start nitrogen application and try to set a wallpaper. Or run `$nitrogen --restore` if `~/.config/nitrogen/*.cfg` exists

## OBSERVED RESULT
Wallpaper is not set and the following is logged 

```bash
(nitrogen:10679): Gtk-WARNING **: 11:42:50.471: Unable to locate theme engine in module_path: "adwaita",
UNKNOWN ROOT WINDOW TYPE DETECTED (plasmashell), please file a bug
UNKNOWN ROOT WINDOW TYPE DETECTED (plasmashell), please file a bug
WARNING: More than one Desktop window found:
        0x 1e0001b   3 plasmashell
        0x 1e00013   3 plasmashell
ERR: Could not load "image-loading" from icon theme, this indicates a problem with your Gtk/Gtkmm install.

(nitrogen:10679): Gtk-WARNING **: 11:43:20.507: Unable to locate theme engine in module_path: "adwaita",
```

EXPECTED RESULT
Set wallpaper

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 5.15.0-48-generic | Kubuntu 20.04
(available in About System)
KDE Plasma Version: 5.18.8
KDE Frameworks Version: 5.68.0
Qt Version: 5.12.8

ADDITIONAL INFORMATION
Comment 1 Nicolas Fella 2022-09-21 06:35:05 UTC
nitrogen is not compatible with how wallpapers in Plasma works

See https://github.com/l3ib/nitrogen/issues/110
Comment 2 Ashwani Sharma 2022-09-21 06:46:52 UTC
@Nicolas, thanks, I did came across this issue but wasn't much helpful.
Does KDE support any other cross distro/DE way of setting wallpaper?