shadowfly256 commented on issue #8079:
URL: https://github.com/apache/netbeans/issues/8079#issuecomment-2558187995

   For me, the output is just like it is for you:
   ```
   s: true, d: true, gc: 
X11GraphicsConfig[dev=X11GraphicsDevice[screen=0],vis=0x45], devs: 
[X11GraphicsDevice[screen=0]]
   s: true, d: true, gc: 
X11GraphicsConfig[dev=X11GraphicsDevice[screen=0],vis=0x45], devs: 
[X11GraphicsDevice[screen=0]]
   s: true, d: true, gc: 
X11GraphicsConfig[dev=X11GraphicsDevice[screen=0],vis=0x45], devs: 
[X11GraphicsDevice[screen=0]]
   s: true, d: true, gc: 
X11GraphicsConfig[dev=X11GraphicsDevice[screen=0],vis=0x45], devs: 
[X11GraphicsDevice[screen=0]]
   s: true, d: true, gc: 
X11GraphicsConfig[dev=X11GraphicsDevice[screen=0],vis=0x45], devs: 
[X11GraphicsDevice[screen=0]]
   s: true, d: true, gc: 
X11GraphicsConfig[dev=X11GraphicsDevice[screen=0],vis=0x45], devs: 
[X11GraphicsDevice[screen=0]]
   s: true, d: true, gc: 
X11GraphicsConfig[dev=X11GraphicsDevice[screen=0],vis=0x45], devs: 
[X11GraphicsDevice[screen=0]]
   s: true, d: true, gc: 
X11GraphicsConfig[dev=X11GraphicsDevice[screen=0],vis=0x45], devs: 
[X11GraphicsDevice[screen=0]]
   s: true, d: true, gc: 
X11GraphicsConfig[dev=X11GraphicsDevice[screen=0],vis=0x45], devs: 
[X11GraphicsDevice[screen=0]]
   s: true, d: true, gc: 
X11GraphicsConfig[dev=X11GraphicsDevice[screen=0],vis=0x45], devs: 
[X11GraphicsDevice[screen=0]]
   s: true, d: true, gc: 
X11GraphicsConfig[dev=X11GraphicsDevice[screen=0],vis=0x45], devs: 
[X11GraphicsDevice[screen=0]]
   s: true, d: true, gc: 
X11GraphicsConfig[dev=X11GraphicsDevice[screen=0],vis=0x45], devs: 
[X11GraphicsDevice[screen=0]]
   s: true, d: true, gc: 
X11GraphicsConfig[dev=X11GraphicsDevice[screen=0],vis=0x45], devs: 
[X11GraphicsDevice[screen=0]]
   s: true, d: true, gc: 
X11GraphicsConfig[dev=X11GraphicsDevice[screen=0],vis=0x45], devs: 
[X11GraphicsDevice[screen=0]]
   s: true, d: true, gc: 
X11GraphicsConfig[dev=X11GraphicsDevice[screen=0],vis=0x45], devs: 
[X11GraphicsDevice[screen=0]]
   s: true, d: true, gc: 
X11GraphicsConfig[dev=X11GraphicsDevice[screen=0],vis=0x45], devs: 
[X11GraphicsDevice[screen=0]]
   s: true, d: true, gc: 
X11GraphicsConfig[dev=X11GraphicsDevice[screen=0],vis=0x45], devs: 
[X11GraphicsDevice[screen=0]]
   s: true, d: true, gc: 
X11GraphicsConfig[dev=X11GraphicsDevice[screen=0],vis=0x45], devs: 
[X11GraphicsDevice[screen=0]]
   s: true, d: true, gc: 
X11GraphicsConfig[dev=X11GraphicsDevice[screen=0],vis=0x45], devs: 
[X11GraphicsDevice[screen=0]]
   s: true, d: true, gc: 
X11GraphicsConfig[dev=X11GraphicsDevice[screen=0],vis=0x45], devs: 
[X11GraphicsDevice[screen=0]]
   s: true, d: true, gc: 
X11GraphicsConfig[dev=X11GraphicsDevice[screen=0],vis=0x45], devs: 
[X11GraphicsDevice[screen=0]]
   s: true, d: true, gc: 
X11GraphicsConfig[dev=X11GraphicsDevice[screen=0],vis=0x45], devs: 
[X11GraphicsDevice[screen=0]]
   s: true, d: true, gc: 
X11GraphicsConfig[dev=X11GraphicsDevice[screen=0],vis=0x45], devs: 
[X11GraphicsDevice[screen=0]]
   s: true, d: true, gc: 
X11GraphicsConfig[dev=X11GraphicsDevice[screen=0],vis=0x45], devs: 
[X11GraphicsDevice[screen=0]]
   s: true, d: true, gc: 
X11GraphicsConfig[dev=X11GraphicsDevice[screen=0],vis=0x45], devs: 
[X11GraphicsDevice[screen=0]]
   s: true, d: true, gc: 
X11GraphicsConfig[dev=X11GraphicsDevice[screen=0],vis=0x45], devs: 
[X11GraphicsDevice[screen=0]]
   ```
   When i select this program in VisualVM, and turn the screen off, nothing 
happens.
   But when i maximize the test window, and turn the screen off, then 
exceptions like this are generated:
   ```
   SEVERE [global]
   java.lang.IllegalArgumentException: Width (0) and height (0) cannot be <= 0
           at 
java.desktop/sun.awt.image.SunVolatileImage.<init>(SunVolatileImage.java:75)
           at 
java.desktop/sun.awt.image.SunVolatileImage.<init>(SunVolatileImage.java:122)
           at 
java.desktop/java.awt.GraphicsConfiguration.createCompatibleVolatileImage(GraphicsConfiguration.java:305)
           at 
java.desktop/java.awt.GraphicsConfiguration.createCompatibleVolatileImage(GraphicsConfiguration.java:239)
           at 
java.desktop/javax.swing.RepaintManager.getVolatileOffscreenBuffer(RepaintManager.java:1112)
           at 
java.desktop/javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1557)
           at 
java.desktop/javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:271)
           at 
java.desktop/javax.swing.RepaintManager.paint(RepaintManager.java:1337)
           at 
java.desktop/javax.swing.JComponent._paintImmediately(JComponent.java:5259)
           at 
java.desktop/javax.swing.JComponent.paintImmediately(JComponent.java:5069)
           at 
java.desktop/javax.swing.RepaintManager$4.run(RepaintManager.java:879)
           at 
java.desktop/javax.swing.RepaintManager$4.run(RepaintManager.java:862)
           at 
java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
           at 
java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
           at 
java.desktop/javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:862)
           at 
java.desktop/javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:835)
           at 
java.desktop/javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:784)
           at 
java.desktop/javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1898)
           at 
java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318)
           at 
java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:773)
           at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:720)
           at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:714)
           at 
java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
           at 
java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
           at 
java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
           at 
org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
   [catch] at 
java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
           at 
java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
           at 
java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
           at 
java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
           at 
java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
           at 
java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
   ```
   Somehow the Exceptions say NetBeans even though i made sure to close 
NetBeans.
   
   As for NetBeans: Widowing NetBeans does not protect it from the bug (at 
least not for me).
   As for VisualVM: Windowing VisualVM does not protect it from the bug. When i 
select no program to profile, VisualVM does not output anything when i turn the 
screen off. When i select the test program, or VisualVM as target for the 
profiler, the following exceptions are generated:
   ```
   SEVERE [global]
   java.lang.IllegalArgumentException: Width (0) and height (0) cannot be <= 0
           at 
java.desktop/sun.awt.image.SunVolatileImage.<init>(SunVolatileImage.java:75)
           at 
java.desktop/sun.awt.image.SunVolatileImage.<init>(SunVolatileImage.java:122)
           at 
java.desktop/java.awt.GraphicsConfiguration.createCompatibleVolatileImage(GraphicsConfiguration.java:305)
           at 
java.desktop/java.awt.GraphicsConfiguration.createCompatibleVolatileImage(GraphicsConfiguration.java:239)
           at 
java.desktop/javax.swing.RepaintManager.getVolatileOffscreenBuffer(RepaintManager.java:1112)
           at 
java.desktop/javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1557)
           at 
java.desktop/javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:271)
           at 
java.desktop/javax.swing.RepaintManager.paint(RepaintManager.java:1337)
           at 
java.desktop/javax.swing.JComponent._paintImmediately(JComponent.java:5259)
           at 
java.desktop/javax.swing.JComponent.paintImmediately(JComponent.java:5069)
           at 
java.desktop/javax.swing.RepaintManager$4.run(RepaintManager.java:879)
           at 
java.desktop/javax.swing.RepaintManager$4.run(RepaintManager.java:862)
           at 
java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
           at 
java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
           at 
java.desktop/javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:862)
           at 
java.desktop/javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:835)
           at 
java.desktop/javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:784)
           at 
java.desktop/javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1898)
           at 
java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318)
           at 
java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:773)
           at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:720)
           at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:714)
           at 
java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
           at 
java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
           at 
java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
           at 
org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
   [catch] at 
java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
           at 
java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
           at 
java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
           at 
java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
           at 
java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
           at 
java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
   ```
   So i don't know if these Exceptions are form the test program or VisualVM. 
