Bug 501462

Summary: `empty` icon used for "Create empty file" is nearly invisible especially with a dark theme
Product: [Frameworks and Libraries] frameworks-kio Reporter: nili <alb2talk>
Component: generalAssignee: KIO Bugs <kio-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: kainz.a, kdelibs-bugs, m, nate
Priority: NOR Keywords: usability
Version: 6.11.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In: 6.13
Sentry Crash Report:
Attachments: breeze-empty-icon

Description nili 2025-03-13 18:32:43 UTC
Created attachment 179373 [details]
breeze-empty-icon

SUMMARY

Blank icon of Breeze.

STEPS TO REPRODUCE
Right click on Desktop or Dolphin > Create New > Empty File...
There is a black square, on white theme may sound allright, but i use dark (Darkly), and it shown as black.

OBSERVED RESULT
https://invent.kde.org/frameworks/breeze-icons/-/issues/31#note_1144542

EXPECTED RESULT
To follow the theme/color schemes.

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20250311
KDE Plasma Version: 6.3.2
KDE Frameworks Version: 6.11.0
Qt Version: 6.8.2
Graphics Platform: Wayland
Comment 1 Nate Graham 2025-03-13 18:34:41 UTC
Can confirm.
Comment 2 Nate Graham 2025-03-14 17:29:08 UTC
Hmm, the `empty` icon appears to be a 256x256 placeholder for widget icons. It seems like we're misusing it in this context; at its full size; it looks okay even with a dark color scheme.
Comment 3 Nate Graham 2025-03-14 17:30:45 UTC
Git commit e0e876e1ca48b9f6c71b1f4c9309afdc836edbf4 by Nate Graham.
Committed on 14/03/2025 at 17:30.
Pushed by ngraham into branch 'master'.

Use appropriate icon for blank file

`empty` is not a MIME type icon, and it's intended for new Plasma
widgets. `none` is a MIME type icon and has a more appropriate
appearance here; let's use that.
FIXED-IN: 6.13

M  +1    -1    src/new_file_templates/EmptyFile.desktop

https://invent.kde.org/frameworks/kio/-/commit/e0e876e1ca48b9f6c71b1f4c9309afdc836edbf4