Bug 442179

Summary: Editing the toolbar and pressing apply twice causes a new Main Toolbar to appear.
Product: [Applications] konsole Reporter: Jack Hill <jackhill3103>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: REPORTED ---    
Severity: normal CC: nate, nsprangers
Priority: NOR    
Version: 21.08.1   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: The new toolbar is highlighted in the red box.
three toolbars in the config dialog

Description Jack Hill 2021-09-08 14:24:10 UTC
Created attachment 141393 [details]
The new toolbar is highlighted in the red box.

SUMMARY


STEPS TO REPRODUCE
1. Start with default toolbar
2. Open the "Configure Toolbars" dialogue
3. Edit the toolbars
4. Press apply
5. Edit the toolbars again
6. Press apply again

OBSERVED RESULT
Existing toolbars are correctly changed.
A new Main Toolbar appears to the left of the Session Toolbar.
This contains (by default):
* Print Screen
* --- separator ---
* Copy
* Paste
* --- separator ---
* Find

EXPECTED RESULT
The existing toolbars should be correctly changed.
No new toolbars should be created.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: openSUSE Tumbleweed 20210904
KDE Plasma Version: 5.22.5
KDE Frameworks Version: 2.85.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
The new toolbar does not initially show in the Configure Toolbar dialogue.
Closing and reopening the Configure Toolbar dialogue causes it to appear, and be edited.
Any further edits do not make any more new toolbars.

If the new toolbar is NOT changed and Konsole is restarted, the toolbar disappears (also disappears from the Configure Toolbar dialogue).
If the new toolbar IS changed and Konsole is restarted, the toolbar remains permanently, however it is now to the right of the Main Toolbar. If any toolbar is changed again, the new toolbar is moved back to the left of the Session Toolbar.

The toolbar can be removed by clicking the "Defaults" option in the Configure Toolbar dialogue.
Comment 1 nsprangers@gmail.com 2021-09-09 10:14:39 UTC
Created attachment 141417 [details]
three toolbars in the config dialog

Can confirm on 21.08.1 and git.