mguessan / davmail

DavMail POP/IMAP/SMTP/Caldav/Carddav/LDAP Exchange and Office 365 Gateway - Synced with main subversion repository at
http://davmail.sourceforge.net
GNU General Public License v2.0
582 stars 86 forks source link

Unable to reach the GUI with plasma 6 desktop #366

Open hamelg opened 3 months ago

hamelg commented 3 months ago

I am using the KDE Plasma 6 desktop environment. When I click on the Davemail tray icon in the system tray, the menu does not appear : I cannot open the GUI.

The only way to open the GUI is to delete the settings file (~/davemail.properties) and start Davemail. Something is broken, with KDE Plasma 5 the systray icon was working fine.

Running environnement

parameters java -Xmx512M -Dsun.net.inetaddr.ttl=60 -Djdk.gtk.version=2.2 -cp /usr/share/davmail/davmail.jar:/usr/share/java/swt.jar:/usr/share/java/javafx-base.jar:/usr/share/java/javafx-controls.jar:/usr/share/java/javafx-fxml.jar:/usr/share/java/javafx-graphics.jar:/usr/share/java/javafx-media.jar:/usr/share/java/javafx-swing.jar:/usr/share/java/javafx-web.jar:/usr/share/davmail/lib/* davmail.DavGateway

ag-gaphp commented 2 months ago

I am running an identical environment, same issue

esabol commented 2 months ago

I recommend starting DavMail with the -notray argument.

mguessan commented 2 months ago

-notray is indeed an option, I also noticed you hava openjfx (that provides embedded browser for O365 interactive authentication) and swt, from my experience swt is incompatible with openjfx, you may try without swt.jar in classpath

hamelg commented 2 months ago

Thanks for the tip. When I need O365 interactive authentication I use the java azul zulu15.38.17-ca-fx-jre15.0.6. But this has no impact on this issue.