[dolphin] [Bug 491712] New: Text file with extension other than .txt has an empty icon unless you put content in it.

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Wed Aug 14 13:24:42 BST 2024


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

            Bug ID: 491712
           Summary: Text file with extension other than .txt has an empty
                    icon unless you put content in it.
    Classification: Applications
           Product: dolphin
           Version: 24.05.2
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: dolphin-bugs-null at kde.org
          Reporter: kocelfc at tutanota.com
                CC: kfm-devel at kde.org
  Target Milestone: ---

If you try to create a text file with an extension other than .txt by using
Create New > Text file, the file that gets created has an empty icon and
appears as "Empty document" in the properties of the file until you open it,
and edit it to put something in it with Kate for example.

I tested a Live ISO with Fedora 40 KDE which has KDE Plasma 6.0.3 and Dolphin
24.02.1 and the file is created with an icon, and in properties it appears as
"Plain text document".

STEPS TO REPRODUCE
1. Create a new text file with an extension different than .txt (for example
.cfg or .conf)
2. Notice that the icon is empty and it's listed as "Empty document" in
properties
3. Edit the file with Kate and put something in it.
4. The file has an icon now and it appears as "Plain text document"

OBSERVED RESULT

File is created with no icon

EXPECTED RESULT

File has an icon

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.4.0
Qt Version: 6.7.2
Kernel Version: 6.6.45-1-lts (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 7800X3D 8-Core Processor
Memory: 30.4 GiB of RAM
Graphics Processor: AMD Radeon RX 6800

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the kfm-devel mailing list