Opened 9 months ago

Closed 9 months ago

Last modified 9 months ago

#427 closed bug (fixed)

Frame title of virtual group sometimes wanders

Reported by: Mike Steed Owned by: Thore Böckelmann
Priority: normal Milestone: 5.0-2020R1
Component: Group.mui Version: 5.0-2019R4
Severity: minor Keywords:
Cc: OS Platform: AmigaOS4
Blocked By: Blocking:
Release Notes:

Description

Summary

The frame title of a virtual group scrolls with the contents of the group under certain conditions, instead of remaining fixed in place.

Steps to reproduce

  1. Compile and run the attached demo program, which creates a scroll group with a virtual group with six buttons inside. There's a frame around the virtual group, and the frame has a title attached to it.
  2. Reduce the height of the window so that only five of the buttons are visible. Drag the slider down, so it's the bottom five buttons that are visible. Now adjust the size of the window just slightly.

Expected results

The title should remain in place, regardless of how the contents of the virtual group are scrolled around.

Actual results

The title jumps up into the window title bar, as if it's one of the children of the virtual group. If even fewer buttons are visible the title will disappear off the top of the window. If the window is enlarged vertically, the title moves down and into place as all of the buttons become visible.

The same thing happens in a horizontal direction if the window width is reduced and the horizontal slider is moved to the right.

Notes

Bug is also present in MUI 4. MUI 3.9 works correctly.

Attachments (1)

MUIBug.c (2.8 KB) - added by Mike Steed 9 months ago.
Demonstration of MUI bug

Download all attachments as: .zip

Change History (5)

Changed 9 months ago by Mike Steed

Attachment: MUIBug.c added

Demonstration of MUI bug

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

Component: undefinedVirtgroup.mui
Owner: set to Thore Böckelmann
Status: newassigned

I can confirm the wrong behaviour. I will see what can be done about this issue.

comment:2 Changed 9 months ago by Thore Böckelmann

Component: Virtgroup.muiGroup.mui
Milestone: future release5.0-2020R1
Priority: undecidednormal

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

Resolution: fixed
Status: assignedclosed

In 6529:

  • Group.c: the group title object now correctly respects the parent group's virtual offset in case it is a virtual group. This closes #427.

comment:4 Changed 9 months ago by Thore Böckelmann

In 6530:

  • Group.c: apply the virtual left offset to the group title object just like the virtual top offset. This refs #427.
Note: See TracTickets for help on using tickets.