Opened 11 years ago

Last modified 3 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:
Platform: x86

Description

I generally use applications to full window (not fullscreen) mode, by clicking on the zoom button (http://www.haiku-os.org/docs/userguide/en/images/gui-images/gui.png 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?

hrev45606

Change History (11)

comment:1 by Giova84, 11 years ago

Seems that i cannot change ticket's description. The image url was wrong, this is the correct url: http://www.haiku-os.org/docs/userguide/en/images/gui-images/gui.png (Number 4)

comment:2 by axeld, 11 years ago

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 by Giova84, 11 years ago

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 by Giova84, 11 years ago

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 by Giova84, 11 years ago

Type: bugenhancement

comment:6 by axeld, 11 years ago

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 by Giova84, 11 years ago

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

comment:8 by stippi, 11 years ago

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 by axeld, 11 years ago

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.

comment:10 by Coldfirex, 3 years ago

So nothing to change in regards to this?

comment:11 by pulkomandy, 3 years ago

As mentionned in the two previous comments, we need to fix this in each application individually. And we need to do this for the applications bundled with Haiku at least, setting a good example that other applications can then follow.

Note: See TracTickets for help on using tickets.