Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#186 closed bug (wontfix)

Alpha channel problems with OS3

Reported by: Mikhail Malyshev Owned by:
Priority: normal Milestone: 4.0-2015R2
Component: muimaster.library Version: 4.0-2015R1
Severity: minor Keywords:
Cc: OS Platform: AmigaOS3
Blocked By: Blocking:
Release Notes:


Ok, it works now in hi colour modes, but there are still a few issues. See picture.

  1. Disabled button has transparent area overexposed over background (grey square) - should be fully transparent as normal buttons
  1. Pop up button menus ignore the transparency completely and render a grey square on borders/corners, should also be transparent (grab window behind it as background and then overlay image with transparency)

Shame we can't have any workaround for 8bit screens and alpha channel and png images (currently we get black background) ideally it could have been made partially transparent (for at least the 100% transparent alpha value)

Attachments (1)

M4-r4630.png (160.2 KB) - added by Mikhail Malyshev 5 years ago.

Download all attachments as: .zip

Change History (4)

Changed 5 years ago by Mikhail Malyshev

Attachment: M4-r4630.png added

comment:1 Changed 5 years ago by Mikhail Malyshev

Sorry about it, but any way to edit a posted ticket ?
This ticket relates to AmigaOS 3 - latest nightly build, forgot to set it :-(

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

Component: undefinedmuimaster.library
Milestone: 4.0-2015R2
OS Platform: undefinedAmigaOS3
Priority: undecidednormal
Resolution: wontfix
Status: newclosed

Even with the fancy (and possibly round) bitmap frames the individual objects still have a rectangular shape. The disabled pattern is simply drawn across the full rectangular area no matter what kind of frame is configured for an object. That's why you see the grey area "outside" the button's intended visual area. The same applies for popup menus using such frames. The menu (or better: its window) still is rectangular and the shadow is drawn for that rectangular shape and not for the frame image.

I really wonder why you didn't complain about the "active object" framing which can be seen right below the "ghosted object" settings. This one also exposes the true rectangular shape of the object and does in no way respect the rounded frame image.

The support of arbitrary bitmap frames has its limitations as you just found out.

comment:3 Changed 5 years ago by Mikhail Malyshev

Sad, because for normal buttons it draws the corners correctly respecting the alpha channel.
It might be a bit more difficult for the inactive buttons and hash shading.
But the cycle menus, these can behave like help bubbles with transparency for the corners, of course the shadow effect is a problem, if it can not be disabled then we don't have an easy solution for this cases and stick to squares to avoid cosmetic ill effects.

Note: See TracTickets for help on using tickets.