Bug 493698 - Unable to choose a 'custom' application for "Open With" via Dolphin
Summary: Unable to choose a 'custom' application for "Open With" via Dolphin
Status: RESOLVED DUPLICATE of bug 493150
Alias: None
Product: xdg-desktop-portal-kde
Classification: Plasma
Component: general (show other bugs)
Version: 6.1.90
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-09-26 15:30 UTC by Luke Horwell
Modified: 2024-09-26 21:14 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Screenshot of the user stuck choosing a custom path (50.67 KB, image/jpeg)
2024-09-26 15:30 UTC, Luke Horwell
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Luke Horwell 2024-09-26 15:30:23 UTC
Created attachment 174113 [details]
Screenshot of the user stuck choosing a custom path

SUMMARY

In Dolphin, "Open With" → "Choose Application..." appears to be using this portal. However, it regresses functionality since it is impossible to use a custom program path. For example, qt6-tools no longer ships with *.desktop launchers, so a *.ui file needs to be opened with "/usr/lib/qt6/bin/designer" to use the Qt 6 version of Qt Designer.

Thankfully, the old chooser still works by right clicking the file → Properties and adding the program to the file association there instead.


STEPS TO REPRODUCE
1. Create an empty *.ui file in Dolphin.
2. Right click the file and choose "Open With" → "Other Application..."
3. Type "/usr/lib/qt6/bin/designer" or try selecting the path.
4. Run the program


OBSERVED RESULT

The user is stuck. There is no way to start a program with a 'custom' path or command line.

- Clicking "Choose Other..." button only updates the text field.
- Pressing ENTER does nothing.
- There is no OK button.


EXPECTED RESULT

The portal allows a custom path to be used, or Dolphin reverts to the previous file association "list selector".


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: KDE Neon
KDE Plasma Version: 6.1.90
KDE Frameworks Version: 6.7.0
Qt Version: 6.7.2

ADDITIONAL INFORMATION

As feedback, I completely missed the "Always open" checkbox at the top. I felt disorientated thinking the dialog was broken since "Cancel" and "OK" dialog buttons were missing at the bottom. The dialog does jarring a bit when it first opens.

I much prefer the old file association "list", is there a way to disable this portal on desktop? (Or any hints on which commits to revert?)
Comment 1 Nate Graham 2024-09-26 21:14:33 UTC
*** This bug has been marked as a duplicate of bug 493150 ***