JavaFX applications turning to "black screen" after some time
Danno Ferrin
danno.ferrin at shemnon.com
Tue Sep 10 09:50:15 PDT 2013
While we are playing "guess the bug" I'de like to jump in on the bandwagon.
Sometimes I see a white screen lockup on FX 2.2 on 7u25 (and all 7u for
that matter) when I dock and undock my laptop. I've got one of those dell
laptops with a separate more powerful graphics chips in the dock. It's
only the rendering that dies, the event loop executes just fine bringing up
the unsaved changes dialog and responding to (what are to me blind) clicks
on the controls. I've seen this in SceneBuilder and int he embedded FX
panel in my corporate app.
New bug or old bug?
On Tue, Sep 10, 2013 at 6:58 AM, Kevin Rushforth <kevin.rushforth at oracle.com
> wrote:
> (I guess I should read the whole thread before replying...please ignore my
> already-answered questions in earlier messages)
>
> Can you file a JIRA for this issue? Also, can you comment as to whether
> disabling prism.dirtyopts helps?
>
> Thanks.
>
> -- Kevin
>
>
>
> John C. Turnbull wrote:
>
>> I notice this issue even with FX 8 applications and b106. And when the
>> issue occurs it doesn't matter how long I wait, the window stays black
>> permanently.
>>
>> Again though I have never seen this with Scene Builder so it seems
>> individual results vary.
>>
>> -----Original Message-----
>> From: Jerome Cambon [mailto:jerome.cambon at oracle.**com<jerome.cambon at oracle.com>]
>> Sent: Tuesday, 10 September 2013 18:01
>> To: John C. Turnbull
>> Cc: openjfx-dev at openjdk.java.net
>> Subject: Re: JavaFX applications turning to "black screen" after some time
>>
>> And I realize you are certainly on Fx 2.2, since although we are working
>> hard on it, SB on Fx 8 is not yet avalaible :-)
>> RT-30362 is specific to Fx 8.0
>>
>> Using SB 1.1 (so Fx 2.2), I also notice your issue (entirely black
>> window) on Win 7 when SB is minimized for a while, then restored.
>> Generally the window come back to a normal state after few seconds,
>> sometimes more (around 1mn).
>>
>> I think this deserve a new Jira (for reference), I don't think there is
>> one
>> related to that for Fx 2.2.
>>
>> Thanks
>> Jerome
>>
>>
>> On 9/10/13 9:22 AM, John C. Turnbull wrote:
>>
>>
>>> Hmm, I am not sure that is the same issue. That issue seems to be
>>> related to artefacts appearing after screen lock but what I am seeing is a
>>> totally black window and it doesn't need a locked screen to make it
>>>
>>>
>> happen.
>>
>>
>>> And at least for me, I have never seen this with Scene Builder although
>>> I note that you have observed this.
>>>
>>> -----Original Message-----
>>> From: openjfx-dev-bounces at openjdk.**java.net<openjfx-dev-bounces at openjdk.java.net>
>>> [mailto:openjfx-dev-bounces@**openjdk.java.net<openjfx-dev-bounces at openjdk.java.net>]
>>> On Behalf Of Jerome Cambon
>>> Sent: Tuesday, 10 September 2013 17:18
>>> To: openjfx-dev at openjdk.java.net
>>> Subject: Re: JavaFX applications turning to "black screen" after some
>>> time
>>>
>>>
>>> Seems to be related to this issue:
>>> https://javafx-jira.kenai.com/**browse/RT-30362<https://javafx-jira.kenai.com/browse/RT-30362>
>>>
>>> And no, unfortunately Scene Builder is not always immune to this, I got
>>> it with SB regularly
>>>
>>> HTH,
>>> Jerome
>>>
>>>
>>> On 9/10/13 7:55 AM, John C. Turnbull wrote:
>>>
>>>
>>>> I am not sure if it is a known issue but any JavaFX application I run
>>>> and then leave minimised for some time (say 15mins+) and then restore will
>>>> have an entirely black window with nothing actually visible.
>>>> This is on Windows
>>>> 7 and Scene Builder curiously seems to be immune to this problem.
>>>>
>>>>
>>>> Any ideas why this is happening? It looks like an off-screen buffer
>>>> being lost (as it resembles the behaviour I used to see with Swing
>>>> VolatileImage when the contents were lost)?
>>>>
>>>>
>>>> Is there any way to programmatically avoid this?
>>>>
>>>>
>>>> Thanks,
>>>>
>>>>
>>>> -jct
>>>>
>>>>
>>>>
>>>
>>
>>
>
More information about the openjfx-dev
mailing list