Bug 476378

Summary: Konsole Layouts
Product: [Applications] konsole Reporter: Nelson Fonseca <nelsinchi>
Component: split-viewAssignee: Konsole Developer <konsole-devel>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Nelson Fonseca 2023-10-31 16:18:52 UTC
SUMMARY
How to create Konsole Layouts including details to connect directly to a server, for example, it could be something similar to the following .json file, but reaching the server prompt already connected. In other words, getting connected to a server directly once is used the Konsole Layout?

# Sample:
{
    "Orientation": "Horizontal",
    "Widgets": [
        {
            "SessionRestoreId": 0,
            "commandline": "ssh nelson@server1"
        },
        {
            "Orientation": "Vertical",
            "Widgets": [
                {
                    "SessionRestoreId": 0,
                    "commandline": "ssh nelson@server2"
                },
                {
                    "SessionRestoreId": 0,
                    "commandline": "ssh nelson@server3"
                },
                {
                    "SessionRestoreId": 0,
                    "commandline": "ssh nelson@server4"
                }
            ]
        }
    ]
}


STEPS TO REPRODUCE
1. Keys: Alt + F2.
2. Command: konsole --layout sample_layout.json.
3. SSH Server and Password prompt.

OBSERVED RESULT
Split view of the Konsole according to the layout only, but not servers reached.

EXPECTED RESULT
Split view of the Konsole but also reaching the SSH servers prompt.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma:  Arch Linux + KDE Plasma
KDE Plasma Version: 5.27.9
KDE Frameworks Version: 5.111.0
Qt Version: 5.15.11
Konsole Version: 23.08.2
Date: Oct-31-2023

ADDITIONAL INFORMATION
I think it is already working as designed like it is now, but it would be a really great enhancement, especially for being able to create Konsole Layouts and getting connected to the servers directly. A very good example of this could be what I can do on a Windows OS tool that is called SuperPuTTY where I am able to reach the servers prompt by using a .xml layout file.

To many thanks, for the support. Please keep up doing the great things for KDE Plasma and Plasma Mobile!

Kind regards,
Nelson Fonseca