Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#351 closed enhancement (fixed)

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

Reported by: Chris Handley Owned by: Thore Böckelmann
Priority: normal Milestone: 5.0-2017R4
Component: Application.mui Version: 4.0-2016R1
Severity: minor Keywords:
Cc: OS Platform: AmigaOS4
Blocked By: Blocking:
Release Notes:


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 (4)

comment:1 Changed 3 years 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.

comment:2 Changed 3 years ago by Thore Böckelmann

Component: undefinedApplication.mui
Milestone: future release5.0-2017R4
Owner: set to Thore Böckelmann
Priority: undecidednormal
Status: newassigned

comment:3 Changed 3 years ago by Thore Böckelmann

Resolution: fixed
Status: assignedclosed

In 6145:

  • Application.c: during iconification the Z order of all windows will be remembered and restored during uniconification. This ensures that a window at the top before iconification will be back at the top again after uniconification no matter in which order the windows were created. This closes #351.

comment:4 Changed 3 years ago by Thore Böckelmann

Please test this new feature with as much applications as possible to ensure it is really working as expected in all situations. At least for me it is working as I would it expect to work.

Note: See TracTickets for help on using tickets.