Bug 471519 - TextArea is only displaying a portion of a long toot
Summary: TextArea is only displaying a portion of a long toot
Status: RESOLVED FIXED
Alias: None
Product: Tokodon
Classification: Applications
Component: general (show other bugs)
Version: 23.04.2
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-28 00:47 UTC by Daniel Holgerson
Modified: 2023-10-13 02:03 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Holgerson 2023-06-28 00:47:02 UTC
SUMMARY
When editing an overly lengthy toot only a maximum of 710 chars are editable in the text-area. 

STEPS TO REPRODUCE
1.  Click on the 3-circle menu below the post
2.  Click Edit in context menu

OBSERVED RESULT
The text-area simply isn't scrollable, not with the scroll wheel or cursor keys. The scrollbar isn't displayed, although the full text is contained in the text-area, because with CTRL+A and CTRL+C the whole text is copied to the clipboard.

EXPECTED RESULT
Be able to scroll


SOFTWARE/OS VERSIONS
Linux/KDE Plasma
KDE Plasma Version: 5.27.6
KDE Frameworks Version: 5.107.0
Qt Version: 5.15.0

ADDITIONAL INFORMATION
Applicatiom Style: Layan
Plasma Style: Layan
Colors: Layan
Window Decorations: Layan
Fonts: Inter V
Icons: Tela dark
Comment 1 Joshua Goins 2023-06-28 11:36:29 UTC
Thanks for reporting, I guess none of us has tested with a server that allows over >500 characters :D
Comment 2 Bug Janitor Service 2023-09-11 19:10:54 UTC
A possibly relevant merge request was started @ https://invent.kde.org/network/tokodon/-/merge_requests/357
Comment 3 Joshua Goins 2023-09-12 13:02:34 UTC
Git commit e358042cd0a02327037d0f8aa3a1730d6ab0788c by Joshua Goins.
Committed on 12/09/2023 at 14:40.
Pushed by redstrate into branch 'master'.

Use the TextArea's implicitHeight when calculating composer height

This enables the text to overflow properly, and scroll the page if
needed. Affects users of servers of character limits >500.

M  +1    -1    src/content/ui/StatusComposer/StatusComposer.qml

https://invent.kde.org/network/tokodon/-/commit/e358042cd0a02327037d0f8aa3a1730d6ab0788c
Comment 4 Joshua Goins 2023-09-13 09:34:47 UTC
Git commit dc2974f149d8329fa5093a2bccf0cf6c80de4a91 by Joshua Goins.
Committed on 12/09/2023 at 17:34.
Pushed by carlschwan into branch 'release/23.08'.

Use the TextArea's implicitHeight when calculating composer height

This enables the text to overflow properly, and scroll the page if
needed. Affects users of servers of character limits >500.
(cherry picked from commit e358042cd0a02327037d0f8aa3a1730d6ab0788c)

M  +1    -1    src/content/ui/StatusComposer/StatusComposer.qml

https://invent.kde.org/network/tokodon/-/commit/dc2974f149d8329fa5093a2bccf0cf6c80de4a91
Comment 5 Ikel Atomig 2023-10-13 02:03:04 UTC
(In reply to Joshua Goins from comment #1)

Well, I do have account in one such server. Will see when the bug fix is released.