Child Windows doesn't change position when toggling to window mode

Bug #1598588 reported by kaputtnik
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
widelands
Won't Fix
Medium
GunChleoc

Bug Description

Steps to reproduce:

* Start widelands with fullscreen and resolution 800x600
* Open editor
* open (f.e.) tool menu and place it in the upper right corner
* switch to window mode

Results:
1. The tool menu isn't shown anymore until you click twice on "bottom menu -> tool menu", so the window get closed and open again. Then it is shown in the upper right corner of the window.
2. The main menu (first button in bottom menu) isn't shown in the middle of the window. It is shown at the position as where it would be placed in fullscreen. Other menus (Tool size, Minimap) are shown in the middle of the window.

See also:
"Fullscreen toggle with the f button doesn't work properly" : bug 1459529
"Fullscreen Menus cannot relayout themselves" : bug 1398733

Tags: ui
Revision history for this message
SirVer (sirver) wrote :

I'd say this is a duplicate of bug 1398733. It has nothing to do with bug 1459529 as far as I can see.

Revision history for this message
GunChleoc (gunchleoc) wrote :

I think this needs a similar but separate fix - we should have Windows subscribe to resolution changed events and move them into the screen.

Fullscreen menus will relayout all their contents, in-game windows will just shift their position.

tags: added: fullscreen wui
Changed in widelands:
status: New → Confirmed
importance: Undecided → Medium
GunChleoc (gunchleoc)
tags: added: ui
removed: wui
GunChleoc (gunchleoc)
tags: removed: fullscreen
GunChleoc (gunchleoc)
Changed in widelands:
status: Confirmed → In Progress
assignee: nobody → GunChleoc (gunchleoc)
milestone: none → build20-rc1
GunChleoc (gunchleoc)
Changed in widelands:
milestone: build20-rc1 → build21-rc1
Revision history for this message
GunChleoc (gunchleoc) wrote :
Changed in widelands:
status: In Progress → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.