Bug 478866 - With Qt 6.7, every QDockWidget panel is enabled in every new window
Summary: With Qt 6.7, every QDockWidget panel is enabled in every new window
Status: RESOLVED UPSTREAM
Alias: None
Product: dolphin
Classification: Applications
Component: panels: terminal (show other bugs)
Version: 24.01.85
Platform: Other Linux
: VHI major
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL: https://bugreports.qt.io/browse/QTBUG...
Keywords: qt6
: 478804 478827 478884 479047 479160 479161 479754 479772 480057 480187 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-12-22 05:59 UTC by Yao Mitachi
Modified: 2024-01-24 00:35 UTC (History)
21 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yao Mitachi 2023-12-22 05:59:15 UTC
SUMMARY
Terminal panel appears in every window as of Plasma 6 Beta 2.

STEPS TO REPRODUCE
1. Open a new Dolphin window on Beta 2
2. Check if Terminal panel is open at the bottom

OBSERVED RESULT
Terminal panel is open, and there is nothing in Configure Dolphin to change this.

EXPECTED RESULT
Terminal panel being open by default should be an option that I can disable.

SOFTWARE/OS VERSIONS
Linux: 6.6.7
KDE Plasma Version: 5.91.0-1
KDE Frameworks Version: 5.247.0
Qt Version: 6.7.0beta1

ADDITIONAL INFORMATION
I was not able to use "About This System" to get the above versions due to a QML error, so I had to check installed packages.
Comment 1 Yao Mitachi 2023-12-22 06:03:27 UTC
Update: I just realized it's every panel that comes back, not just the terminal panel.
Comment 2 Ridge 2023-12-22 08:54:52 UTC
Also applies to other apps with panels, such as Konsole. Every time I open Konsole, both the "SSH Manager" and "Quick Commands" plugins are enabled. Konsole also does not respect its default size as set in the profile. (80x25, instead defaults to 80x64)

Regenerating "/home/(user)/.config/dolphinrc" fixes the issue.
Haven't figured out which setting is the culprit yet, or if regenerating "konsolerc" fixes the Konsole issue. Pressed for time atm =)

Arch Linux
Kernel: 6.6.8
KDE Plasma Version: 5.91.0
KDE Frameworks Version: 5.247.0
Qt Version: 6.7.0beta2
Comment 3 Yao Mitachi 2023-12-22 09:21:06 UTC
(In reply to A. R. Kristiansen from comment #2)
> Also applies to other apps with panels, such as Konsole. Every time I open
> Konsole, both the "SSH Manager" and "Quick Commands" plugins are enabled.

See: https://bugs.kde.org/show_bug.cgi?id=478804

> Regenerating "/home/(user)/.config/dolphinrc" fixes the issue.
> Haven't figured out which setting is the culprit yet, or if regenerating
> "konsolerc" fixes the Konsole issue. Pressed for time atm =)

How odd, deleting that file does allow Dolphin to remember what panels I last had open... even though I didn't see anything relevant to which panels were open. And now, my  I wonder if regenerating that file makes Dolphin reset some values that are stored elsewhere?
Comment 4 Ridge 2023-12-22 09:33:05 UTC
(In reply to Yao Mitachi from comment #3)
> How odd, deleting that file does allow Dolphin to remember what panels I
> last had open... even though I didn't see anything relevant to which panels
> were open.

Yeah, same here, not at first glance anyway.
That's what I do when I have any kind of issue in KDE apps, just regenerate their config files. Then, if that fixes it, I try to remove config entries from the original file one by one until I find the culprit.
Will give that a shot later today if nobody beats me to it.

> And now, my  I wonder if regenerating that file makes Dolphin
> reset some values that are stored elsewhere?

Does the issue remain if you put the original config file back in place? (If you kept it.)

BTW, thank you for the link to the Konsole issue.
Comment 5 Ridge 2023-12-22 11:12:11 UTC
I found the culprit.

In dolphinrc, the [General] section has a setting called "RememberOpenedTabs"

If set to false, Dolphin opens every panel on every new window opened, and does not remember which ones you close.
If set to true, or if the string does not exist, panels act like you would expect them to.

In "Configure Dolphin" (CTRL+SHIFT+,) this setting is in "Interface" -> "Folders & Tabs" -> "Show on startup:"
If that setting is set to a specific folder, any folder, the panel behaviour breaks.

I have no idea why setting this to false interferes with the panels!
Comment 6 Nicolas Fella 2023-12-22 21:18:37 UTC
*** Bug 478884 has been marked as a duplicate of this bug. ***
Comment 7 Nicolas Fella 2023-12-23 00:52:24 UTC
I can reproduce with Qt 6.7 beta but not 6.6.1

Looks like something with restoring the state of the QDockWidget is going wrong
Comment 8 Nicolas Fella 2023-12-23 13:02:26 UTC
*** Bug 478827 has been marked as a duplicate of this bug. ***
Comment 9 Nicolas Fella 2023-12-23 13:12:48 UTC
This is very likely https://bugreports.qt.io/browse/QTBUG-120191
Comment 10 Antonio Rojas 2023-12-29 16:10:16 UTC
*** Bug 479160 has been marked as a duplicate of this bug. ***
Comment 11 Antonio Rojas 2023-12-29 16:11:43 UTC
*** Bug 479161 has been marked as a duplicate of this bug. ***
Comment 12 Nicolas Fella 2024-01-13 19:18:48 UTC
*** Bug 479754 has been marked as a duplicate of this bug. ***
Comment 13 Antonio Rojas 2024-01-13 23:37:38 UTC
*** Bug 479772 has been marked as a duplicate of this bug. ***
Comment 14 Nate Graham 2024-01-17 01:13:27 UTC
*** Bug 478804 has been marked as a duplicate of this bug. ***
Comment 15 Nate Graham 2024-01-17 01:13:30 UTC
*** Bug 479047 has been marked as a duplicate of this bug. ***
Comment 16 Nate Graham 2024-01-19 19:35:33 UTC
*** Bug 480057 has been marked as a duplicate of this bug. ***
Comment 17 Nate Graham 2024-01-23 18:22:41 UTC
*** Bug 480187 has been marked as a duplicate of this bug. ***
Comment 18 Rune 2024-01-23 22:48:22 UTC
Not sure which package update was responsible, but on arch (Qt 6.7.0, Linux 6.7.1, Plasma 5.92.0 and Frameworks 5.248.0), this seems to be fixed.
Comment 19 Francois C. 2024-01-24 00:35:17 UTC
(In reply to Rune from comment #18)
> Not sure which package update was responsible, but on arch (Qt 6.7.0, Linux
> 6.7.1, Plasma 5.92.0 and Frameworks 5.248.0), this seems to be fixed.

I will have to wait for Qt 6.7. Gentoo is still at Qt 6.6.1 and I'm trying to avoid -9999 (live build) packages unless I really have to.