https://bugs.kde.org/show_bug.cgi?id=493698

            Bug ID: 493698
           Summary: Unable to choose a 'custom' application for "Open
                    With" via Dolphin
    Classification: Plasma
           Product: xdg-desktop-portal-kde
           Version: 6.1.90
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: plasma-b...@kde.org
          Reporter: c...@horwell.me
                CC: aleix...@kde.org
  Target Milestone: ---

Created attachment 174113
  --> https://bugs.kde.org/attachment.cgi?id=174113&action=edit
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?)

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to