[Bug 980046] New: File Associations & Application Preference not updated
http://bugzilla.opensuse.org/show_bug.cgi?id=980046 Bug ID: 980046 Summary: File Associations & Application Preference not updated Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: x86-64 OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: KDE Workspace (Plasma) Assignee: opensuse-kde-bugs@opensuse.org Reporter: dgholstein@embarqmail.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Created attachment 676965 --> http://bugzilla.opensuse.org/attachment.cgi?id=676965&action=edit Before hit apply When adding File Associations and Application Preference, KDE/Plasma forgets Application immediately on "Apply". The attachment shows how LabView is listed in the Application Preference, as soon as I hit "Apply", it disappears. The irony is, it seems to have been recorded, here's my mimeapps.list: [Added Associations] application/LabView=LabView.desktop; [Default Applications] application/LabView=LabView.desktop; and here is LabView.desktop: [Desktop Entry] Comment= Exec=/usr/local/lv71/labview GenericName=LabView Development Icon=/usr/local/lv71/linux/icons/labview-3d-big.xpm Name=LabView NoDisplay=false Path[$e]= StartupNotify=true Terminal=0 TerminalOptions= Type=Application X-KDE-SubstituteUID=false X-KDE-Username= BTW: I added the indents. I already checked out a similar problem on the interwebs, I already have a symbolic link (and it doesn't make a difference one way or the other): lrwxrwxrwx 1 danny users 51 May 14 09:51 .config/mimeapps.list -> /home/danny/.local/share/applications/mimeapps.list -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=980046 http://bugzilla.opensuse.org/show_bug.cgi?id=980046#c1 Danny Holstein <dgholstein@embarqmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dgholstein@embarqmail.com --- Comment #1 from Danny Holstein <dgholstein@embarqmail.com> --- BTW: The issue is consistent whether I use "Configure Desktop" or either of the file browsers BUT: Running konqueror from the command line, I see this message when trying to define the file type: konqueror(4403) KMimeType::findByUrlHelper: Glob file refers to "application/LabView" but this mimetype does not exist! And for dolphin from the command line: KMimeTypeTrader: no entry offset for "application/LabView" ...though dolphin shows the correct icon; konqueror... not so much -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=980046 http://bugzilla.opensuse.org/show_bug.cgi?id=980046#c2 Wolfgang Bauer <wbauer@tmo.at> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CONFIRMED CC| |wbauer@tmo.at --- Comment #2 from Wolfgang Bauer <wbauer@tmo.at> --- The problem seems to be caused by the upper space characters in the filetype name. Use "labview" and it should work. A similar problem has been fixed upstream today: https://quickgit.kde.org/?p=kservice.git&a=commit&h=cb844b56e0bf33174e13f42480008ef482d219fb Unfortunately that fix doesn't help in this case though. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=980046 http://bugzilla.opensuse.org/show_bug.cgi?id=980046#c3 Wolfgang Bauer <wbauer@tmo.at> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|CONFIRMED |IN_PROGRESS --- Comment #3 from Wolfgang Bauer <wbauer@tmo.at> --- Fixed packages are available here if you want to test them: http://download.opensuse.org/repositories/home:/wolfi323:/test/ (you only need to update kservice5) I'll propose it upstream first and wait for review though, before I submit it to openSUSE, as I'm not 100% sure the fix is correct... But note that this only fixes it for KDE Frameworks5, e.g. dolphin. It (filetypes with upper case characters in the name) is (still) completely broken in kdelibs4, KDE4 applications (like Konqueror) apparently do not even recognize such a file type. I will see whether the same patches would fix it there as well, or if further fixes would be needed. PS: You don't need a symbolic link .config/mimeapps.list -> /home/danny/.local/share/applications/mimeapps.list. KDE uses/respects both. The version in Leap 42.1 only writes the latter though, and the former overrides the latter. So if you use other desktop setting applications that already write the file to ~/.config/, such a symlink can be useful, because otherwise changes in systemsettings5 wouldn't have any effect. Starting with 5.6, systemsettings5 writes to ~/.config/ (as ~/.local/share/applications/mimeapps.list has been deprecated by freedesktop.org), so this is no problem any more (and it is no problem anyway if you only use KDE). And I say it again: if you only use lowercase characters for the filetype name, everything should work as expected, in both KDE4 and KF5. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=980046 http://bugzilla.opensuse.org/show_bug.cgi?id=980046#c4 --- Comment #4 from Wolfgang Bauer <wbauer@tmo.at> --- FYI: this should be fixed in KDE Frameworks 5.23.0, which has been released today (and should be in Tumbleweed soon). For kdelibs4 (i.e. Konqueror) it was a bit more complicated. I do have a patch as well now though, I just want to do more testing myself and then propose it upstream first as well. If you want to test yourself, packages are available here: http://download.opensuse.org/repositories/home:/wolfi323:/branches:/KDE:/App... -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=980046 http://bugzilla.opensuse.org/show_bug.cgi?id=980046#c6 --- Comment #6 from Wolfgang Bauer <wbauer@tmo.at> --- (In reply to Robby Engelmann from comment #5)
Should be fixed according to the last comment
Yes, it is fixed in KDE Frameworks5 (since about a year), but not in kdelibs4. That means that konqueror in 42.2 is still affected, and every KDE4 application also in later versions (konqueror is KF5 based in TW and 42.3). The question is just if it is necessary to backport the fix, considering that the problem actually must have been present for years *before* this bug report. As I already have done that, I'll probably still propose it upstream, if they accept it then it should at least get into Tumbleweed... -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com