Fullscreen Menus cannot relayout themselves

Bug #1398733 reported by SirVer
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
widelands
Won't Fix
Medium
GunChleoc

Bug Description

Now that we can change into fullscreen with 'f' everywhere it becomes apparent to the user that fullscreen menus never relayout themselves. The fix is very easy:

Either:
- Each UI element must be hold on to as a member.
- A layout() method puts them into the correct place. This will be called on resolution changes.

Or:
- The menus are switched to using UI::Box which can already layout themselves. This will make working with them in the future also easier. This is more work.

See also: https://bugs.launchpad.net/widelands/+bug/1459529

Tags: ui

Related branches

SirVer (sirver)
Changed in widelands:
status: New → Confirmed
importance: Undecided → Medium
GunChleoc (gunchleoc)
description: updated
Revision history for this message
SirVer (sirver) wrote :

This has implications also for child windows. See bug 1398733.

Revision history for this message
kaputtnik (franku) wrote :

I think SirVer meant this bug: bug 1598588 (duplicate to this one)

Revision history for this message
GunChleoc (gunchleoc) wrote :

I am in favour of trying to move as much stuff as possible to Box - this will also allow for easy interface swapping for RTL languages.

Changed in widelands:
milestone: none → build20-rc1
GunChleoc (gunchleoc)
Changed in widelands:
status: Confirmed → In Progress
assignee: nobody → GunChleoc (gunchleoc)
GunChleoc (gunchleoc)
tags: added: ui
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.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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