Bug 494939

Summary: The "Add Network Folder" button retains its icon when toolbar button icons are disabled
Product: [Applications] dolphin Reporter: Roke Julian Lockhart Beedell <4wy78uwh>
Component: bars: locationAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: CONFIRMED ---    
Severity: minor CC: kdedev, kfm-devel
Priority: NOR    
Version First Reported In: 24.08.2   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=505438
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Screenshot depicting "Toolbar Settings" (PNG for `#c0`).
Screenshot depicting button icon (PNG for `#c0`).
A Screenshot Of The QToolButton

Description Roke Julian Lockhart Beedell 2024-10-17 16:10:55 UTC
Created attachment 174949 [details]
Screenshot depicting "Toolbar Settings" (PNG for `#c0`).

SUMMARY
-------
*Solely* the "Add Network Folder"-labelled button displayed in the toolbar (by `dolphin`) at `remote:/` doesn't adhere to the application-specific and DE-wide icon presence preference(s).

STEPS TO REPRODUCE
------------------

1. Invoke `kcmshell6 'kcm_style'`.
2. Select "Configure Icons and Toolbars..."
3. Deselect "Main toolbar label" and "Secondary toolbar label".

4. Invoke `dolphin` via the undermentioned:

   > ```desktop
   > [Desktop Entry]
   > Type=Link
   > URL[$e]=remote:/
   > 
   > ```

   OBSERVED RESULT
   ---------------
   You'll see an icon on solely the "Add Network Folder" button.

   EXPECTED RESULT
   ---------------
   There shouldn't be one.

   ADDITIONAL INFORMATION
   ----------------------
   I'll attach a screenshot of this.

5. Secondary-click the "Add Network Folder" button.

6. Select "Text Position".

   OBSERVED RESULT
   ---------------
   "Text-only" is selected.

   EXPECTED RESULT
   ---------------

   Either:

   - That option *at least* shouldn't be (pre)selected, with the icon present (until the fundamental problem has been remediated) or, better yet:
   - It should remain selected, and the icon should be absent.

   ADDITIONAL INFORMATION
   ----------------------
   I've attached a screenshot of this.

SOFTWARE/OS VERSIONS
--------------------

1. `kinfo`

2. > ```YAML
   >       Operating System: Fedora Linux 40
   >     KDE Plasma Version: 6.2.0
   > KDE Frameworks Version: 6.7.0
   >             Qt Version: 6.7.2
   >         Kernel Version: 6.11.3-200.fc40.x86_64 (64-bit)
   >      Graphics Platform: Wayland
   >             Processors: 12 × AMD Ryzen 5 7600X 6-Core Processor
   >                 Memory: 30.5 GiB of RAM
   >     Graphics Processor: AMD Radeon RX 5700
   > ```
Comment 1 Roke Julian Lockhart Beedell 2024-10-17 16:11:15 UTC
Created attachment 174950 [details]
Screenshot depicting button icon (PNG for `#c0`).
Comment 2 TraceyC 2024-11-04 23:27:14 UTC
I can confirm this behavior on Dolphin compiled from sources running on git-master
Comment 3 Roke Julian Lockhart Beedell 2025-06-10 15:26:10 UTC
Created attachment 182149 [details]
A Screenshot Of The QToolButton