Bug 501134

Summary: If the default terminal is an application that also adds its own right-click menu entry, then automatically hide either that or the built-in "Open terminal here"
Product: [Applications] dolphin Reporter: Angad <angxddeep>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED DOWNSTREAM    
Severity: wishlist CC: dolphin-bugs-null, filip.kendes1, john.kizer, meven
Priority: NOR    
Version First Reported In: 24.12.2   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Right click menu

Description Angad 2025-03-06 09:22:29 UTC
Created attachment 179171 [details]
Right click menu

SUMMARY
So I have been using ghostty terminal and I have heard it's native so even when it's not set as default terminal It still appears in the right click menu in dolphin, but the issue is once I set ghostty as default terminal still there are two entries in the right click menu as:-
~Open terminal here 
~Open Ghostty here
 
but both these open ghostty terminal and the 1st option has konsole logo instead of ghostty while the open terminal here entry also opens ghostty terminal as ghossty is default I think it shouldn't show two entries in dolphin once ghostty is set as default 



SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 6.3.2
KDE Plasma Version: 6.3.2
KDE Frameworks Version: 6.11.0
Qt Version: 6.8.2
Comment 1 Filip 2025-03-07 08:47:28 UTC
Go to Dolphin settings -> Context menu -> search for those entries and disable one of them.

Does that solve the issue for you?
Comment 2 Angad 2025-03-07 09:25:38 UTC
(In reply to Filip from comment #1)

Yes, it does solve the issue but do you think something can be done so that this doesn't happen by default maybe something needs to be done on the ghostty side or kde
Comment 3 Filip 2025-03-07 09:42:08 UTC
Not sure. I'll move it back to Reported if you want to see if something can be done.
Comment 4 John Kizer 2025-03-21 18:59:23 UTC
Hi - Switching to a feature request at this point, since it would be asking for logic to be built to detect the duplicates and automatically hide (and the default menu always showing Konsole is accounted for here: https://bugs.kde.org/show_bug.cgi?id=501435 )

Thanks!
Comment 5 Méven 2025-07-24 09:36:59 UTC
(In reply to Angad from comment #2)
> (In reply to Filip from comment #1)
> 
> Yes, it does solve the issue but do you think something can be done so that
> this doesn't happen by default maybe something needs to be done on the
> ghostty side or kde

Report it to ghostly to not forcefully add this action.

This action is meant to be configurable through system settings, a distro package can change it, a script can change it.
It is still editable by the user easily regardless. https://develop.kde.org/docs/apps/dolphin/service-menus/
And with #501435 being fixed there is little reason to have it in the first place.

KDE code shouldn't workaround other people working around our system.