JavaFX - Nodes Whiting Out - javafx

Hi I have quite an unusual query. I have made a small JavaFX program and am very proud of the results. However I recently noticed a bug I can't seem to rap my head around. I can't recreate it either and do not have a screen shot of it unfortunately. However you can see a screenshot of the general program below in the state that triggered the problems.
I was running my program like normal and gave it quite a large load to handle (a lot of gradients as seen below). Then what happened was that in any TextField I typed in all edited text became a completely white rectangle and if I tried to update the image preview to the right it also turned white. If I let the program be in this white state for about ten seconds everything would load back in and behave like normal until I went to edit anything again.
It happened with any StyleSheet I loaded and as mentioned I cannot seem to recreate it. So my question is this. Is this a known error that can occur if you configure your scene in the wrong way (or something similar) or have I just managed to screw things up in general? The source code is quite long and I have absolutely no Idea where the problem may lie so I won't post any if you don't feel like a specific part may be interesting.
I am also aware that this type of general question is not really liked here so sorry about that. If you can suggest another more suitable forum I would be more than happy to move my question there.
//Thanks for any help.
EDIT: I finally managed to get a screen shot of the bug. I am not having high hopes that anyone is going to answer this though...

Related

The ggplot theme assist add in for R keeps showing extremely small window so I cant see anything

Somewhat self explanatory. No matter what dataset I run, which libraries I have, etc. I keep having this happen when I run the theme assist add in for R:
This is at least semi-visible but often I can't see anything when I'm making bar graphs and such, so if there is a quick fix to this issue I would greatly appreciate it.
I figured out an answer. I tried repeatedly to just use the "ctrl +" command in the actual theme assistant window to no avail.
What I did after was exit out of the theme assistant altogether and then minimized the screen several times with "ctrl -" in the script area. It is now far more visible, though at the expense of the script looking super tiny.
Now it is far more visible!
Hopefully this is helpful if anybody else runs into this problem. Took me longer than it should have to figure this out, but didn't seem to have any clear answers elsewhere.

How to unfullscreen a window without notifying it?

I'm trying to enhance the gTile extension by allowing it to resize a fullscreen window to a tiled area of the screen. That's a pretty common thing to do when tiling and it's pretty handy since some windows will hide some chrome when in fullscreen mode. But I'm having the hardest time figuring out how to do that.
Searching the internet led me to this forum post which mentions EWMH and _NET_WM_FULLSCREEN. I've tried to find ways to access window manager hints but can't find anything bashing by head on Looking Glass or scanning through the docs. Is this kind of thing possible through a shell extension?
Meta.Window is likely what you are looking for:
https://gjs-docs.gnome.org/meta4~4_api/
Setting Window.decorated = false may be able to remove the title bar or perhaps getting the compositor object and changing it from there. However this will still keep the address and tab bars in chrome. You may need to find another method to signal chrome to hide those.
There is not really an easy way to do this, the thread you linked is in regards to VLC and modifying it's source code.

Hyperlink issues on the #OculusGo and #OculusQuest when trying to "link" to a "heavy" scene

When using the OculusGO or the OculusQuest when you hyperlink from one virtual environment (VE) to another the Oculus Browser (and it also appears Firefox Reality last I checked) time-out. You go to the next scene; but are kicked out of VR which is undesirable.
Curious if anyone else has ran into this issue and if they were able to get around it, or perhaps have any ideas on how to get through it.
At this time it appears an issue in the WebVR implementation of events to control VR mode; but maybe there is a creative solution :)
I made a PR a little while ago ( https://github.com/aframevr/aframe/issues/4081 ) that did seem to work “most times” but there are some bizarre timing issues happening here (last I checked Mozilla Reality had the same behaviour).
Notes:
- It appears that there is a time-out happening that kicks the user out of something takes too long to load.
- I was under the impression that webVR will load things in asynchronously; so I am unsure how this time-outs. Perhaps I need more understanding here.
You can see a glitch here I created that highlights the problem by moving between a "light" and "heavy" scene: https://glitch.com/~portal-test-af-1
I also made a PR here that attempted to fix the problem ( https://github.com/aframevr/aframe/pull/4107 ); but, I assume due to some updates on Oculus's end, this "hack" no longer works.
This is a bug and should be fixed here: https://github.com/aframevr/aframe/pull/4199

Using QT For Creating a Screen Dimmer

I'm trying to implement a screen dimmer using QT4 and I wanted some advice before I get cracking instead of going into this blindly.
I want to create a top-level window that has no frame. I was thinking of making the background black and messing with the opacity so that it will dim the screen out after the system is idle for a given period of time.
The problem with this is that if this window is always on top, how can I pass click events to the window underneath it? I'm not the least bit familiar with the windows API (the solution only has to work under windows), but I'm guessing that's a good place to start. Can anyone point me to some useful classes/functions or suggest another way of doing this via QT?
If anyone's interested in the solution I came up with and the windows API functions I used, you can check out my blog posting here: http://sarcastichacker.com/getnextwindowandgetforegroundwindow
I will be updating the source and making another related posting on the same blog within the next couple of days.

QT program's display gets frozen and scrambled

I haven't found anyone who's stated a problem similar to this, but then again maybe it's because I don't know the right term for the graphical glitch I'm having. This program worked and displayed just fine a week ago, but now it doesn't. I (or rather, "we," since it's a school project) haven't made any changes to it since then. It's made with QT, and running on CentOS. Here's a screenshot:
Screenshot of QT glitch
Whatever is behind the window shows in the background, and whatever happens in the window gets frozen on screen. For example, if a word is supposed to flash on the screen and then disappear and be replaced by another word, the first word does not disappear. Instead, the second word just appears on top of it.
Anyone able to point me in the right direction as to what could be doing this? I could post a code snippet, if I knew what part to post a snippet of. :S
Is the UI just one giant QGraphicsScene object? If so then it could well be an OpenGL driver issue. If not, then I'm going to guess that it's the underlying Qt painting system that has become corrupted, and just reinstalling Qt should do it.

Resources