Bug 457993 - installing digikam (+dependencies) breaks panel launcher widgets
Summary: installing digikam (+dependencies) breaks panel launcher widgets
Status: RESOLVED DOWNSTREAM
Alias: None
Product: plasmashell
Classification: Plasma
Component: Icon widget (other bugs)
Version First Reported In: 5.24.4
Platform: Kubuntu Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL: https://bugs.launchpad.net/ubuntu/+so...
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-17 12:38 UTC by Gavin
Modified: 2022-11-04 16:11 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gavin 2022-08-17 12:38:02 UTC
SUMMARY
***
Installing digikam (+dependencies) to a fresh kubuntu 22.04.01 install breaks panel widgets

NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. Fresh install (minimal install) of kubuntu 22.04.01
2. Add konsole as a panel widget (from app launcher menu, right click on konsole, select "Add to Panel (widget)"
3. Launch konsole using that widget, install digikam (sudo apt install digikam)

OBSERVED RESULT
After installing digikam + dependencies, the panel widget will no longer launch konsole. There is no error message / popup. Tested also for other apps (firefox), same result.
The apps can still be launched from a desktop widget, from the app launcher menu, or if pinned to the taskbar. Only the panel widget appears broken.

EXPECTED RESULT
The panel widget should still launch the app after installing digikam.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: kubuntu 22.04.01
(available in About System)
KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.3

ADDITIONAL INFORMATION
List of dependencies also installed:

$ sudo apt install digikam
[sudo] password for hesketh: 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  digikam-data digikam-private-libs gdal-data libaec0 libarmadillo10 libarpack2 libastro1 libavdevice58
  libblosc1 libcdio-cdda2 libcdio-paranoia2 libcharls2 libfreexl1 libfyba0 libgdal30 libgdcm3.0 libgeos-c1v5
  libgeos3.10.2 libgeotiff5 libhdf4-0-alt libhdf5-103-1 libhdf5-hl-100 libkf5akonadi-data
  libkf5akonadicontact-data libkf5akonadicontact5abi1 libkf5akonadicore-bin libkf5akonadicore5abi2
  libkf5akonadiprivate5abi2 libkf5akonadiwidgets5abi1 libkf5calendarcore5abi2 libkf5contacteditor5
  libkf5grantleetheme-data libkf5grantleetheme-plugins libkf5grantleetheme5 libkf5libkleo5abi1
  libkf5mime-data libkf5mime5abi2 libkf5pimtextedit-data libkf5pimtextedit5abi3 libkmlbase1 libkmldom1
  libkmlengine1 liblensfun-data-v1 liblensfun1 libmagick++-6.q16-8 libmarblewidget-qt5-28 libmysqlclient21
  libnetcdf19 libodbc2 libodbcinst2 libogdi4.1 libopencv-core4.5d libopencv-dnn4.5d libopencv-imgcodecs4.5d
  libopencv-imgproc4.5d libopencv-ml4.5d libpq5 libproj22 libprotobuf23 libqgpgme7 libqhull-r8.0
  libqt5serialport5 libqt5sql5-mysql libqtav1 libqtavwidgets1 librttopo1 libshp2 libsocket++1 libspatialite7
  libsuperlu5 libsz2 libtbb2 libtbbmalloc2 liburiparser1 libxerces-c3.2 marble-plugins marble-qt-data
  mysql-common opencv-data proj-bin proj-data unixodbc-common wslu
Suggested packages:
  digikam-doc geotiff-bin gdal-bin libgeotiff-epsg libhdf4-doc libhdf4-alt-dev hdf4-tools akonadi-server
  odbc-postgresql tdsodbc ogdi-bin imagemagick
The following NEW packages will be installed
  digikam digikam-data digikam-private-libs gdal-data libaec0 libarmadillo10 libarpack2 libastro1
  libavdevice58 libblosc1 libcdio-cdda2 libcdio-paranoia2 libcharls2 libfreexl1 libfyba0 libgdal30
  libgdcm3.0 libgeos-c1v5 libgeos3.10.2 libgeotiff5 libhdf4-0-alt libhdf5-103-1 libhdf5-hl-100
  libkf5akonadi-data libkf5akonadicontact-data libkf5akonadicontact5abi1 libkf5akonadicore-bin
  libkf5akonadicore5abi2 libkf5akonadiprivate5abi2 libkf5akonadiwidgets5abi1 libkf5calendarcore5abi2
  libkf5contacteditor5 libkf5grantleetheme-data libkf5grantleetheme-plugins libkf5grantleetheme5
  libkf5libkleo5abi1 libkf5mime-data libkf5mime5abi2 libkf5pimtextedit-data libkf5pimtextedit5abi3
  libkmlbase1 libkmldom1 libkmlengine1 liblensfun-data-v1 liblensfun1 libmagick++-6.q16-8
  libmarblewidget-qt5-28 libmysqlclient21 libnetcdf19 libodbc2 libodbcinst2 libogdi4.1 libopencv-core4.5d
  libopencv-dnn4.5d libopencv-imgcodecs4.5d libopencv-imgproc4.5d libopencv-ml4.5d libpq5 libproj22
  libprotobuf23 libqgpgme7 libqhull-r8.0 libqt5serialport5 libqt5sql5-mysql libqtav1 libqtavwidgets1
  librttopo1 libshp2 libsocket++1 libspatialite7 libsuperlu5 libsz2 libtbb2 libtbbmalloc2 liburiparser1
  libxerces-c3.2 marble-plugins marble-qt-data mysql-common opencv-data proj-bin proj-data unixodbc-common
  wslu
0 to upgrade, 84 to newly install, 0 to remove and 12 not to upgrade.
Need to get 80.8 MB of archives.
After this operation, 277 MB of additional disk space will be used.
Comment 1 Nate Graham 2022-08-17 20:06:13 UTC
what on earth
Comment 2 Gavin 2022-08-18 09:24:46 UTC
(In reply to Nate Graham from comment #1)
> what on earth

Yeah... I've encountered this on three machines, using kubuntu 22.04 and 22.04.01. I found that doing an apt purge of digikam didn't fix the issue, and was not sure how to debug further.
Comment 3 Bharadwaj Raju 2022-10-25 14:55:56 UTC
Anything in logs? (Run "journalctl -f" then try clicking on the panel widget)
Comment 4 Gavin 2022-11-03 16:31:02 UTC
Thanks for this. I ran 
> journalctl -f
Opening a panel widget (konsole) before installing digikam gave this single line output:
Nov 03 16:25:12 hesketh-XPS-8920 systemd[1268]: Started Konsole - Terminal.

I then did
> apt install digikam

and, as before, the panel widget no longer works. The output from journalctl is again just one line, but now:
Nov 03 16:26:26 hesketh-XPS-8920 systemd[1268]: Started WSLView.

which is... different, but not sure why / what it means.
Comment 5 Gavin 2022-11-03 16:37:49 UTC
After a quick search, it seems to be related to this bug:
https://bugs.launchpad.net/ubuntu/+source/wslu/+bug/1971757

Removing wslu does solve the problem (and reinstalling wslu recreates the problem). wslu is installed as a digikam dependency, but it seems like wslu can then be uninstalled without affecting digikam.

So, I've "solved" my problem, but not sure this really counts as a fix!
Comment 6 Nate Graham 2022-11-04 16:11:22 UTC
Seems like a bug in that package, somehow.