Opened 3 months ago

Last modified 3 months ago

#351 new enhancement

Un-iconify a program restores windows in wrong order (depth)

Reported by: Chris Handley Owned by:
Priority: undecided Milestone: future release
Component: undefined Version: 4.0-2016R1
Severity: minor Keywords:
Cc: OS Platform: AmigaOS4
Blocked By: Blocking:
Release Notes:

Description

I think this is a long-standing 'bug' in MUI, which I'll explain by way of example:

If I have Odyssey running with a Downloads window open, iconify Odyssey. and then un-iconify it, then the Downloads window 'appears' behind the main Odyssey window, such that the Downloads window is not visible. I think this happens because the Downloads window is (re)opened before the main window.

I presume this could be fixed by ensuring that all of the a MUI program's windows are opened in a specific order, i.e. with the lowest (deepest) windows being (re)opened first. (This would of course require storing the depth order of the windows at the start of iconification.)

Change History (1)

comment:1 Changed 3 months ago by Thore Böckelmann

Type: bugenhancement

Changing this to an enhancement request as it is no real bug.

I cannot tell yet whether it will be easily possible to restore the desired order. Currently the windows of an application are closed and reopened in the order of their creation. This is why the order is wrong after the uniconification. Doing the reopening in the reverse order would not help much, as that approach does not respect the windows' graphical z-ordering.

Note: See TracTickets for help on using tickets.