Bug 440349 - Small RTL copied text is totally hidden on mouse hovering when using a LTR primary writing system
Summary: Small RTL copied text is totally hidden on mouse hovering when using a LTR pr...
Status: CONFIRMED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Clipboard widget & pop-up (show other bugs)
Version: 5.22.3
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2021-07-28 09:16 UTC by medin
Modified: 2021-07-28 15:13 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Small RTL copied text is totally hidden on mouse hovering (369.65 KB, video/mp4)
2021-07-28 09:16 UTC, medin
Details
Move hidden RTL text to left (127.86 KB, image/png)
2021-07-28 15:04 UTC, medin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description medin 2021-07-28 09:16:35 UTC
Created attachment 140365 [details]
Small RTL copied text is totally hidden on mouse hovering

When a small RTL text is copied, then mouse pointer passes over it in Klipper that text becomes totally hidden. See attached video for more info.
Comment 1 Nate Graham 2021-07-28 13:42:17 UTC
Yeah this is semi-intentional. We always position the buttons in the same place so that they don't change positions when list items are added, removed, etc. If we reversed the position for RTL text items, the buttons would jump around and we would get bug reports about that, I guarantee it. People would hate that. People hate UI elements jumping around just as a general thing.

When using the whole system in RTL move, the buttons move over to the left side as expected though.
Comment 2 medin 2021-07-28 14:31:33 UTC
Wouldn't be best if the text is detected as RTL to be pushed to left by the width of those buttons. Or at least give user an option to decrease the number of those buttons, because only remove button is useful, the others like barcode (I don't know who came with this weird function inside Klipper), Edit (editing is always done in target app where item is copied) and Invoke are rarely (or never) used.
Comment 3 Nate Graham 2021-07-28 14:50:56 UTC
No, because then the buttons would jump around depending on the content. This is exactly what we are trying to avoid.

I don't disagree that those other buttons are rarely used and not very useful, but please open another bug report about that. :)
Comment 4 medin 2021-07-28 15:03:28 UTC
(In reply to Nate Graham from comment #3)
> No, because then the buttons would jump around depending on the content.
> This is exactly what we are trying to avoid.

What I meant is to move a little the text which is detected as RTL to left and not the buttons, at least to make the start of the copied text visible to user in order to avoid any accidental deletion or wrong click. See attached image for more info.
Comment 5 medin 2021-07-28 15:04:32 UTC
Created attachment 140371 [details]
Move hidden RTL text to left
Comment 6 Nate Graham 2021-07-28 15:13:00 UTC
Oh I see. Yeah that seems reasonable.