Bug 478761 - Review dialog height isn't limited and can vertically overflow
Summary: Review dialog height isn't limited and can vertically overflow
Status: CONFIRMED
Alias: None
Product: Discover
Classification: Applications
Component: discover (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR minor
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2023-12-20 10:22 UTC by Harald Sitter
Modified: 2024-01-19 03:48 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Harald Sitter 2023-12-20 10:22:03 UTC
SUMMARY
when you put too many lines in the review the textarea happily grows in height until you no longer see what you are writing


STEPS TO REPRODUCE
1. go to an app page
2. click on 'write a review'
3. copy past foo\n a million times in the textarea

OBSERVED RESULT
lines start disappearing

EXPECTED RESULT
textarea should probably a) be scrollable and b) there should be some sort of limit so people don't try to input entire novels (I'm guessing there's also a server side limit of sorts?)

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.90.0
KDE Frameworks Version: 5.247.0
Qt Version: 6.6.1
Kernel Version: 6.2.0-39-generic (64-bit)
Graphics Platform: offscreen
Processors: 12 × AMD Ryzen 5 3600X 6-Core Processor
Memory: 31.2 GiB of RAM
Graphics Processor: AMD Radeon RX 5700 XT
Comment 1 Nate Graham 2024-01-19 03:48:25 UTC
When I give this a try, the whole popup becomes scrollable, even if the textfield itself isn't. So there's never a case where I can't see the text I typed.

But I could see the argument that the text field itself should be bounded in height and should be scrollable instead of the containing popup.