BUG: TableView's setMouseTransparent method does not make mouse transparent
Kevin Rushforth
kevin.rushforth at oracle.com
Wed Sep 19 15:27:01 UTC 2018
JavaFX does not use exclusive full-screen mode. It simulates full screen
by using an undecorated window that is exactly the size of the screen.
This means that pop-ups, such as those used by ComboBox and content
menus, will continue to work (they use separate windows).
-- Kevin
On 9/19/2018 7:52 AM, Ty Young wrote:
>
> On 9/19/18 8:01 AM, Kevin Rushforth wrote:
>> Thanks for reporting the issue. I see it in the bug system, and it
>> should be transferred to the JDK project in JBS in a day or so.
>>
>> I'm not sure I understand your question:
>>
>> > (While i'm at it, does JavaFX *always* render the desktop even if a
>> JavaFX application is fullscreen?)
>>
>> What do you mean by "render the desktop" ?
>>
>> -- Kevin
>>
>
> Typically when a game(or potentially any 3d application) is
> fullscreen, that game(or 3d application) has exclusive control and
> desktop elements(the desktop environment and the windows within) are
> no longer rendered. As a result, frame rate is increased, latency is
> reduced, and stuttering/jittering are reduced or non existent.
>
> However, it's possible to "fake" fullscreen by using borderless
> windowed mode which does not provide the performance benefits of
> fullscreen while being 'fullscreen".
>
> Basically what I'm asking is: Does JavaFX just disable window
> decorations(title bar/resize borders) and overlays the application
> over the OS's desktop or is it *truly* fullscreen?
>
>
>> On 9/18/2018 7:11 PM, Ty Young wrote:
>>> Bug review ID: 9057302.
>>>
>>>
>>> TavleView's setMouseTransparent no longer makes mouse events(like
>>> clicking) transparent for that TableView when set to true in JavaFX
>>> 11. In Oracle 9 and 10 it did, however. I vaguely remember compiling
>>> OpenJDK 10 with JavaFX integrated and had the same issue even though
>>> Oracle 10 did not have the bug.
>>>
>>>
>>> I personally use this to create an On Screen Display for displaying
>>> some GPU information while playing games in Linux(Yes, I know it's
>>> incredibly bad to do that since the desktop is still being
>>> rendered). Because of this bug, in-game menus cannot be clicked if
>>> they are in the top left corner(where the window is) as the mouse
>>> transparent method is no longer working.
>>>
>>>
>>> (While i'm at it, does JavaFX *always* render the desktop even if a
>>> JavaFX application is fullscreen?)
>>>
>>
More information about the openjfx-dev
mailing list