AWT Frame in full-screen exclusive mode gets minimized on windows dialog popup

我是研究僧i 提交于 2019-11-30 16:43:55
Lorenzo Boccaccia

the window manager usually doesn't enforce application window modality and for custom display mode application the wm is forced to either to drop you out of fullscreen or minimize as it cannot respect the dpi setting for the other window maintaining your own window resolution.

thee is a reason for that, explained here in the context of the Window O.S.

is this for some sort of kiosk system? then make your whole application the shell, as explained here: Keeping a Windows application on top of other windows and in focus - always

task manager will still pop in front of it, and alt tabbing should work as usual.

similar step for making a single app login in linux: http://www.instructables.com/id/Setting-Up-Ubuntu-as-a-Kiosk-Web-Appliance/?ALLSTEPS

to disable usb fixing, see the answer to this question: https://superuser.com/questions/33986/is-it-possible-to-disable-the-scan-and-fix-message-when-inserting-an-sd-card

note that the first answer entail fixing the disk, if you scroll below there are the step to disable that specific dialog.

Setting the awt frame modality type fixed my problem. As Lorenzo mentioned, using APPLICATION_EXCLUDE let the frame always be on top. Thank you

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!