Bug 448629 - Clipboard edit lacks scrollbars, which makes long texts inaccessible
Summary: Clipboard edit lacks scrollbars, which makes long texts inaccessible
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Clipboard widget & pop-up (other bugs)
Version First Reported In: 5.23.90
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2022-01-16 23:33 UTC by Gabriel
Modified: 2022-01-18 14:47 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In: 5.24
Sentry Crash Report:


Attachments
Example of text going past the edges (24.02 KB, image/png)
2022-01-16 23:33 UTC, Gabriel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gabriel 2022-01-16 23:33:44 UTC
Created attachment 145565 [details]
Example of text going past the edges

SUMMARY
The clipboard edit function doesn't have scrollbars, so when text strings that are too long (either vertically or horizontally), they will not be visible past the edges. Text that is outside what can be displayed is thus inaccessible and difficult to edit.

STEPS TO REPRODUCE
1. Copy text containing many rows, or a long text string without spaces
2. Open clipboard
3. Click "Edit contents"

OBSERVED RESULT
The text that doesn't fit the edit box will not be viewable and can't be scrolled to

EXPECTED RESULT
There are scrollbars, allowing you to see and edit all of the copied text

SOFTWARE
OS: KDE neon Testing Edition
KDE Plasma Version: 5.23.90
KDE Frameworks Version: 5.91.0
Qt Version: 5.15.3
Comment 1 Bug Janitor Service 2022-01-18 13:33:43 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/1373
Comment 2 Fushan Wen 2022-01-18 14:46:22 UTC
Git commit 25f821608fb409357856d6563daa99331ff723b2 by Fushan Wen.
Committed on 18/01/2022 at 13:45.
Pushed by fusionfuture into branch 'master'.

applets/clipboard: Add scrollbar to EditPage

This nests PC3.TextArea within PC3.ScrollView, so when text is too long,
a vertical scrollbar will be shown.
FIXED-IN: 5.24

M  +16   -9    applets/clipboard/contents/ui/EditPage.qml

https://invent.kde.org/plasma/plasma-workspace/commit/25f821608fb409357856d6563daa99331ff723b2
Comment 3 Fushan Wen 2022-01-18 14:47:06 UTC
Git commit b027fd9ca8fca2388f8bd2d3b7d0f3bb47d5ab07 by Fushan Wen.
Committed on 18/01/2022 at 14:47.
Pushed by fusionfuture into branch 'Plasma/5.24'.

applets/clipboard: Add scrollbar to EditPage

This nests PC3.TextArea within PC3.ScrollView, so when text is too long,
a vertical scrollbar will be shown.
FIXED-IN: 5.24


(cherry picked from commit 25f821608fb409357856d6563daa99331ff723b2)

M  +16   -9    applets/clipboard/contents/ui/EditPage.qml

https://invent.kde.org/plasma/plasma-workspace/commit/b027fd9ca8fca2388f8bd2d3b7d0f3bb47d5ab07