Bug 771 - NEWT MonitorMode change post fullscreen: Window's size shall adapt.
Summary: NEWT MonitorMode change post fullscreen: Window's size shall adapt.
Status: RESOLVED FIXED
Alias: None
Product: Newt
Classification: JogAmp
Component: core (show other bugs)
Version: 1
Hardware: All all
: --- enhancement
Assignee: Sven Gothel
URL:
Depends on: 770
Blocks:
  Show dependency treegraph
 
Reported: 2013-06-30 18:14 CEST by Sven Gothel
Modified: 2013-07-04 14:48 CEST (History)
0 users

See Also:
Type: ---
SCM Refs:
205a17de1abec614d3d06386f873170fc1691e86 fa6e868a72b8fb3de8c96afbd71ab4d3ad33f6b6
Workaround: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sven Gothel 2013-06-30 18:14:00 CEST
Use Case:
 - window: set Fullscreen on n-monitor
 - change a monitor's mode, part of window's fullscreen mode

Natural behavior is a changed fullscreen window size,
according to the changed monitors which are part of the fullscreen mode.

This required remedy of Bug 770,
i.e. X11/Fullscreen must be issued in dedicated mode
- impossible w/ _NET_WM_STATE_FULLSCREEN.
Comment 1 Sven Gothel 2013-07-02 16:01:51 CEST
fixed .. following description and comments, see commit 205a17de1abec614d3d06386f873170fc1691e86.
Comment 2 Sven Gothel 2013-07-04 14:48:23 CEST
Only use FLAG_IS_FULLSCREEN_SPAN if required; At MonitoMode change, reset fullscreen if FLAG_IS_FULLSCREEN_SPAN is supported.
    
 - Bug 770: Only use FLAG_IS_FULLSCREEN_SPAN if required
    - If X11 WindowDriver _and_ virtual-screen-size > fullscreenViewport,
    - else we still use _NET_WM_STATE_FULLSCREEN on X11!
    
  - Bug 771: At MonitoMode change, reset fullscreen if FLAG_IS_FULLSCREEN_SPAN is supported
    - Since we may still use _NET_WM_STATE_FULLSCREEN on X11:
      - Pause fullscreen at monitorModeChangeNotify(..)
      - Resume fullscreen at monitorModeChanged(..)