Opened 6 years ago

Last modified 6 years ago

#9748 new enhancement

Zoom button doesn't work after reboot

Reported by: Giova84 Owned by: stippi
Priority: normal Milestone: R1
Component: User Interface Version: R1/Development
Keywords: Zoom button resize window doesn't work after reboot Cc:
Blocked By: Blocking:
Has a Patch: no Platform: x86


I generally use applications to full window (not fullscreen) mode, by clicking on the zoom button ( Number 4), but sometimes i'd like to have these apps/windows resized, so i click again on the zoom button to have these apps to the last resized dimension, but when i click on zoom button nothing happens [NOTE1]. To have this behaviour i have to do this:

1: start with the application in full window mode 2 resize the window as i wish 3: now when i click on zoom button i can properly expand and resize the window

this way also works if i close an application, but at the next reboot the "resized" dimension of applications seems lost and the situation back as [NOTE1]

So, should be a window dimension, saved?


Change History (9)

comment:1 Changed 6 years ago by Giova84

Seems that i cannot change ticket's description. The image url was wrong, this is the correct url: (Number 4)

comment:2 Changed 6 years ago by axeld

The link seems to be identical.

Apart from that, the default implementation of the zoom button is to switch from the current window size to full screen and back. If the current window size already is full screen, there is not much to be done about that, obviously.

comment:3 Changed 6 years ago by Giova84

For a moment the first link gave me a 404 error, so surely was a temporary issue.

About the ticket: i understand, so can be changed as enhancement, to have the window dimension stored? I mean enhancement because if we start a full window, to have this window resized we should use the resize corner (6 in the image) or ctrl+alt, and if the windowed mode can be stored this could be a very quick way and plus we can set a window to fit a particular position on the screen (i hope to be clear :-) )

comment:4 Changed 6 years ago by Giova84

The behaviour which i describe is available in other operating systems. With this i don't mean that Haiku should copy or steal behaviours from others OS: i just mean to improve the user experience :-)

comment:5 Changed 6 years ago by Giova84

Type: bugenhancement

comment:6 Changed 6 years ago by axeld

I didn't mean to judge the validity of the issue, I just wanted to explain why it happens. In any case, this should be improved, indeed.

comment:7 Changed 6 years ago by Giova84

Hey Axel, don't you worry: i have understand your reply :-) And i have voiced my idea after your explanation :-)

comment:8 Changed 6 years ago by stippi

IIRC in WonderBrush, I specifically handle this situation. When started in full-screen, it will just reduce the window size. I think nothing happening is always bad, so this should be made the BWindow default behavior.

comment:9 Changed 6 years ago by axeld

The problem is that unless you are using the layout API, the system has no idea about a good or even usable reduced size. So while this can be easily solved at application level, I'm not sure there is an acceptable solution for doing this in BWindow.

Note: See TracTickets for help on using tickets.