Bug 495909

Summary: D-Bus action /dolphin/Dolphin_1/actions/show_terminal_panel missing
Product: [Applications] dolphin Reporter: Christian Hartmann <hartmann.christian>
Component: panels: terminalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: REOPENED ---    
Severity: normal CC: akselmo, kdedev, kfm-devel
Priority: NOR    
Version: 24.08.2   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Christian Hartmann 2024-11-07 07:16:46 UTC
SUMMARY

STEPS TO REPRODUCE
1. download and activate this service menu:  https://store.kde.org/p/1738869
2. use it via right click

OBSERVED RESULT
nothing happens, terminal panel is not opening. on open panel, it will not close

EXPECTED RESULT
terminal opens, if closed and vice versa

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: KDE Neon
KDE Plasma Version: 6.2.2
KDE Frameworks Version:  6.7.0
Qt Version: 6.8.0

ADDITIONAL INFORMATION
within Qt's 'QDbusViewer' and in GNOMEs 'D-Spy' the D-Bus Action '/dolphin/Dolphin_1/actions/show_terminal_panel' is missing and not available and therefore the mentioned service menu is disfunctional.

If this missing is intentional and '/dolphin/Dolphin_1/actions/focus_terminal_panel' shall be the only one left, just drop me a note please.

If it has been removed accidently or intentionaly, i ask for to get this back or get this back as '/dolphin/Dolphin_1/actions/toggle_terminal_panel', as this naming might better reflect the action and its behavior.

many thx
Comment 1 Christian Hartmann 2024-11-07 07:19:45 UTC
also here:
https://github.com/c-hartmann/terminal-panel-f4-dbus
Comment 2 TraceyC 2024-11-08 02:02:42 UTC
Hello! You've reached the KDE bug tracker, which is for tracking bugs in KDE software. Unfortunately here on the bug tracker, we cannot offer help with software development topics not clearly related to bugs in KDE software. This includes help with plugin development questions about available D-Bus actions and so on. You can find appropriate ways to get in contact with the dev team for assistance with your issue at https://community.kde.org/Get_Involved/development#Communicate_with_the_dev_team. Thanks.
Comment 3 Christian Hartmann 2024-11-08 05:32:00 UTC
This d-bus interface *was* available in Plasma 5,  but *is not* in Plasma 6.

Why should someone intentionally remove such an interface from an API?  
It is the direct counterpart of the F4 function key and its functionality, which is still there.

Sorry, if my understanding and interpretation of being a bug is / was wrong.
Comment 4 Christian Hartmann 2024-11-08 08:12:38 UTC
the interface / action is actually still in use (triggered in the code):

in:
https://invent.kde.org/system/dolphin/-/blob/master/src/dolphinmainwindow.cpp

line 712 reads as:
actionCollection()->action("show_terminal_panel")->trigger();

but this action is not available as a public interface.
Comment 5 Akseli Lahtinen 2024-11-12 16:12:17 UTC
Just to clarify, pressing F4 key will open the menu normally? And it's just the missing API that is the problem?
Comment 6 Christian Hartmann 2024-11-13 06:42:10 UTC
thx for asking ..

exactly!   F4 opens and closes the terminal panel as usual.  
and yes, the corresponding d-bus interface is no longer available.

regarding the piece of code cited above ... my wild guess is, that it may fail silently.