Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

color None vs. transparent cross platform inconsistency #205

Open
mxa opened this issue May 24, 2021 · 5 comments
Open

color None vs. transparent cross platform inconsistency #205

mxa opened this issue May 24, 2021 · 5 comments
Labels

Comments

@mxa
Copy link

mxa commented May 24, 2021

While on Mac I can set a color (for ex. back-color or frame-color) to None and it will be handled like ~ TransparentCColor, when on Linux None will be like ~ BlackCColor

@mxa mxa changed the title color NONE vs. transparent cross platform inconsistency color None vs. transparent cross platform inconsistency May 24, 2021
@scheffle
Copy link
Collaborator

Hi @mxa , I'm unable to reproduce this issue. Can you tell me in which view class you see this? I think the default behavior is to revert back to the default of the view class and not to transparent or black.

@mxa
Copy link
Author

mxa commented May 31, 2021

@scheffle Do you see the inconsistencies in the grey bars in #207 ? That's a CTextLabel.

@scheffle
Copy link
Collaborator

@mxa OK I don't quite get it, #207 is about text rendering and this issue here is about color. So you have the issue with the color None with CTextLabel classes, correct?

@mxa
Copy link
Author

mxa commented May 31, 2021

@scheffle #207 is about the text baseline. Building the example .uidesc to illustrate the issue, I was using CTextLabel objects just as a vertical reference. The white outlines of the grey containers are rendered on Linux, but not on Win or Mac. The screenshots accidentally expose this bug ( #205 ) or a related one.
I think this is about the color None, it could additionally be a bug in the thickness 0 of the outline or the attribute to not show the outline. In any case something is wrong somewhere since it's platform inconsistent and while in #207 the problem seems to be on Windows, here it is on Linux.

@mxa
Copy link
Author

mxa commented Nov 15, 2022

@scheffle please elaborate what's unclear.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants