Discussion:
[Audacity-devel] Transparency and buttons
James Crook
2017-06-10 13:02:44 UTC
Permalink
Just a note that the crinkly edges on help buttons and possible 'corner
spots' on the large buttons are down to transparency/alpha channel
issues. The large buttons in Classic theme have transparent corners,
and the help icon alpha is converted to on/off rather than a number
between 0 and 255. I plan at some point before 2.2.0 to fix these both,
if people are wondering/concerned about them.
Paul Licameli
2017-06-10 13:21:15 UTC
Permalink
Post by James Crook
Just a note that the crinkly edges on help buttons and possible 'corner
spots' on the large buttons are down to transparency/alpha channel issues.
The large buttons in Classic theme have transparent corners, and the help
icon alpha is converted to on/off rather than a number between 0 and 255.
I plan at some point before 2.2.0 to fix these both, if people are
wondering/concerned about them.
On which platforms?
PRL
Post by James Crook
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel
James Crook
2017-06-10 14:14:19 UTC
Permalink
Post by Paul Licameli
Post by James Crook
Just a note that the crinkly edges on help buttons and possible 'corner
spots' on the large buttons are down to transparency/alpha channel issues.
The large buttons in Classic theme have transparent corners, and the help
icon alpha is converted to on/off rather than a number between 0 and 255.
I plan at some point before 2.2.0 to fix these both, if people are
wondering/concerned about them.
On which platforms?
PRL
The problem is cross platform. The crinkly edges to the help icon
circle show on all platforms. The 'corner spots' don't show on windows
10 (default) because I made the colour that gets substituted match.
They won't show on mac, because mac has different buttons that don't use
transparency. On Linux and win with a dark OS theme the large buttons
will have light spots at the corners.

The fix to the corner spots is generic, and means we could use alpha on
the mac buttons, if we want to.
Post by Paul Licameli
Post by James Crook
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel
Paul Licameli
2017-06-10 14:31:13 UTC
Permalink
Post by James Crook
Just a note that the crinkly edges on help buttons and possible 'corner
spots' on the large buttons are down to transparency/alpha channel issues.
The large buttons in Classic theme have transparent corners, and the help
icon alpha is converted to on/off rather than a number between 0 and 255.
I plan at some point before 2.2.0 to fix these both, if people are
wondering/concerned about them.
On which platforms?
PRL
The problem is cross platform. The crinkly edges to the help icon circle
show on all platforms. The 'corner spots' don't show on windows 10
(default) because I made the colour that gets substituted match. They
won't show on mac, because mac has different buttons that don't use
transparency. On Linux and win with a dark OS theme the large buttons will
have light spots at the corners.
The fix to the corner spots is generic, and means we could use alpha on
the mac buttons, if we want to.
I mentioned problems with the Transport toolbar buttons on Mac in Light
theme, and you said you would pass, but maybe this is part of that.

PRL
Post by James Crook
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel
James Crook
2017-06-10 15:13:27 UTC
Permalink
Post by Paul Licameli
Post by James Crook
Just a note that the crinkly edges on help buttons and possible 'corner
spots' on the large buttons are down to transparency/alpha channel issues.
The large buttons in Classic theme have transparent corners, and the help
icon alpha is converted to on/off rather than a number between 0 and 255.
I plan at some point before 2.2.0 to fix these both, if people are
wondering/concerned about them.
On which platforms?
PRL
The problem is cross platform. The crinkly edges to the help icon circle
show on all platforms. The 'corner spots' don't show on windows 10
(default) because I made the colour that gets substituted match. They
won't show on mac, because mac has different buttons that don't use
transparency. On Linux and win with a dark OS theme the large buttons will
have light spots at the corners.
The fix to the corner spots is generic, and means we could use alpha on
the mac buttons, if we want to.
I mentioned problems with the Transport toolbar buttons on Mac in Light
theme, and you said you would pass, but maybe this is part of that.
PRL
I don't think so, because the mac icons are solid, and the problem I
intend to look into is about transparency.

BTW, if you #define EXPERIMENTAL_THEME_PREFS
On windows you can opt in to seeing mac styling for the buttons, on the
interface prefs page. This is just to ease theme development work, not
intended for mainstream use.

--James.

Loading...