14

Clicking file that doesn't have associated program is an annoying problem in KDE. It opens a window that can't be closed easily [even with sudo pkill].

STEPS TO REPRODUCE

  1. Download a file with no associated program installed through Firefox using xdg-desktop-portal-kde.
  2. Open it through the browser.

OBSERVED RESULT

An unclosable dialog will open with no suggestions. The "Show More" button will help if a suitable program is installed but not set, but it won't if you'd have to install it manually. I've also tested and does not happen in chromium, it opens the same KIO dialog Dolphin does.

EXPECTED RESULT

Be able to close the dialog, install a suitable program elsewhere, and then try again.

ADDITIONAL INFORMATION

Also there's an horizontal scrollbar at all times, even though there is no content.


This should be fixed now with changes in Plasma 5.25. [ Source ]

Shezan
  • 651

1 Answers1

22

For those who can not close "Open with.." dialog window.

Solution:

  1. Right-click on the "Open with..." dialog window's title bar.
  2. Choose "Configure Special Window Settings" from "More Action.".
  3. Click "Add Property..." from the bottom.
  4. Add the closeable option.
  5. Choose closeable as "yes".
  6. Now you can close the window.
Shezan
  • 651
  • 2
    You saved my day!! – evb Nov 19 '22 at 19:25
  • 5
    It seems like not being closeable is a pretty silly default setting. – KeatsKelleher Mar 01 '23 at 18:18
  • Agree. They said it would be fixed and there are many things that need to be set to default too (a double-tap on the touchpad should be counted as a left click, and many more). – Shezan Mar 07 '23 at 15:38
  • 1
    Thanks! The more I learn about KDE, the more I love it. Imagine is this kind of setting was configurable in all OSs. – Peter Dec 24 '23 at 17:39