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

[BUG] Not seem to work in Linux flatpak version #101

Open
Zsbyqx20 opened this issue Mar 2, 2023 · 3 comments
Open

[BUG] Not seem to work in Linux flatpak version #101

Zsbyqx20 opened this issue Mar 2, 2023 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@Zsbyqx20
Copy link

Zsbyqx20 commented Mar 2, 2023

Describe the bug

I have the latest Zotero (flatpak) and the add-on installed on my OS, Fedora 37 Workstation.
After I relaunch Zotero, part of the menu bar and all of the tool bar do not have correct colors on them.
Screenshot from 2023-03-02 23-34-17

To Reproduce

  1. install Zotero flatpak from app store in Fedora
  2. install the add-on from releases
  3. install the add-on to Zotero

Expected behavior

all of the menu bar and tool bar can have their correct colors on.

Zotero Night version (please check that you are on the latest version)

v0.4.20

Additional context

I have checked the tutorial written by AlexMeier99, however the tutorial and the userChrome.css both only suit Windows. I guess there must be differences of css rules or selectors between different OS, but I'm just a user of Zotero and don't have much knowledge on how to do this, and things are worse when I cannot debug css like in a browser. So is there any possible solutions for the "bug" or for debugging in Linux? 😭

@Zsbyqx20 Zsbyqx20 added the bug Something isn't working label Mar 2, 2023
@tefkah
Copy link
Owner

tefkah commented Mar 13, 2023

Hmm that does not look very pretty!

Unfortunately it's very hard for me to debug, as I don't really have a way to run Linux on hand, and don't really have the time to setup a good debugging process for Zotero-Night at the moment.

There is a way to debug the CSS like a browser, but the setup process is a bit involved. If I would write up the process in detail would you be willing to help?

@Zsbyqx20
Copy link
Author

Thank you so much for your reply and your excellent work on it!

Although I'm not that familiar about the CSS language, I'd be appreciated to do what I can on Linux if you are willing to share the debug method! 😄

By the way, I find out that it is strange if I change my system theme to dark, zotero is changed to a "system default" dark theme like in the image, which also do not change the color of menu bar and tool bar. So I'm confused whether there is a possibility that these places cannot be CONTROLLED by CSS (it seems a little tricky though) 😕

What's more, I think Zotero interface in Linux INDEED needs an adjustment, such as its search panel. (You can see that there is an overlap between the search panel and the main panel, which is not so elegant...)

image

@BoManev
Copy link

BoManev commented Mar 27, 2023

The toolbar color is related to your system's GTK theme.
Try lxappearance and set a dark theme.

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

No branches or pull requests

3 participants