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
580 stars 86 forks source link

davmail doesn't honor multi-display configurations #8

Closed Ri0n closed 5 years ago

Ri0n commented 5 years ago

I have two monitors and and davmail always opens its windows such a way that partially it's on one display and partially on another.

So I have to move the windows all the time.

mguessan commented 5 years ago

Working fine under windows... anyway I changed the way to set frame location => fix available in trunk

Ri0n commented 5 years ago

Yes not it's somewhat better. But now o365interactive confirmation window appears behind of other windows. Probably it's something about stealing focus but it didn't even flashed on taskbar. So it was hard to notice. KDE Plasma here.

mguessan commented 5 years ago

Please check again with latest build

Ri0n commented 5 years ago

Just tried trunk deb. If DavMail main window is active then mfa window will be brought up. That's ok. But if for example I start davmail, then click "get messages in thunderbird" then mfa window will be opened behind Thunderbird and it won't flash on taskbar.

mguessan commented 5 years ago

KDE focus stealing prevention prevents DavMail from stealing focus. => disabling it lets DavMail bring frame to top

Ri0n commented 5 years ago

is it possible to implement https://www.freedesktop.org/wiki/Specifications/StatusNotifierItem/StatusNotifierItem/ ? Usually clicks on popups do really bring windows to foreground.

mguessan commented 5 years ago

Well, you can send an RFE to OpenJDK, they have the API (TaskBar) but not the linux implementation.

Ri0n commented 5 years ago

Do you mean it is not acceptable to use 3rdparty libraries like https://github.com/munterkalmsteiner/StatusNotifierItemJava? I'm sorry but I understand nothing in Java programming and its libraries.