Public bug reported:

1) The release of Ubuntu you are using, via 'lsb_release -rd' or System -> 
About Ubuntu
Ubuntu 20.04.4 LTS

2) The version of the package you are using, via 'apt-cache policy pkgname' or 
by checking in Software Center
k4dirstat:
  Installed: 3.2.0-1build1
  Candidate: 3.2.0-1build1
  Version table:
 *** 3.2.0-1build1 500
        500 http://fi.archive.ubuntu.com/ubuntu focal/universe amd64 Packages
        100 /var/lib/dpkg/status


3) What you expected to happen
4) What happened instead
When K4Dirstat is installed, it adds following row to /etc/mailcap:
inode/directory; k4dirstat --icon k4dirstat -qwindowtitle "K4DirStat" "%s"; 
test=test -n "$DISPLAY"

This is problematic, as this causes K4Dirstat to be default MIME handler for 
directories.
Practical example of this problem is, when some script uses "xdg-open" to open 
directory, it then opens K4Dirstat instead of system's normal file manager.

In my computer, I corrected this by commenting out the line.

Correction: don't add the MIME registration to /etc/mailcap -file.

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: k4dirstat 3.2.0-1build1
ProcVersionSignature: Ubuntu 5.4.0-109.123-generic 5.4.178
Uname: Linux 5.4.0-109-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.23
Architecture: amd64
CurrentDesktop: LXQt
Date: Fri Apr 29 13:43:10 2022
InstallationDate: Installed on 2022-04-27 (2 days ago)
InstallationMedia: Ubuntu-Server 20.04.4 LTS "Focal Fossa" - Release amd64 
(20220223.1)
SourcePackage: k4dirstat
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: k4dirstat (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug focal uec-images

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1970925

Title:
  K4dirstat installer registers incorrect inode/directory MIME type

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/k4dirstat/+bug/1970925/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to