Bug 474608 - Konsole SSH Manager deletes its records on its own
Summary: Konsole SSH Manager deletes its records on its own
Status: REPORTED
Alias: None
Product: konsole
Classification: Applications
Component: sshmanager (show other bugs)
Version: 21.12.3
Platform: Debian stable Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-17 10:59 UTC by superkaimietis
Modified: 2025-01-01 08:22 UTC (History)
1 user (show)

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


Attachments
attachment-723140-0.html (2.52 KB, text/html)
2023-09-17 11:11 UTC, tcanabrava
Details

Note You need to log in before you can comment on or make changes to this bug.
Description superkaimietis 2023-09-17 10:59:09 UTC
SUMMARY
***
Konsole SSH Manager seems to lose some of its entries after some time and/or changing profiles.
***


STEPS TO REPRODUCE
1. Open multiple sessions of Konsole
2. Have one old record of an SSH connection saved in SSH Manager
3. Add new entries to the SSH manager
4. Close all Konsole instances (normally)
5. Start a new Konsole instance
6. Make a new profile named Default with 100k of lines of scrollback, don't change anything else
7. Check whether the newer instances are still in the SSH Manager

OBSERVED RESULT
Only a single record is available after some time (the old one). Funnily enough after closing all instances and then opening it one time all the records are visible but afterwards it's no longer the case!

EXPECTED RESULT
All of the records should be visible.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
Kernel: 6.1.0-12-amd64 (64-bit)
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8

ADDITIONAL INFORMATION
Comment 1 tcanabrava 2023-09-17 11:11:52 UTC
Created attachment 161668 [details]
attachment-723140-0.html

I’ll look into it and get back to you

On Sun, 17 Sep 2023 at 12:59 <bugzilla_noreply@kde.org> wrote:

> https://bugs.kde.org/show_bug.cgi?id=474608
>
>             Bug ID: 474608
>            Summary: Konsole SSH Manager deletes its records on its own
>     Classification: Applications
>            Product: konsole
>            Version: 21.12.3
>           Platform: Debian stable
>                 OS: Linux
>             Status: REPORTED
>           Severity: normal
>           Priority: NOR
>          Component: sshmanager
>           Assignee: konsole-devel@kde.org
>           Reporter: superkaimietis@gmail.com
>   Target Milestone: ---
>
> SUMMARY
> ***
> Konsole SSH Manager seems to lose some of its entries after some time
> and/or
> changing profiles.
> ***
>
>
> STEPS TO REPRODUCE
> 1. Open multiple sessions of Konsole
> 2. Have one old record of an SSH connection saved in SSH Manager
> 3. Add new entries to the SSH manager
> 4. Close all Konsole instances (normally)
> 5. Start a new Konsole instance
> 6. Make a new profile named Default with 100k of lines of scrollback, don't
> change anything else
> 7. Check whether the newer instances are still in the SSH Manager
>
> OBSERVED RESULT
> Only a single record is available after some time (the old one). Funnily
> enough
> after closing all instances and then opening it one time all the records
> are
> visible but afterwards it's no longer the case!
>
> EXPECTED RESULT
> All of the records should be visible.
>
> SOFTWARE/OS VERSIONS
> Linux/KDE Plasma:
> (available in About System)
> Kernel: 6.1.0-12-amd64 (64-bit)
> KDE Plasma Version: 5.27.5
> KDE Frameworks Version: 5.103.0
> Qt Version: 5.15.8
>
> ADDITIONAL INFORMATION
>
> --
> You are receiving this mail because:
> You are the assignee for the bug.
Comment 2 superkaimietis 2023-09-18 19:13:28 UTC
(In reply to tcanabrava from comment #1)
> Created attachment 161668 [details]
> attachment-723140-0.html
> 
> I’ll look into it and get back to you
> 
> On Sun, 17 Sep 2023 at 12:59 <bugzilla_noreply@kde.org> wrote:
> 
> > https://bugs.kde.org/show_bug.cgi?id=474608
> >
> >             Bug ID: 474608
> >            Summary: Konsole SSH Manager deletes its records on its own
> >     Classification: Applications
> >            Product: konsole
> >            Version: 21.12.3
> >           Platform: Debian stable
> >                 OS: Linux
> >             Status: REPORTED
> >           Severity: normal
> >           Priority: NOR
> >          Component: sshmanager
> >           Assignee: konsole-devel@kde.org
> >           Reporter: superkaimietis@gmail.com
> >   Target Milestone: ---
> >
> > SUMMARY
> > ***
> > Konsole SSH Manager seems to lose some of its entries after some time
> > and/or
> > changing profiles.
> > ***
> >
> >
> > STEPS TO REPRODUCE
> > 1. Open multiple sessions of Konsole
> > 2. Have one old record of an SSH connection saved in SSH Manager
> > 3. Add new entries to the SSH manager
> > 4. Close all Konsole instances (normally)
> > 5. Start a new Konsole instance
> > 6. Make a new profile named Default with 100k of lines of scrollback, don't
> > change anything else
> > 7. Check whether the newer instances are still in the SSH Manager
> >
> > OBSERVED RESULT
> > Only a single record is available after some time (the old one). Funnily
> > enough
> > after closing all instances and then opening it one time all the records
> > are
> > visible but afterwards it's no longer the case!
> >
> > EXPECTED RESULT
> > All of the records should be visible.
> >
> > SOFTWARE/OS VERSIONS
> > Linux/KDE Plasma:
> > (available in About System)
> > Kernel: 6.1.0-12-amd64 (64-bit)
> > KDE Plasma Version: 5.27.5
> > KDE Frameworks Version: 5.103.0
> > Qt Version: 5.15.8
> >
> > ADDITIONAL INFORMATION
> >
> > --
> > You are receiving this mail because:
> > You are the assignee for the bug.

Thank you for your prompt reply. Any news? :-)
Comment 3 Yaron Shahrabani 2025-01-01 08:22:35 UTC
I created a patch which was merged by the developer, it should be included in the next version, please help with testing and validation:
https://invent.kde.org/utilities/konsole/-/merge_requests/1055

We will close this after the fix is out to the public.

Thanks.