Modify

Opened 6 months ago

Closed 6 months ago

#23784 closed defect (othersoftware)

UI elements randomly turning black, visible if the element is hoverable

Reported by: NLBRT - tantus4@… Owned by: NLBRT - tantus4@…
Priority: critical Milestone:
Component: Core Version: tested
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

  1. Run any version of JOSM on Windows 11 (preferably after 18000+)
  2. Use any theme/"Look and Feel"
  3. Just do anything.

What is the expected result?

All UI elements in an active popup/drop-down goes black. It comes back visible if the element is hoverable. It has about a 2 in 3 chance of occuring.

What happens instead?

Please provide any additional information below. Attach a screenshot if possible.

Revision:19129
Is-Local-Build:true
Build-Date:2024-07-06 11:35:51

Identification: JOSM/1.5 (19129 SVN en_GB) Windows 11 64-Bit
OS Build number: Windows 10 Home Single Language 23H2 (22631)
Memory Usage: 231 MB / 876 MB (128 MB allocated, but free)
Java version: 22.0.1+8, Azul Systems, Inc., OpenJDK 64-Bit Server VM
Look and Feel: com.formdev.flatlaf.FlatDarculaLaf
Screen: \Display0 1920x1080x32bpp@60Hz (scaling 1.25×1.25)
Maximum Screen Size: 1920×1080
Best cursor sizes: 16×16→32×32, 32×32→32×32
System property file.encoding: UTF-8
System property sun.jnu.encoding: UTF-8
Locale info: en_GB
Numbers with default locale: 1234567890 -> 1234567890
VM arguments: [-Djpackage.app-version=1.5.19129, --add-modules=java.scripting,java.sql,javafx.controls,javafx.media,javafx.swing,javafx.web, --add-exports=java.base/sun.security.action=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.plugins.jpeg=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.spi=ALL-UNNAMED, --add-opens=java.base/java.lang=ALL-UNNAMED, --add-opens=java.base/java.nio=ALL-UNNAMED, --add-opens=java.base/jdk.internal.loader=ALL-UNNAMED, --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED, --add-opens=java.desktop/javax.imageio.spi=ALL-UNNAMED, --add-opens=java.desktop/javax.swing.text.html=ALL-UNNAMED, --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED, -Djpackage.app-path=%UserProfile%\AppData\Local\JOSM\JOSM.exe]

Plugins:
+ flatlaf (36176)

Last errors/warnings:
- 00001.075 W: extended font config - overriding 'filename.Malgun_Gothic=malgun.ttf' with 'MALGUN.TTF'
- 00001.078 W: extended font config - overriding 'filename.Myanmar_Text=mmrtext.ttf' with 'MMRTEXT.TTF'
- 00001.079 W: extended font config - overriding 'filename.Mongolian_Baiti=monbaiti.ttf' with 'MONBAITI.TTF'
- 00001.079 W: extended font config - overriding 'filename.Vrinda=vrinda.ttf' with 'VRINDA.TTF'
- 00002.061 E: java.security.KeyStoreException: Windows-ROOT not found. Cause: java.security.NoSuchAlgorithmException: Windows-ROOT KeyStore not available

Attachments (3)

Screenshot 2024-07-07 041254.png (145.5 KB ) - added by NLBRT - tantus4@… 6 months ago.
Screenshot 2024-07-10 205932.png (22.0 KB ) - added by NLBRT - tantus4@… 6 months ago.
Same error in Nimbus.
Screenshot 2024-07-10 210237.png (148.5 KB ) - added by NLBRT - tantus4@… 6 months ago.
Here's the relation editor, again using the Nimbus theme.

Download all attachments as: .zip

Change History (9)

by NLBRT - tantus4@…, 6 months ago

comment:1 by taylor.smock, 6 months ago

Owner: changed from team to NLBRT - tantus4@…
Status: newneedinfo

Can you reproduce without the FlatLaf plugin installed or with a separate LaF (specifically Metal, although the Windows specific LaF might "look" better).

in reply to:  1 comment:2 by NLBRT - tantus4@…, 6 months ago

Replying to taylor.smock:

Can you reproduce without the FlatLaf plugin installed or with a separate LaF (specifically Metal, although the Windows specific LaF might "look" better).

Yep, I'm actually using Nimbus at the moment, and yet it keeps happening. Again, themes aren't relevant, it just keeps happening.

Anyway, I'm providing some additional screenshots in the attachments.

by NLBRT - tantus4@…, 6 months ago

Same error in Nimbus.

by NLBRT - tantus4@…, 6 months ago

Here's the relation editor, again using the Nimbus theme.

comment:3 by skyper, 6 months ago

I have seen the same quite some time ago on Linux but I forgot how I got rid of it. Maybe it did just vanish after some time and upgrades of my system.

comment:4 by taylor.smock, 6 months ago

I wasn't able to reproduce with JOSM r19128 (latest tested) on Windows 11. I was using Java 21 though.

With that said, I strongly suspect a graphics driver issue of some kind.

comment:5 by NLBRT, 6 months ago

Your suspicions are correct. Earlier today, I was opening Blender after a while, only to see the exact same issue occuring with AMD Drivers. I decided to look it up in their forums and there it was. I'm mentioning the steps to fix it below.

For Windows, this fix is straightforward, but will take ~10 minutes:

  1. Download and install Display Driver Uninstaller (DDU) from the official mirror => https://www.wagnardsoft.com/display-driver-uninstaller-DDU-
  2. From the "Device Type" drop-down on the right, select "GPU". DDU will automatically detect the GPU you're using.
  3. Click on "Clean and Restart" at the top. This will uninstall the graphics drivers and restart your PC.
  4. Reinstall the drivers, preferably using AMD's new Wizard.

This should work on most devices with AMD GPUs without any sort of roadblocks.

WARNING: Create a backup of your PC before using DDU. Although it creates a recovery point by itself, it's ideal to make one yourself just in case.

Hope this helps!

(P.S: You may close this ticket and refer to this ticket/reply for any such issues in the near future)

comment:6 by taylor.smock, 6 months ago

Resolution: othersoftware
Status: needinfoclosed

I've gone ahead and copy-pasted your troubleshooting steps to the troubleshooting section of the wiki:Download page.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain NLBRT - tantus4@….
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.