Bug 477150 - closing dolphin window kills open konsole here window
Summary: closing dolphin window kills open konsole here window
Status: CONFIRMED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 23.08.3
Platform: Other Linux
: NOR major
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-17 16:43 UTC by otaolafr
Modified: 2023-11-20 07:51 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description otaolafr 2023-11-17 16:43:18 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***
If from the kterminal we open a window of dolphin and from that window we open a terminal here, and we then kill the 'dolphin PATH' of the first terminal it will kill the second terminal without asking or anything.

STEPS TO REPRODUCE
1. open kterminal (terminal 0) in a folder
2. run `dolphin .`
3. in the new created dolphin window right click -> open terminal here (terminal 1)
4. go to terminal 0, and kill the running dolphin . process by ctr+c

OBSERVED RESULT
the terminal 1 will automatically close, even if another command is running there.

EXPECTED RESULT
the terminal 1 should be kept it is not in relation with the dolphin window anymore

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: TuxedOS 2
(available in About System)
KDE Plasma Version: 5.27.9
KDE Frameworks Version: 5.1111.0
Qt Version: 5.15.11

ADDITIONAL INFORMATION
Comment 1 defjay.k 2023-11-17 22:31:02 UTC
Confirmed in Dolphin version 23.08.3
KDE Neon User

Thank you for your report!
Comment 2 Méven Car 2023-11-18 13:01:25 UTC
I don't reproduce with konsole in Dolphin 23.08+.

It depends on the service you use to for the "Open terminal here" to allow to child process to detach from the parent processus.

Are you still affected with the bug ? 
If not we can close this bug.

Can you share the service menu you use to have "open terminal here" feature if it is not the default one provided for konsole ?
Comment 3 defjay.k 2023-11-18 15:05:32 UTC
(In reply to Méven Car from comment #2)
> I don't reproduce with konsole in Dolphin 23.08+.
> 
> It depends on the service you use to for the "Open terminal here" to allow
> to child process to detach from the parent processus.
> 
> Are you still affected with the bug ? 
> If not we can close this bug.
> 
> Can you share the service menu you use to have "open terminal here" feature
> if it is not the default one provided for konsole ?

Hi,

I tried again and happens consistenly.

I'm using the default service menu with konsole

Konsole version 23.08.3
Dolphin version 23.08.3
Comment 4 otaolafr 2023-11-20 07:51:52 UTC
(In reply to Méven Car from comment #2)
> I don't reproduce with konsole in Dolphin 23.08+.
> 
> It depends on the service you use to for the "Open terminal here" to allow
> to child process to detach from the parent processus.
> 
> Are you still affected with the bug ? 
> If not we can close this bug.
> 
> Can you share the service menu you use to have "open terminal here" feature
> if it is not the default one provided for konsole ?

Hello,
yes I am still afected, when I use open termina here was using an added button in the task bar, that I added by in dolphin:
hamburguer menu -> configure->configure task bar -> add the open terminal here