Unfortunatley i don't know how to get the test program's exceptions without 
VisualVM.
   
   Journal while i turn the screen off:
   ```
   journalctl -b --follow
   Dec 21 18:51:48 SHADOWFLY-03 kwin_wayland_wrapper[1178]: kf.windowsystem: 
static bool KX11Extras::mapViewport() may only be used on X11
   Dec 21 18:51:53 SHADOWFLY-03 kwin_wayland_wrapper[1178]: qt.qml.context: 
file:///usr/share/kwin/aurorae/AuroraeMaximizeButton.qml:54:9 Parameter "mouse" 
is not declared. Injection of parameters into signal handlers is deprecated. 
Use JavaScript functions with formal parameters instead.
   Dec 21 18:51:55 SHADOWFLY-03 polkit-kde-authentication-agent-1[1429]: 
qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
   Dec 21 18:51:55 SHADOWFLY-03 kded6[1346]: qt.qpa.wayland: Creating a fake 
screen in order for Qt not to crash
   Dec 21 18:51:55 SHADOWFLY-03 plasmashell[1396]: kde.plasmashell: requesting 
unexisting screen available rect -1
   Dec 21 18:51:55 SHADOWFLY-03 plasmashell[1396]: kde.plasmashell: requesting 
unexisting screen available rect -1
   Dec 21 18:51:55 SHADOWFLY-03 plasmashell[1396]: kde.plasmashell: requesting 
unexisting screen available rect -1
   Dec 21 18:51:55 SHADOWFLY-03 plasmashell[1396]: kde.plasmashell: requesting 
unexisting screen available rect -1
   Dec 21 18:51:55 SHADOWFLY-03 dolphin[2496]: qt.qpa.wayland: Creating a fake 
screen in order for Qt not to crash
   Dec 21 18:51:55 SHADOWFLY-03 DiscoverNotifier[1691]: qt.qpa.wayland: 
Creating a fake screen in order for Qt not to crash
   Dec 21 18:51:55 SHADOWFLY-03 konsole[2691]: qt.qpa.wayland: Creating a fake 
screen in order for Qt not to crash
   Dec 21 18:51:55 SHADOWFLY-03 org.kde.kwalletd6[2101]: qt.qpa.wayland: 
Creating a fake screen in order for Qt not to crash
   Dec 21 18:51:55 SHADOWFLY-03 kactivitymanagerd[1425]: qt.qpa.wayland: 
Creating a fake screen in order for Qt not to crash
   Dec 21 18:51:55 SHADOWFLY-03 kdeconnectd[1668]: 2024-12-21T18:51:55 
qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
   Dec 21 18:51:55 SHADOWFLY-03 kalendarac[1679]: qt.qpa.wayland: Creating a 
fake screen in order for Qt not to crash
   Dec 21 18:51:55 SHADOWFLY-03 yakuake[1672]: qt.qpa.wayland: Creating a fake 
screen in order for Qt not to crash
   Dec 21 18:51:55 SHADOWFLY-03 xdg-desktop-portal-kde[1431]: qt.qpa.wayland: 
Creating a fake screen in order for Qt not to crash
   Dec 21 18:51:55 SHADOWFLY-03 kalendarac[1934]: qt.qpa.wayland: Creating a 
fake screen in order for Qt not to crash
   Dec 21 18:51:55 SHADOWFLY-03 kalendarac[1936]: qt.qpa.wayland: Creating a 
fake screen in order for Qt not to crash
   Dec 21 18:51:55 SHADOWFLY-03 kalendarac[1935]: qt.qpa.wayland: Creating a 
fake screen in order for Qt not to crash
   Dec 21 18:51:55 SHADOWFLY-03 kalendarac[1933]: qt.qpa.wayland: Creating a 
fake screen in order for Qt not to crash
   Dec 21 18:51:55 SHADOWFLY-03 kalendarac[1842]: qt.qpa.wayland: Creating a 
fake screen in order for Qt not to crash
   Dec 21 18:51:55 SHADOWFLY-03 kalendarac[1937]: qt.qpa.wayland: Creating a 
fake screen in order for Qt not to crash
   Dec 21 18:51:55 SHADOWFLY-03 kalendarac[1931]: qt.qpa.wayland: Creating a 
fake screen in order for Qt not to crash
   Dec 21 18:51:55 SHADOWFLY-03 kalendarac[1932]: qt.qpa.wayland: Creating a 
fake screen in order for Qt not to crash
   Dec 21 18:51:55 SHADOWFLY-03 org_kde_powerdevil[1430]: qt.qpa.wayland: 
Creating a fake screen in order for Qt not to crash
   Dec 21 18:51:55 SHADOWFLY-03 plasmashell[1396]: 
file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:370:21:
 Unable to assign [undefined] to bool
   Dec 21 18:51:55 SHADOWFLY-03 plasmashell[1396]: 
file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:238:17:
 Unable to assign [undefined] to bool
   Dec 21 18:51:55 SHADOWFLY-03 plasmashell[1396]: 
file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:370:21:
 Unable to assign [undefined] to bool
   Dec 21 18:51:55 SHADOWFLY-03 plasmashell[1396]: 
file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:238:17:
 Unable to assign [undefined] to bool
   Dec 21 18:51:55 SHADOWFLY-03 plasmashell[1396]: qt.qpa.wayland: Creating a 
fake screen in order for Qt not to crash
   Dec 21 18:51:55 SHADOWFLY-03 plasmashell[1396]: kf.plasma.quick: Exposed 
with no visual parent. Window positioning broken.
   Dec 21 18:51:55 SHADOWFLY-03 plasmashell[1396]: kf.plasma.quick: Exposed 
with no visual parent. Window positioning broken.
   Dec 21 18:51:55 SHADOWFLY-03 plasmashell[1396]: kf.plasma.quick: Exposed 
with no visual parent. Window positioning broken.
   Dec 21 18:51:55 SHADOWFLY-03 plasmashell[1396]: kf.plasma.quick: Exposed 
with no visual parent. Window positioning broken.
   Dec 21 18:51:55 SHADOWFLY-03 plasmashell[1396]: kf.plasma.quick: Exposed 
with no visual parent. Window positioning broken.
   Dec 21 18:51:55 SHADOWFLY-03 plasmashell[1396]: kf.plasma.quick: Exposed 
with no visual parent. Window positioning broken.
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to