Created attachment 124681 [details] Screenshot of KOpenWith SUMMARY STEPS TO REPRODUCE This is how I call a KOpenWith dialog right now, a patch to kde-cli-tool setting + dlg.hideNoCloseOnExit(); + dlg.hideRunInTerminal(); OBSERVED RESULT Note the "Terminal Options" dropdown still shows "Terminal Options" even though it is empty. I could not figure out a way to hide it EXPECTED RESULT SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION
Git commit 1e7a62c98f8a879ecc04f7e92cd2cdcbb2f0bf73 by Kai Uwe Broulik. Committed on 13/01/2020 at 12:05. Pushed by broulik into branch 'master'. [KOpenWithDialog] Hide collapsible group box when all options inside are hidden Differential Revision: https://phabricator.kde.org/D26492 M +4 -1 src/widgets/kopenwithdialog.cpp https://commits.kde.org/kio/1e7a62c98f8a879ecc04f7e92cd2cdcbb2f0bf73