Bug 494378

Summary: Integrated terminal spits out unwanted commands when dockVisibilityChanged and showEvent are triggered
Product: [Applications] dolphin Reporter: Eren <erenkarakas202>
Component: panels: terminalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal CC: kdedev, kfm-devel
Priority: NOR    
Version: 24.08.1   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Eren 2024-10-09 21:58:13 UTC
STEPS TO REPRODUCE
1.  Open integrated terminal
2.  Open "Configure Toolbars" and add whatever action you want, click apply

or

1. Hide integrated terminal with F4
2. Reopen it

OBSERVED RESULT

cd /
cd ${cwd}
is spitted out into the terminal, 5 times on the first one and once on the second one.

EXPECTED RESULT

Should not show those commands

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: 6.11.2-cachyos
KDE Plasma Version: 6.1.5
KDE Frameworks Version: 6.6.0
Qt Version: 6.7.3

ADDITIONAL INFORMATION

I tried to take a look at the problem but could not solve it since integrated terminal uses cd commands to keep in sync with folder view. For example hiding and reopening the panel needs it in case user changed directory in the mean time. 

Maybe adding a changeCurrentWorkingDirectory method to Konsole's Part.cpp and using it could solve the issue but I wanted to ask before trying to implement it.
Comment 1 TraceyC 2024-11-04 21:52:03 UTC
I see the undesired behavior you describe on git-master.

This is 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. You can find appropriate ways to get in contact with the dev team for assistance with your question at https://community.kde.org/Get_Involved/development#Communicate_with_the_dev_team.