-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Dark Theme : Search -> Import entries dialog text not readable #7927
Comments
Good starting points are,
|
@k3KAW8Pnf7mkmdSMPHz27 is there process I can do to so that I can make a browser-inspectable mock up of this entry section? Specifically, looking to bring it into the browser so I can use the inspect tools, to see what variables are targeted/attached here from the dark.css. |
@calvinmorett Have a look at the sceniv view tool https://github.com/JonathanGiles/scenic-view |
@Siedlerchr Stuck on the dialog "Scanning for JavaFX application" in scenic view, JabRef never registers. Troubleshooting atm, any suggestions are certainly appreciated, thanks.
Edit:
But now, it's not showing any applications. Will keep troubleshooting. |
You might have to check if there is a workaround for Java 16
There is also JonathanGiles/scenic-view#56 |
@Siedlerchr do you have any experience with loading |
Yup. I have cloned both Scenic View and JabRef and are building them from the Gradle projects in IntelliJ, which also seem to work. Might be overkill. @calvinmorett how do you run JabRef? (or have you gotten it working through some other means?) |
Still troubleshooting, @k3KAW8Pnf7mkmdSMPHz27 I just run the application, JabRef.exe. Could this be the reason why scenic-view isn't picking up on it? |
It doesn't pick it up when I run |
Installed eclipse, will try that next. |
./gradlew run should also work. See the devoloper docs how to setup your development environment |
@Siedlerchr any references for good eclipse documentation so I can get that started? Went back to trying the exe again after installing JDK, at version 10. Currently, SV is registering 2 java applications, but no JavaFX applications when running scenicview.bat after starting JabRef.exe.
|
@calvinmorett https://devdocs.jabref.org/getting-into-the-code/guidelines-for-setting-up-a-local-workspace You start scenic view from the folder bin\scenivew.bat it already ships with a jdk.
|
Okay, I haven't installed Intellij yet, but did make the .bat file change that you suggested. That change did seem to register JabRef as a JavaFX application in the log, but still kept showing scanning in the UI in SV.
Attempted to run JabRef.bat which does display a warning message related to JavaFX, Unsupported JavaFX configuration:
|
Try running JabRef with |
Did
I then tried running scenic view and got 0 applications.
I'm able to edit the dark.css and then run the build to see the changes, but I have to do it every time to see changes. This seems very tedious for changing a couple color values. |
While not the fastest approach, but certainly faster than rebuilding every time; I've decided to add a new CSS style sheet to pull into JabRef, and go individually through each variable. I can then identify ambiguously named variables and to see where variables are being assigned in the UI. I've found the prime cause of why dark mode search items are difficult to read in the variable As you can see, the orange text color of the search result titles, for both active and non-active items, as detailed above. A solution -- where the text remains the same color in both instances -- could be, to set the background of selected and non-selected items, close in color value. Something where we can still maintains a suitable contrast with a font color that remains static. @Siedlerchr Please assign me this issue. |
I guess we need to have a different color for active/inactive that should be possible with the pseudo classes active/inactive |
Issue: Currently, the body text of the search results are being set through some other variable not currently set in the CSS. @Siedlerchr Are you going to set specific classes for the queries results or should we target the current with pseudo classes? Either way, would it be possible for you to provide the classes? |
Maybe @calixtus has an idea |
Isn't it set by one of the “base” colors? (see the I am not sure what you have tried/not but it is likely easier to explore the CSS in that file as it is more complete. (unless you have already tried that) |
@k3KAW8Pnf7mkmdSMPHz27 current approach was to add a custom stylesheet. The way that worked was I was able to edit most things and see the change in real time to then add comments to what was being affected by the CSS classes I was sort of editing. I haven't considered until now pulling in all the base.css styles into the custom stylesheet, thanks for the excellent suggestion though it will not help me targeting this specific element without going through each element it contains. Even after doing just that, I haven't found the CSS style that controls result summary text. |
@calvinmorett not sure if you are still looking at this issue but perhaps these two links are relevant,
Otherwise, perhaps the |
Hi, we are a group of students studying Computer Science at Universidade Tecnologica Federal do Paraná (UTFPR) and we wanted to check if this issue is available for us to work on in our free software discipline task. And if it's available, we'd like to get some valuable input based on previous contributions to this edition. |
I believe it's free to work on. Last edit on this this issue is almost a year old. |
Hello @victordmp :-) Thanks for your interest and your groups intention to work on JabRef. As a general advice: Check out https://github.com/JabRef/jabref/blob/main/CONTRIBUTING.md for a start. Also, https://devdocs.jabref.org/getting-into-the-code/guidelines-for-setting-up-a-local-workspace is worth having a look at. Feel free to ask if you have any questions here on GitHub or also at JabRef's Gitter chat. Try to open a (draft) pull request early on, so that people can see you are working on the issue and so that they can see the direction the pull request is heading towards. This way, you will likely receive valuable feedback. |
@Siedlerchr Please, can u assign this issue to @victordmp ? |
Latest JabRef version from main.
The text was updated successfully, but these errors were encountered: