Opened 9 years ago

Closed 2 years ago

#622 closed defect (fixed)

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

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

Description

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ář 9 years ago.

Download all attachments as: .zip

Change History (3)

by Jakub Jermář, 9 years ago

comment:1 by Martin Decky, 9 years ago

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: http://lists.modry.cz/private/helenos-devel/2013-April/006485.html

comment:2 by Jiri Svoboda, 2 years ago

Milestone: 0.11.1
Resolution: fixed
Status: newclosed

Since 0.11.1 and the new window system / UI library, Launcher will not allow resizing its window to be too small to fit the UI controls, so this problem is fixed.

Note: See TracTickets for help on using tickets.