Applications that create absurdly large windows can break the desktop
Bug #862455 reported by
Sam Spilsbury
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Unity |
Triaged
|
Medium
|
Unassigned | ||
unity (Ubuntu) |
Triaged
|
Medium
|
Unassigned |
Bug Description
The window fails to bind to a texture because it is absurdly large. X also slows to a crawl. What is happeneing
1) Window fails to bind so the user gets left with garbage on their screen
2) The decorator can't handle pixmap type decorations for windows > mts, so it switches to 2D mode temporarily, but this is not maintained or supported
3) Things on the desktop start to crash
As a workaround until we can
1) Merge in the new decorator which isn't broken in 2D Mode
2) Enable copytex
We should just hide these windows and prevent them from causing trouble. In that case compiz will warn.
Related branches
Changed in unity: | |
importance: | Undecided → Medium |
Changed in unity (Ubuntu): | |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in unity: | |
status: | New → Confirmed |
Changed in unity: | |
status: | Confirmed → Triaged |
Changed in unity (Ubuntu): | |
status: | Confirmed → Triaged |
To post a comment you must log in.
What version of Ubuntu is this happening on? And what hardware and graphics driver/s? If it is ocurring with the radeon driver it might be solved by this upstream commit to xf86-video-ati
author Jerome Glisse 2012-11-14 17:15:47 (GMT) 5223c28d5129a79 694165048d f1c5296ff802c50 2f680041b9
committer Jerome Glisse 2012-11-15 17:07:11 (GMT)
commit 53af6aa99dfb67b
tree 755367c6ee44895
radeon: avoid segfault when pixmap exceed GPU capabilities
We might get a request for a pixmap/drawable that is too big
for GPU capabilities in the dri2 get buffer path. In face of
such things just return NULL to dri2 get buffer request. The
GL driver should then use something like transparent black to
avoid something too ugly on the screen.
Signed-off-by: Jerome Glisse
Reviewed-by: Michel Dänzer