After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 641648 - Add way to zoom into application for fullscreen modes
Add way to zoom into application for fullscreen modes
Status: RESOLVED OBSOLETE
Product: gnome-shell
Classification: Core
Component: general
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on: 707248
Blocks: 747578
 
 
Reported: 2011-02-06 06:41 UTC by Bastien Nocera
Modified: 2021-07-05 14:35 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Bastien Nocera 2011-02-06 06:41:56 UTC
Currently fullscreening movie players is although almost instantaneous, still not as smooth as it could be.

Other platforms offer subtle, yet animations when fullscreening and application. gnome-shell could make it easy to set a portion of a window as the portion to "zoom into".

Roughly it would be:
- user requests fullscreen playback
- Totem exports a region of the window as being the "fullscreen image" (this would be preferable to exporting a whole widget as aspect ratio, centering, etc. needs to be respected)
- gnome-shell/mutter "zooms" into that image (or scales it) for a fullscreen view
- Totem takes over real display

Defullscreening could take a similar path, but this would be very complicated if we needed to wait for the window itself to be fully drawn.

This could also be very useful for presentation software and games switching between embedded or windowed modes, and fullscreen.
Comment 1 Martin Robinson 2011-11-30 13:05:49 UTC
I did a brief look at the Cocoa API and there seems to be some nice communication between the window manager and the user-level API. Here's a quick tutorial on how you do fullscreen animations on Cocoa:  http://cocoawithlove.com/2009/08/animating-window-to-fullscreen-on-mac.html

It seems that the NSWindow also receives notifications at various phases of fullscreening:
http://developer.apple.com/library/mac/documentation/Cocoa/Reference/ApplicationKit/Classes/NSWindow_Class/Reference/Reference.html#//apple_ref/doc/uid/20000013-DontLinkElementID_4

Perhaps some of these things could happen in GTK+ by tracking XWindow properties.
Comment 2 Bastien Nocera 2014-07-28 16:23:48 UTC
Cosimo implemented an animation to zoom into fullscreen applications, but we're still missing a way for applications to export the "content" area. This is important when the screen aspect ratio is different from the application (which might be windowed)'s aspect ratio, as well as to avoid showing header bars and status bars in the zoom animation.
Comment 3 GNOME Infrastructure Team 2021-07-05 14:35:58 UTC
GNOME is going to shut down bugzilla.gnome.org in favor of  gitlab.gnome.org.
As part of that, we are mass-closing older open tickets in bugzilla.gnome.org
which have not seen updates for a longer time (resources are unfortunately
quite limited so not every ticket can get handled).

If you can still reproduce the situation described in this ticket in a recent
and supported software version, then please follow
  https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines
and create a new ticket at
  https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/

Thank you for your understanding and your help.