Package: krusader
Version: 2:2.9.0-2
Severity: important

Dear Maintainer,

Krusader cannot remember file associations and shows an empty dialog box when
trying to open files, it seems that the reason is that the following file
does not exist: /etc/xdg/menus/applications.menu


Steps to reproduce:

1. Install krusader on Debian Sid without a full KDE Plasma environment
2. Launch Krusader
3. Try to open a PDF file (for instance) by pressing Enter
4. The "Open with" dialog appears empty with no applications listed
5. Enter /usr/bin/evince in the dialog box, or navigate to this file
6. Enable the option to remember the filetype association
7. Krusader launches evince correctly
8. But next time one tries step number 3 (open a PDF), same behaviour happens
9. Krusader creates phantom .desktop files (evince-2.desktop, evince-3.desktop,
   etc.)
6. File associations are never saved


Expected behavior:

The dialog should show available applications and remember the user's choice.


Solution:

Creating this symlink fixes the issue:
  sudo ln -s /etc/xdg/menus/plasma-applications.menu 
/etc/xdg/menus/applications.menu


After creating the symlink and running "kbuildsycoca6 --noincremental",
Krusader works correctly.


Suggested fix:

The krusader package should either:

- Create this symlink in postinst script
- Or add a dependency/recommendation that ensures it exists
- Or patch Krusader to look for plasma-applications.menu as a fallback


Thanks in advance for the maintenance job!
Best regards,
Pierre


-- System Information:
Debian Release: forky/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.18.9+deb14-amd64 (SMP w/22 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages krusader depends on:
ii  kio6                       6.20.0-1
ii  kwallet6                   6.20.0-1
ii  libacl1                    2.3.2-2+b2
ii  libc6                      2.42-13
ii  libkf6archive6             6.20.0-1
ii  libkf6bookmarks6           6.20.0-1
ii  libkf6bookmarkswidgets6    6.20.0-1
ii  libkf6codecs6              6.20.0-1
ii  libkf6colorscheme6         6.20.0-2
ii  libkf6completion6          6.20.0-1
ii  libkf6configcore6          6.20.0-1
ii  libkf6configgui6           6.20.0-1
ii  libkf6configwidgets6       6.20.0-2
ii  libkf6coreaddons6          6.20.0-1
ii  libkf6crash6               6.20.0-1
ii  libkf6globalaccel6         6.20.0-1
ii  libkf6guiaddons6           6.20.0-1
ii  libkf6i18n6                6.20.0-1
ii  libkf6iconthemes6          6.20.0-1
ii  libkf6iconwidgets6         6.20.0-1
ii  libkf6itemviews6           6.20.0-1
ii  libkf6jobwidgets6          6.20.0-1
ii  libkf6kiocore6             6.20.0-1
ii  libkf6kiofilewidgets6      6.20.0-1
ii  libkf6kiogui6              6.20.0-1
ii  libkf6kiowidgets6          6.20.0-1
ii  libkf6parts6               6.20.0-1
ii  libkf6service-bin          6.20.0-1
ii  libkf6service6             6.20.0-1
ii  libkf6solid6               6.20.0-2
ii  libkf6statusnotifieritem6  6.20.0-1
ii  libkf6textwidgets6         6.20.0-1
ii  libkf6wallet6              6.20.0-1
ii  libkf6widgetsaddons6       6.20.0-1
ii  libkf6windowsystem6        6.20.0-2
ii  libkf6xmlgui6              6.20.0-1
ii  libqt6core5compat6         6.9.2-3
ii  libqt6core6t64             6.9.2+dfsg-4
ii  libqt6dbus6                6.9.2+dfsg-4
ii  libqt6gui6                 6.9.2+dfsg-4
ii  libqt6printsupport6        6.9.2+dfsg-4
ii  libqt6widgets6             6.9.2+dfsg-4
ii  libqt6xml6                 6.9.2+dfsg-4
ii  libstdc++6                 15.2.0-13
ii  zlib1g                     1:1.3.dfsg+really1.3.1-2

Versions of packages krusader recommends:
ii  kde-cli-tools   4:6.5.4-1
ii  keditbookmarks  25.04.0-1
ii  kio-extras      4:25.04.3-3

Versions of packages krusader suggests:
ii  7zip                25.01+dfsg-5
ii  arj                 3.10.22-28
ii  ark                 4:25.12.1-1
ii  bzip2               1.0.8-6+b1
ii  cpio                2.15+dfsg-2.1
ii  hashdeep [md5deep]  4.4+git20170824+ds-1
ii  kate                4:25.12.1-1
ii  kdiff3              1.12.3-1
ii  kmail               4:25.12.1-2
ii  konsole             4:25.12.1-1
ii  krename             5.0.2+git20250107.83b86fa-1
ii  lhasa [lha]         0.5.0-1
ii  okteta              5:0.26.25-1
ii  rar                 2:7.12-1
ii  rpm                 6.0.1-1
ii  unace               1.2b-24
ii  unrar               1:7.2.4-1
ii  unzip               6.0-29
ii  xxdiff              1:5.1+git20250320+dfsg-1
ii  zip                 3.0-15

-- no debconf information

Reply via email to