Bug 508923

Summary: Sidebar visibility not remembered
Product: [Applications] konqueror Reporter: Dorin-Andrei Felea <megadorin4>
Component: generalAssignee: Konqueror Bugs <konqueror-bugs-null>
Status: RESOLVED FIXED    
Severity: minor CC: stefano.crocco
Priority: NOR    
Version First Reported In: 25.08.0   
Target Milestone: ---   
Platform: CachyOS   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: (obsolete) Me right-clicking the Sidebar in Konqueror and then left-clicking the file manager view
(fixed video) Me right-clicking the Sidebar in Konqueror and then left-clicking the file manager view

Description Dorin-Andrei Felea 2025-08-30 08:13:36 UTC
SUMMARY
Sidebar visibility not remembered and context menu weirdness, file management view does not respect tabbing/browsing settings

STEPS TO REPRODUCE
1. Open Konqueror
2. (Sidebar) Enable "Show Sidebar" in Settings menu bar, quit Konqueror then re-open it
   (Sidebar context menu) Right-click on sidebar, then click away
   (File management) Open a folder
3. See the issue

OBSERVED RESULT
- Sidebar visibility is not remembered on quit/restart or new windows.
- Sidebar context menu brings up the sidebar configuration menu, but is immediately followed by file/folder context menu (possibly pass-through effect?)
- File manager view does not respect settings such as "Open links/popups in new tab instead of new window" or "Open as tab in existing Konqueror when URL is called externally" and opens them in a separate window anyways.

EXPECTED RESULT
Sidebar remaining visible on quit/restart, no file/folder context menu immediately after sidebar config menu, folders opening in existing Konqueror window/tab instead of new windows.

