Software Centre expands its window to 19122x951 when 65536-character string is pasted into search box
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
software-center (Ubuntu) |
Triaged
|
Medium
|
Unassigned |
Bug Description
1. Paste a long string into the Software Centre search box, and keep pasting it.
2. Eventually
3. SC window resizes to 19122x951, with various bits of the window no longer drawing as expected.
xwininfo: Window id: 0x2e00089 "Ubuntu Software Centre"
Absolute upper-left X: 373
Absolute upper-left Y: 189
Relative upper-left X: 1
Relative upper-left Y: 29
Width: 19122
Height: 951
Depth: 24
Visual: 0x21
Visual Class: TrueColor
Border width: 0
Class: InputOutput
Colormap: 0x20 (installed)
Bit Gravity State: NorthWestGravity
Window Gravity State: NorthWestGravity
Backing Store State: NotUseful
Save Under State: no
Map State: IsViewable
Override Redirect State: no
Corners: +373+189 --18095+189 --18095--90 +373--90
-geometry 19122x951+372--91
String used (happened to be in clipboard) should be attached, as it doesn't fit here when trying to file the bug report on Launchpad, but given the suspicous length of 65536 bytes, it's likely that any string will do.
Ideally, Software Centre should not resize its window in response to unrelated input.
Status changed to 'Confirmed' because the bug affects multiple users.