Bug 391471 - Application Preference Order not updated when adding an application by path
Summary: Application Preference Order not updated when adding an application by path
Status: RESOLVED WORKSFORME
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_filetypes (show other bugs)
Version: 5.8.7
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: David Faure
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-06 16:08 UTC by Tristan Miller
Modified: 2021-03-15 08:21 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tristan Miller 2018-03-06 16:08:17 UTC
When a file type has no associations, it is possible to add an association to a particular application, either by selecting that application from a list of registered applications (which is the same one used by KDE's Application Launcher) or by specifying the path to the executable (either by typing it in directly, or by using the file selector).  When associating a registered application, the "Application Preference Order" list is updated right away.  However, when associating an application by specifying its path, the "Application Preference Order" list is not visibly updated at all.  In order to confirm that the association has been saved, it is necessary to quit the "File Associations" applet and then reload it.  Only then does the newly associated application appear in the list.

Reproducibility: Always

Steps to reproduce:

1. System Settings -> Applications -> File Associations
2a. Use the "Add…" button below the "Known Types" tree to add a new file type; OR
2b. Select some existing file type from the "Known Types" tree -- say, application/x-java -- and remove all existing associations using the "Remove" button in the "Application Preference Order" frame.
3. Press the "Add…" button in the "Application Preference Order" frame. A "Choose Application" dialog appears.
4. Enter the path to some executable (say, /usr/bin/java) in the input box, or use the file selector to select that executable.
5. Press OK. An "Updating system configuration" progress dialog briefly appears, then disappears.

Observed behaviour:

6. The new application does not appear in the "Application Preference Order" list.  It appears only if you press the "All Settings" button to return to the main System Setting window, and then launch "Application Settings" once again.

Expected behaviour:
6. The new application should appear immediately in the "Application Preference Order" list.
Comment 1 Justin Zobel 2021-03-12 08:07:10 UTC
Thanks for the report, Tristan. I've just tested this and it works for me so it is possible it's been fixed since your report was made.

Can you please check and confirm and advise, thank you.

I've set this bug to NEEDSINFO. When you reply, please change the bug back to REPORTED so we know it's ready for investigation or RESOLVED/WORKSFORME if the issue is now resolved.
Comment 2 Tristan Miller 2021-03-15 08:21:01 UTC
(In reply to Justin Zobel from comment #1)
> Can you please check and confirm and advise, thank you.


You're right; I can no longer reproduce the bug with systemsettings 5.21.1.