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

            Bug ID: 489010
           Summary: Copying error messages from Dolphin with Ctrl+C will
                    copy selected files instead of text
    Classification: Applications
           Product: dolphin
           Version: 24.05.1
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: dolphin-bugs-n...@kde.org
          Reporter: eamonn...@protonmail.com
                CC: kfm-de...@kde.org
  Target Milestone: ---

SUMMARY
If Dolphin displays an error, such as "WorkingDirectory= may not be below
/proc/, /sys/ or /dev/", it will not copy the text but instead will copy
nothing, or the selected file.

I noticed this when reporting Bug 489008 when I tried to copy the error message
shown there, and couldn't paste it into the issue title. I checked my clipboard
contents and saw that the selected file was being copied. This problem may
apply generally to any time Dolphin shows these kinds of bubbles.

Right-clicking on this text after selecting it will show the "Copy" option,
which works, but there is no "Ctrl+C" shortcut description beside it, so
perhaps this is intentional or a missing feature. Clicking on this message box
will correctly "unfocus" the selected item in the files pane, dimming the
accent colour, so I imagine the pane is losing focus. Perhaps these bubbles
just need to be wired up to enable Ctrl+C?

If it is not intended for this message to work with Ctrl+C, then the text
should not be selectable, and pressing Ctrl+C should still probably not copy
the files as the selection colour is dimmed implying it is not focused. But it
would be nice if these errors could be copied, in case a user needs to talk
about them online or anything :-)

STEPS TO REPRODUCE
1. Trigger Dolphin to display an in-window warning, such as by trying to open a
file in /dev on Plasma 6.1.0.
2. Select the text in this warning and attempt to copy it with Ctrl+C
3. The text will not be copied, you have to right click on the selection and
choose "Copy"

OBSERVED RESULT
Messages in warning/error sections in Dolphin cannot be copied with Ctrl+C, and
it will instead copy any selected files instead of the error contents.

EXPECTED RESULT
Messages should be able to be copied with Ctrl+C because they can be copied by
right clicking and choosing "Copy". If it is intentional that these messages
cannot be copied with Ctrl+C, then at least, nothing should be copied including
any selected files, as the pane with the selection is dimmed visually implying
that the selection is not focused and so won't be copied.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 6.9.5 Linux Zen
KDE Plasma Version: 6.1.0
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.1

ADDITIONAL INFORMATION
I have only tested with one warning message, that is the one from Bug 489008,
but I can test others if you can direct me on how to trigger some of them.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to