| Summary: | Toolbar background changes after calling QMainWindow::restoreState | ||
|---|---|---|---|
| Product: | [Plasma] Breeze | Reporter: | equeim |
| Component: | QStyle | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | CONFIRMED --- | ||
| Severity: | normal | CC: | nate, noahadvs, uhhadd |
| Priority: | NOR | Keywords: | qt6 |
| Version First Reported In: | 6.0.2 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: |
Sample code
First run Second run |
||
Created attachment 167351 [details]
First run
Created attachment 167352 [details]
Second run
|
Created attachment 167350 [details] Sample code SUMMARY After calling QMainWindow::restoreState() (i.e. after first run for typical application), toolbar's background does not match window decoration color anymore. Sample code: STEPS TO REPRODUCE 1. Save main window state using QMainWindow::saveState 2. Restore main window state using QMainWindow::restoreState OBSERVED RESULT Toolbar's background does not match window decoration. EXPECTED RESULT Toolbar's background matches window decoration. SOFTWARE/OS VERSIONS Linux/KDE Plasma: openSUSE Tumbleweed KDE Plasma Version: 6.0.2 KDE Frameworks Version: 6.0.0 Qt Version: 6.6.2 ADDITIONAL INFORMATION