SOFTWARE/OS VERSIONS
Operating System: CachyOS Linux 
KDE Plasma Version: 6.4.4
KDE Frameworks Version: 6.17.0
Qt Version: 6.9.1
Kernel Version: 6.16.3-2-cachyos (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Core™ i5-7500T CPU @ 2.70GHz
Memory: 32 GiB of RAM (31.2 GiB usable)
Graphics Processor: Intel® HD Graphics 630
Comment 1 Stefano Crocco 2025-08-30 10:23:32 UTC
(In reply to Dorin-Andrei Felea from comment #0)
> SUMMARY
> Sidebar visibility not remembered and context menu weirdness, file
> management view does not respect tabbing/browsing settings
> 
> STEPS TO REPRODUCE
> 1. Open Konqueror
> 2. (Sidebar) Enable "Show Sidebar" in Settings menu bar, quit Konqueror then
> re-open it
>    (Sidebar context menu) Right-click on sidebar, then click away
>    (File management) Open a folder
> 3. See the issue
> 
> OBSERVED RESULT
> - Sidebar visibility is not remembered on quit/restart or new windows.
> - Sidebar context menu brings up the sidebar configuration menu, but is
> immediately followed by file/folder context menu (possibly pass-through
> effect?)
> - File manager view does not respect settings such as "Open links/popups in
> new tab instead of new window" or "Open as tab in existing Konqueror when
> URL is called externally" and opens them in a separate window anyways.
> 
> EXPECTED RESULT
> Sidebar remaining visible on quit/restart, no file/folder context menu
> immediately after sidebar config menu, folders opening in existing Konqueror
> window/tab instead of new windows.

You're reporting three different issues: could you please create a bug report for each, so that the status of each bug can be tracked separately?

The fact that the sidebar doesn't remain visible is known and it's caused by the fact that the sidebar is treated like any other view. A proper fix for this issue would require changing how the sidebar is handled, which requires a lot of time. Due to how Konqueror code is, any other way to solve the problem is likely to break something else. I'll try looking into it, however.

I can confirm the issue with the file manager not respecting the settings and I'll try to fix them as soon as possible.

Regarding the context menu, I'm not sure I understood how to reproduce it:
- when you say to right click on the sidebar, do you mean on the border where the icons are or on the content of the sidebar? If on the content, which sidebar entry are you clicking on? If on the border, on a specific icon or in the empty space?
- when you say to click away, is there a specific place I should click?
I tried several combinations of the above, but everything seems to work as expected.
Comment 2 Dorin-Andrei Felea 2025-08-30 13:59:47 UTC
(In reply to Stefano Crocco from comment #1)
> (In reply to Dorin-Andrei Felea from comment #0)
> > SUMMARY
> > Sidebar visibility not remembered and context menu weirdness, file
> > management view does not respect tabbing/browsing settings
> > 
> > STEPS TO REPRODUCE
> > 1. Open Konqueror
> > 2. (Sidebar) Enable "Show Sidebar" in Settings menu bar, quit Konqueror then
> > re-open it
> >    (Sidebar context menu) Right-click on sidebar, then click away
> >    (File management) Open a folder
> > 3. See the issue
> > 
> > OBSERVED RESULT
> > - Sidebar visibility is not remembered on quit/restart or new windows.
> > - Sidebar context menu brings up the sidebar configuration menu, but is
> > immediately followed by file/folder context menu (possibly pass-through
> > effect?)
> > - File manager view does not respect settings such as "Open links/popups in
> > new tab instead of new window" or "Open as tab in existing Konqueror when
> > URL is called externally" and opens them in a separate window anyways.
> > 
> > EXPECTED RESULT
> > Sidebar remaining visible on quit/restart, no file/folder context menu
> > immediately after sidebar config menu, folders opening in existing Konqueror
> > window/tab instead of new windows.
> 
> You're reporting three different issues: could you please create a bug
> report for each, so that the status of each bug can be tracked separately?
> 
> The fact that the sidebar doesn't remain visible is known and it's caused by
> the fact that the sidebar is treated like any other view. A proper fix for
> this issue would require changing how the sidebar is handled, which requires
> a lot of time. Due to how Konqueror code is, any other way to solve the
> problem is likely to break something else. I'll try looking into it, however.
> 
> I can confirm the issue with the file manager not respecting the settings
> and I'll try to fix them as soon as possible.
> 
> Regarding the context menu, I'm not sure I understood how to reproduce it:
> - when you say to right click on the sidebar, do you mean on the border
> where the icons are or on the content of the sidebar? If on the content,
> which sidebar entry are you clicking on? If on the border, on a specific
> icon or in the empty space?
> - when you say to click away, is there a specific place I should click?
> I tried several combinations of the above, but everything seems to work as
> expected.

Hello,

I'll try making separate bug reports for the other two issues.
Also, regarding the context menu, it seems the issue is caused by first right-clicking within the sidebar tab area, then left-clicking anywhere within the file manager/browser area, as far as I can reproduce it.

Thank you for looking into the issues.
Comment 3 Stefano Crocco 2025-08-31 17:25:27 UTC
> Also, regarding the context menu, it seems the issue is caused by first
> right-clicking within the sidebar tab area, then left-clicking anywhere
> within the file manager/browser area, as far as I can reproduce it.

I'm not able to reproduce it. This is what I'm doing:
- show the sidebar (without opening any panel in it)
- open the home directory in the main window
- right-click on an empty area of the sidebar: I get a popup menu with: add new, multiple views, show tabs on right, show configuration button, close side bar
- left-click on the file manager view: the menu disappears as expected
I also tried:
- right-clicking on a button in the sidebar instead of clicking on an empty space. The result is the same (of course, the contents of the popup menu are different)
- opening the bookmarks panel in the sidebar and right-clicking inside it: in this case, I don't get any popup menus
- opening the places panel in the sidebar and right-clicking inside it: I get a popup menu which disappears when I click in the file manager view
- opening the home folder or the root folder panels in the sidebar: in this case, right clicking on a folder shows the folder in the main window (which may be unexpected, as usually a right click shows a context menu, but it's still not what you are experiencing)

Is there anything I'm doing differently from you?
Comment 4 Dorin-Andrei Felea 2025-08-31 19:02:15 UTC
Nope, same exact steps. Strange.
Comment 5 Dorin-Andrei Felea 2025-08-31 19:06:44 UTC
Created attachment 184611 [details]
(obsolete) Me right-clicking the Sidebar in Konqueror and then left-clicking the file manager view
Comment 6 Dorin-Andrei Felea 2025-08-31 19:10:34 UTC
Created attachment 184613 [details]
(fixed video) Me right-clicking the Sidebar in Konqueror and then left-clicking the file manager view

Had to re-record the video because Spectacle doesn't record context menus in Window Selection mode
Comment 7 Stefano Crocco 2025-09-06 09:33:10 UTC
(In reply to Dorin-Andrei Felea from comment #6)
> Created attachment 184613 [details]
> (fixed video) Me right-clicking the Sidebar in Konqueror and then
> left-clicking the file manager view
> 
> Had to re-record the video because Spectacle doesn't record context menus in
> Window Selection mode

It seems this a Wayland-related issue: I couldn't reproduce it on X11, but as soon as I switched to Wayland, it appeared on my system, too. I'll try to find out why it happens.
Comment 8 Stefano Crocco 2025-09-07 15:36:06 UTC
I found a fix for the context menu problem (see merge request https://invent.kde.org/network/konqueror/-/merge_requests/444). I think this will be included in 25.08.1, but I'm not sure.

I'll close this bug report as fixed, even if the status bar visibility of it hasn't been fixed as yet because, as I've written before, that will most likely take a long time. Please, open a new bug report for the status bar visibility issue.