JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 22.08.2020, 01:16
sumyungguy sumyungguy is offline
JD Fan
 
Join Date: Sep 2012
Posts: 70
Default How to get a dark title bar on Mac?

I'm using the "FLATLAF_DARK" theme + customized colors, on macOS 14 Mojave in dark mode. It works ok but the main titlebar of the window is not dark. Is there a way to do that?

In the github page of "JDownloader-2-Dark-Theme" by Vinylwalk3r (**External links are only visible to Support Staff****External links are only visible to Support Staff**), there is a screenshot of JDownloader2 with a dark title bar, exactly what I want, and instructions to run this command to get it:

Code:
defaults write org.jdownloader.launcher NSRequiresAquaSystemAppearance 0
But I can't get that to work, and there's an unanswered bug report there that it doesn't work, since May. I also tried:

Code:
defaults write org.jdownloader.launcher NSRequiresAquaSystemAppearance false
and after reading Apple's developer note here: **External links are only visible to Support Staff****External links are only visible to Support Staff** putting this into the info.plist of the JDownloader2 app bundle:

Code:
<key>NSRequiresAquaSystemAppearance</key>
<false/>
and I also tried doing the whole installation of "JDownloader-2-Dark-Theme". But nothing works.

I did find the "LAFSettings: Window Decoration" setting that gives a custom dark title bar, but that looks very strange on a Mac and is not what I'm looking for.
Reply With Quote
  #2  
Old 11.09.2020, 20:36
sumyungguy sumyungguy is offline
JD Fan
 
Join Date: Sep 2012
Posts: 70
Default

Any ideas?
Reply With Quote
  #3  
Old 01.01.2021, 18:27
sumyungguy sumyungguy is offline
JD Fan
 
Join Date: Sep 2012
Posts: 70
Default

I tried again adding NSRequiresAquaSystemAppearance false to the info.plist, and this time it worked. Don't know what's different, but I have a nice dark titlebar now!
Reply With Quote
  #4  
Old 04.01.2021, 16:36
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 77,875
Default

Thanks for the feedback! It should also work fine with manual settings the value via defaults command
I've updated JD to autoset this property with next core update
__________________
JD-Dev & Server-Admin
Reply With Quote
  #5  
Old 09.01.2021, 20:38
sumyungguy sumyungguy is offline
JD Fan
 
Join Date: Sep 2012
Posts: 70
Default

I can confirm that the "defaults" command now works, without needing to edit the info.plist file, thanks!

Code:
defaults write org.jdownloader.launcher NSRequiresAquaSystemAppearance 0
Reply With Quote
  #6  
Old 11.01.2021, 16:24
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 77,875
Default

Latest JDownloader Update does this automatically for MacOS Mojave and newer
__________________
JD-Dev & Server-Admin
Reply With Quote
  #7  
Old 24.07.2021, 21:41
sumyungguy sumyungguy is offline
JD Fan
 
Join Date: Sep 2012
Posts: 70
Default

Quote:
Originally Posted by sumyungguy View Post
I tried again adding NSRequiresAquaSystemAppearance false to the info.plist, and this time it worked. Don't know what's different, but I have a nice dark titlebar now!
Fyi, now I know what was different: I installed AdoptOpenJDK 8 for something else, and JDownloader started using that. Oracle's JRE/JDK (any version I install) doesn't work, it gives the white titlebar regardless of the setting. Same for Zulu's OpenJDK, it doesn't work either.

On the other hand, I just tried a new install on another machine with Big Sur, and it does get a dark title bar with the bundled JRE. So I don't know what that's about...

Last edited by sumyungguy; 25.07.2021 at 20:39.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 15:24.
Provided By AppWork GmbH | Privacy | Imprint
Parts of the Design are used from Kirsch designed by Andrew & Austin
Powered by vBulletin® Version 3.8.10 Beta 1
Copyright ©2000 - 2022, Jelsoft Enterprises Ltd.