Bug 450289

Summary: Cannot open new window via qdbus
Product: [Applications] konsole Reporter: Wout Mertens <Wout.mertens>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED NOT A BUG    
Severity: normal    
Priority: NOR    
Version: 21.12.2   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: attachment-19772-0.html

Description Wout Mertens 2022-02-15 06:55:12 UTC
There seems to be no way to open a new window using DBus. I would expect /Window to have a method `new`.

When I'm in Konsole, I can open a new window instantly. From the command line, I can run `konsole` but it is A LOT slower and it doesn't fork.

So this is a feature request to have a `new()` method to open a new window from the same process.
Comment 1 Wout Mertens 2022-02-15 07:04:31 UTC
sorry for the noise, I found I need to run

qdbus org.kde.konsole-### /konsole/MainWindow_1 org.kde.KMainWindow.activateAction new-window
Comment 2 tcanabrava 2022-02-15 07:07:38 UTC
Created attachment 146755 [details]
attachment-19772-0.html

We have two ways of running Konsole, one is a single process, and another
is multi process. If you have multi process enabled on the settings, it
will fork. If you have in the settings that this is a single process, not
even registering with dbus will make it fork.

I fail to see the need to have a dbus call for this.


Le mar. 15 févr. 2022 à 07:55, Wout Mertens <bugzilla_noreply@kde.org> a
écrit :

> https://bugs.kde.org/show_bug.cgi?id=450289
>
>             Bug ID: 450289
>            Summary: Cannot open new window via qdbus
>            Product: konsole
>            Version: 21.12.2
>           Platform: Other
>                 OS: Linux
>             Status: REPORTED
>           Severity: normal
>           Priority: NOR
>          Component: general
>           Assignee: konsole-devel@kde.org
>           Reporter: Wout.mertens@gmail.com
>   Target Milestone: ---
>
> There seems to be no way to open a new window using DBus. I would expect
> /Window to have a method `new`.
>
> When I'm in Konsole, I can open a new window instantly. From the command
> line,
> I can run `konsole` but it is A LOT slower and it doesn't fork.
>
> So this is a feature request to have a `new()` method to open a new window
> from
> the same process.
>
> --
> You are receiving this mail because:
> You are the assignee for the bug.