Zettelkasten-Team / Zettelkasten

Zettelkasten-Developer-Builds
http://zettelkasten.danielluedecke.de
GNU General Public License v3.0
729 stars 92 forks source link

faulty menu bar in Mac OS X #397

Closed trutzig89182 closed 2 months ago

trutzig89182 commented 2 years ago

Describe the bug Other than in v3.3.0 in v3.2021.11.25 (and 3.2.8) the Zettelkasten app does not use the standard Mac OS manu bar, but creates a second one within the app window. This does not cause a problem for functionality, except that the submenu “preferences” seems not to be rendered properly.

To Reproduce Steps to reproduce the behavior: Open the App in Version v.3.3.0 & v3.2021.11.25

Expected behavior A clear and concise description of what you expected to happen.

Screenshots v.3.3.0

v330

v3.2021.11.25

aktuell

Version information (please complete the following information): System-Information: Mac OS X 10.15.7 (x86_64) Java-Version 14.0.1 (AdoptOpenJDK) /Library/Java/JavaVirtualMachines/adoptopenjdk-14.jdk/Contents/Home v3.2021.11.25

Log information

Gernal log

[…]

Zettelkasten-Version: 3.2.8 (Build bd95019)

Mac OS X 10.15.7 (x86_64) Java-Version 14.0.1 (AdoptOpenJDK) /Library/Java/JavaVirtualMachines/adoptopenjdk-14.jdk/Contents/Home

Nov. 25, 2021 9:16:33 PM de.danielluedecke.zettelkasten.ZettelkastenView setDefaultLookAndFeel INFORMATION: Using following LaF: com.apple.laf.AquaLookAndFeel […]

trutzig89182 commented 2 years ago

Scheinbar ist com.apple.eawt.ApplicationListener schon sehr lange veraltet. Alternative evt. com.apple.eawt.Application.set*Handler().

Hierzu Frage von vor 9 Jahren: https://stackoverflow.com/questions/9239287/what-is-the-alternative-for-deprecated-com-apple-eawt-applicationlistener/28090946

Es bleibt natürlich immer noch die Frage, warum es in v.3.3.0 korrekt dargestellt wird und in v.3.2.8 probleme macht.

trutzig89182 commented 2 years ago

Aus dem Log wenn ich testDocument als Test in der IDE laufen lasse:

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by de.danielluedecke.zettelkasten.ZettelkastenView (file:/Users/davidadler/IdeaProjects/Zettelkasten/target/classes/) to constructor com.apple.eawt.Application()
WARNING: Please consider reporting this to the maintainers of de.danielluedecke.zettelkasten.ZettelkastenView
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Dez. 09, 2021 9:20:42 PM de.danielluedecke.zettelkasten.ZettelkastenView setupMacOSXApplicationListener
SCHWERWIEGEND: com.apple.eawt.ApplicationListener
mateusbraga commented 1 year ago

Hi @trutzig89182, could you check for us whether this problem happens in the latest release? I don't have a Mac to test.

trutzig89182 commented 1 year ago

Sure, latest release is v3.2022.8? Just to be sure. @mateusbraga

mateusbraga commented 1 year ago

Yes, thanks :)

trutzig89182 commented 1 year ago

It is still the same. – Please let me know if I can help in narrowing this problem down in any way.

github-actions[bot] commented 11 months ago

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] commented 4 months ago

This issue is stale because it has been open for 30 days with no activity.

RalfBarkow commented 4 months ago

java -Dapple.laf.useScreenMenuBar=true -jar Zettelkasten-3.2024.05.jar

github-actions[bot] commented 3 months ago

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] commented 2 months ago

This issue was closed because it has been inactive for 14 days since being marked as stale.