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

Black text on black background #196

Closed
sbadux opened this issue Oct 20, 2018 · 17 comments · Fixed by #203
Closed

Black text on black background #196

sbadux opened this issue Oct 20, 2018 · 17 comments · Fixed by #203
Labels
bug Something isn't working ui/ux UI/UX related issues

Comments

@sbadux
Copy link

sbadux commented Oct 20, 2018

The menu texts are black on a black background. This happens in Ubuntu 18.10 and it may be related to the Ubuntu theme. I've the default Ubuntu theme so I think this should be fixed if possible.

image

EDIT: I'm talking about the black bar under the Title Bar. In this bar there are the "hidden" menu buttons

@ralphtheninja
Copy link
Member

Hmm interesting, is this only due to Ubuntu 18.10?

@sbadux
Copy link
Author

sbadux commented Oct 20, 2018

I don't know because I've never used DeltaChat Desktop v1.5 on Ubuntu 18.04. Today I've upgraded to 18.10 and THEN installed the DC v.1.5. If you haven't done any change that could have caused this problem, I can suppose that it's related to the new Yaru theme https://github.com/ubuntu/yaru

@ralphtheninja ralphtheninja added the ui/ux UI/UX related issues label Oct 20, 2018
@Jikstra
Copy link
Contributor

Jikstra commented Oct 21, 2018

This is because of your GTK theme but I remeber that there were very similiar problems with atom editor and electron not changing menu colors. I'm not sure, but i think it was an GTK2/GTK3 problem. @ralphtheninja are we using an electron framework which is using GTK2 or 3?
electron/electron#2927

@ralphtheninja
Copy link
Member

We use electron v2, have no idea about gtk.

@Jikstra
Copy link
Contributor

Jikstra commented Oct 22, 2018

It's possible that this is fixed as soon as we switch to electron v3.

@Jikstra Jikstra added the bug Something isn't working label Oct 22, 2018
@Jikstra Jikstra reopened this Oct 22, 2018
@Jikstra
Copy link
Contributor

Jikstra commented Oct 22, 2018

@sbadux can you test out latest master with electron v3? Don't have a ubuntu running :/ For me dark gtk themes work, but they also worked with electron v2.

@sbadux
Copy link
Author

sbadux commented Oct 22, 2018

@sbadux can you test out latest master with electron v3? Don't have a ubuntu running :/ For me dark gtk themes work, but they also worked with electron v2.

I can test it, but I don't know how to do the test. I'm not a developer so I really don't know what I should do. Can you please explain me how to do this test?

@r10s
Copy link
Member

r10s commented Oct 22, 2018

on ubuntu 18.04 with standard theme the menu looks okay

screenshot from 2018-10-22 22-31-19

@Jikstra
Copy link
Contributor

Jikstra commented Oct 22, 2018

I can test it, but I don't know how to do the test. I'm not a developer so I really don't know what I should do. Can you please explain me how to do this test?

No problem, we are currently thinking of doing a new release with binaries today/tomorrow, so it's a lot easier to install than trying to compile/build it on your own which also isn't hard but maybe harder :D

But if you have irc or any chat application (also deltachat would work ^^) i can lead you through all those things.

@Jikstra
Copy link
Contributor

Jikstra commented Oct 22, 2018

@r10s okay you're using the "old" theme. Just to show the difference:
https://i.redd.it/cljbq1bqsqt11.png

Source: https://www.reddit.com/r/linux/comments/9qe0yn/ubuntu_with_and_without_yaru_communitheme_is/

@ralphtheninja
Copy link
Member

Missing a lot of German translations ;)

@ralphtheninja
Copy link
Member

@sbadux You can try a new release here https://github.com/deltachat/deltachat-desktop/releases/tag/v1.6.0 , hopefully switching to electron 3 fixes your problem

@sbadux
Copy link
Author

sbadux commented Oct 23, 2018

Thanks a lot for the new .deb :-)
The bar is still back, but I noticed that it turns black only when the windows has the focus. The menus are readable if I click on the desktop o focus another window.

https://youtu.be/0J4D6tu4ZDs

@ralphtheninja
Copy link
Member

I'm wondering if this is related:

darkTheme: true, // Forces dark theme (GTK+3)

@Jikstra
Copy link
Contributor

Jikstra commented Oct 23, 2018

I'm not really through all the info, but maybe this helps:
electron/electron#13381
ubuntu/yaru#715

It's possible that this is an electron or yaru bug.

This is also interesting, it seems to be possible to figure out if the system is using a dark theme or not:
https://medium.com/missive-app/make-your-electron-app-dark-mode-compatible-c23dcfdd0dfa

@ralphtheninja
Copy link
Member

ralphtheninja commented Nov 6, 2018

Just updated to Ubuntu 18.10 and I can reproduce when using the Yaru theme. However, I have no idea of how to fix it. The darkTheme property doesn't make any difference.

@okdistribute
Copy link
Member

On the latest release, let us know if you still see this bug @sbadux . I think we are going to retire it though in favor of more pressing fixes at the moment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ui/ux UI/UX related issues
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants