JabRef / jabref

Graphical Java application for managing BibTeX and biblatex (.bib) databases
https://devdocs.jabref.org
MIT License
3.49k stars 2.46k forks source link

Support Windows dark title bar #11457

Open twihno opened 2 weeks ago

twihno commented 2 weeks ago

Windows allows apps to use a dark titlebar (opt-in)

title-bar-dark

https://learn.microsoft.com/en-us/windows/apps/desktop/modernize/apply-windows-themes

It would be great if JabRef supported this feature. Currently JabRef looks like this in dark mode:

grafik

E.g. blender looks like this: grafik

twihno commented 2 weeks ago

I haven't tested it, but something like this might be a solution: https://stackoverflow.com/a/76543216/7513236 (ignoring forceRedrawOfWindowTitleBar)

koppor commented 2 weeks ago

@twihno Thank you for the report and the first investigation. This seems to be a trial and error thing. Thus, I neither can create a good first issue out of it nor ask students to get credits for a solution. -- As a consequence, it would be nice if you would try out some solutions and submit a pull request. Otherwise, this issue will (unfortunately) be opened for a long time.