Closed fenugrec closed 1 year ago
Additional information I just noticed while typing up the issue :
xdg-open $csvfile_whatever
from the console opens it using CalcThanks for the report.
ApplicationChooser
dialogs are possible, which isn't right.I can't confirm the duplication of Krita under Other Applications
with V1.2.0: There are 22 Krita items there, and their number always remains 22 (that's a weird choice of Krita — see /usr/share/applications
).
2. Two `ApplicationChooser` dialogs are possible, which isn't right.
Sorry, my post wasn't very clear, that's actually 2 attachments , so 2 screenshots - I couldn't show everything in one.
There are 22 Krita items there, and their number always remains 22 (that's a weird choice of Krita — see
/usr/share/applications
).
Ah, I hadn't actually counted them - it just seemed like I tried about 20 times, so it seemed about right P)
Indeed, I have 23 krita_*.desktop files in /usr/share/applications
!
Anyway, the behavior you detected shows that there's a bug somewhere. And I agree: it's very weird.
I haven't look into the code yet but the problem should be in libqtxdg
because pcmanfm-qt
has no problem in setting Calc as the default application for text/csv
, while qtxdg-mat
does:
$ qtxdg-mat defapp text/csv -s libreoffice-calc.desktop
Could not set '/usr/lib/libreoffice/share/xdg/calc.desktop' as default for 'text/csv'
EDIT: OK, I found the problem in libqtxdg
:)
Thanks ! I will need to rebuild all lxqt-* packages to test this, so it may take a bit before I get time to do so.
I will need to rebuild all lxqt-* packages
If you had LXQt 1.2.0, you would just need to apply the patch at https://github.com/lxqt/libqtxdg/pull/288. But yes, with 1.1.0, you have to upgrade.
I tested it here, and it worked fine.
Expected Behavior
It should be fairly straightforward to change file associations. Current example is with
text/csv
files.Current Behavior
Applications that handle CSV documents
categoryOther Applications
category ![EDIT - second screenshot, scrolling down the ApplicationChooser dialog]
Possible Solution
Steps to Reproduce (for bugs)
System Information