RouteConverter Forum
Autofocus very annoying on start - Printable Version

+- RouteConverter Forum (https://forum.routeconverter.com)
+-- Forum: Users (https://forum.routeconverter.com/forum-17.html)
+--- Forum: English: Discussions (https://forum.routeconverter.com/forum-12.html)
+--- Thread: Autofocus very annoying on start (/thread-3813.html)



Autofocus very annoying on start - Phil69 - 26.07.2023

Hi,

I use RouteConverter on Linux Mint 21.2 Cinnamon with openjdk 11.0.19 2023-04-18.
Version 2.34-SNAPSHOT-359.

When I start the program, it tries to download some resources from the web.

There are a lot of errors on these downloads, but it's not the problem here. For each good or bad  download, a message box is displayed in the bottom right corner of the window and each time the message appears, RouteConverter takes the focus above all other active programs : its window comes in foreground systematically. Even if RouteConverter window is minimized.

When this loading step is finished, there's no more problem.

Could you correct this very annoying bug ?

Thanks


RE: Autofocus very annoying on start - routeconverter - 27.07.2023

(26.07.2023, 18:09)Phil69 Wrote: When I start the program, it tries to download some resources from the web.
There are a lot of errors on these downloads, but it's not the problem here.

For me, that is the problem. And I'm working on fixing the hosting problems.

(26.07.2023, 18:09)Phil69 Wrote: For each good or bad  download, a message box is displayed in the bottom right corner of the window and each time the message appears, RouteConverter takes the focus above all other active programs : its window comes in foreground systematically. Even if RouteConverter window is minimized.

In Java I'm defining a Window and setting it to visible. This it what it needs.

(26.07.2023, 18:09)Phil69 Wrote: Could you correct this very annoying bug ?

On Windows and MacOS I don't see the effect that you've described. I think it has to do with the JVM <-> Your Window Manager on Mint integration. No clue, how to fix this.

Maybe you you have a look at the NotificationManager class and try to get rid of the annoying effect?