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

Bug #1598588 reported by kaputtnik on 2016-07-03
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
widelands
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 Edit Tag help
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.

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) on 2016-10-10
tags: added: ui
removed: wui
GunChleoc (gunchleoc) on 2016-10-10
tags: removed: fullscreen
GunChleoc (gunchleoc) on 2017-03-08
Changed in widelands:
status: Confirmed → In Progress
assignee: nobody → GunChleoc (gunchleoc)
milestone: none → build20-rc1
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers