Fork us on GitHub Follow us on Facebook Follow us on Twitter

Opened 7 years ago

Last modified 7 years ago

#622 new defect

Window contents wraps around when the window is resized and its contents does not fit

Reported by: Jakub Jermář Owned by:
Priority: major Milestone:
Component: helenos/gui Version: mainline
Keywords: Cc:
Blocker for: Depends on:
See also:


I noticed a strange behaviour on window resize (screenshot attached).

For example, when the vlaunch window is resized so that the HelenOS logo does not entirely fit inside, a couple of the pixels that no longer fit (on the right) wrap around and are displayed on the left, before the first pixels of the logo.

Another example is how the buttons look when the window is resized so that they no longer entirely fit inside. In that case, the buttons are displayed at the expense of the window border.

Attachments (1)

Screenshot from 2015-02-18 19:30:29.png (7.3 KB) - added by Jakub Jermář 7 years ago.

Download all attachments as: .zip

Change History (2)

Changed 7 years ago by Jakub Jermář

comment:1 Changed 7 years ago by Martin Decky

Yes, this is a long-standing issue of the current widget rendering model and client-side window decorations. In a nutshell, there is no simple generic support for clipping regions. Thus every widget is responsible for properly implementing its clipping and most widgets don't actually do that.

There is also no support for client area relative coordinates and as the window decorations are drawn by the client before other widgets and the other widgets don't implement the clipping, they can overdraw the window decorations.

Related stuff has been discussed way back in 2013:

Note: See TracTickets for help on using tickets.