Modify

Opened 4 months ago

Closed 3 weeks ago

Last modified 2 weeks ago

#20075 closed defect (fixed)

JTabPanel active tab text in white on macOS Big Sur

Reported by: Stereo Owned by: Stereo
Priority: normal Milestone: 21.02
Component: Core Version: latest
Keywords: template_report macOS bigsur regression javabug Cc:

Description (last modified by Stereo)

What steps will reproduce the problem?

  1. Open the preferences window, or the download window, or anything with a JTabbedPane.

What is the expected result?

Tab text is readable

What happens instead?

Tab text is white:


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

I can reproduce this by creating a hello world with a JTabbedPane. I can, however, force the tab text to black with:

import javax.swing.UIManager;
import java.awt.Color;
UIManager.put("TabbedPane.foreground", new Color(0,0,0));

Or with something like:

JTabbedPane tabbedPane = new JTabbedPane(JTabbedPane.TOP);
tabbedPane.setForeground(Color.BLACK);
Revision:17309
Is-Local-Build:true
Build-Date:2020-11-12 02:22:59

Identification: JOSM/1.5 (17309 SVN en_GB) Mac OS X 10.16
OS Build number: macOS 11.0.1 (20B29)
Memory Usage: 676 MB / 8192 MB (255 MB allocated, but free)
Java version: 15.0.1+8, Azul Systems, Inc., OpenJDK 64-Bit Server VM
Look and Feel: com.apple.laf.AquaLookAndFeel
Screen: Display 69733632 1680x1050 (scaling 2.0x2.0)
Maximum Screen Size: 1680x1050
Best cursor sizes: 16x16 -> 16x16, 32x32 -> 32x32
VM arguments: [--module-path=/Applications/JOSM.app/Contents/app/mods]
Dataset consistency test: No problems found

Plugins:
+ AddrInterpolation (35640)
+ CommandLine (35640)
+ Create_grid_of_ways (35640)
+ ImportImagePlugin (35567)
+ ImproveWay (29)
+ Mapillary (1.5.27)
+ OpeningHoursEditor (35640)
+ PicLayer (2a9aa7a)
+ RelationDissolve (0.2.0)
+ alignways (35640)
+ apache-commons (35524)
+ apache-http (35589)
+ areaselector (368)
+ austriaaddresshelper (1597341117)
+ auto_tools (73)
+ buildings_tools (35640)
+ changeset-viewer (22)
+ conflation (0.6.6)
+ continuosDownload (91)
+ contourmerge (v0.1.6)
+ ejml (35458)
+ geotools (35458)
+ gridify (1588746833)
+ http2 (35427)
+ imagery-xml-bounds (35640)
+ jaxb (35543)
+ jna (35458)
+ jogl (1.2.3)
+ jts (35458)
+ log4j (35458)
+ opendata (35640)
+ openqa (0.2.0)
+ poly (35640)
+ public_transport (35640)
+ reltoolbox (35640)
+ reverter (35640)
+ shrinkwrap (v1.0.3)
+ splinex (35562)
+ terracer (35640)
+ todo (30306)
+ undelete (35640)
+ utilsplugin2 (35640)
+ wikipedia (1.1.4)

Tagging presets:
+ https://josm.openstreetmap.de/josmfile?page=Presets/NewTags&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/BicycleJunction&preset&zip=1
+ http://osmtools.de/josm/steps.xml
+ https://josm.openstreetmap.de/josmfile?page=Presets/Historic_Stone&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/LaneAttributes&preset&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/Golf_Course&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/PublicTransportOneClick&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/Bus_lanes&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/Historical_Objects&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/public_bookcase&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/Stolpersteine&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/BuildingPreset&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/Playground_Equipment&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/PublicTransportGtfs&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/Heritage&zip=1
+ https://gitlab.com/k127/josm-presets/raw/master/diplomatic.xml

Map paint styles:
- https://josm.openstreetmap.de/josmfile?page=Styles/AddressValidator&style&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Lane_and_Road_Attributes&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/BesideTheRoad_Speed&zip=1
- https://github.com/simon04/coloured-addresses.mapcss/raw/master/dist/coloured-addresses.mapcss
- https://josm.openstreetmap.de/josmfile?page=Styles/Coloured_Streets&style&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/PublicTransport&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/PTStops&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/HiDPISupport&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/AddressValidator&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/iD&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Potlach2_access&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/IconTester&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/Potlatch2&zip=1

Validator rules:
+ http://www.openrailwaymap.org/validator/openrailwaymap.validator.mapcss
+ https://josm.openstreetmap.de/josmfile?page=Rules/GermanySpecific&zip=1
+ http://www.openrailwaymap.org/validator/de-openrailwaymap.validator.mapcss
+ https://josm.openstreetmap.de/josmfile?page=Rules/MissingWeekdays&zip=1
+ https://raw.githubusercontent.com/nlehuby/transport_mapcss/master/transport.validator.mapcss

Last errors/warnings:
- 00017.553 W: Not a single layer for the name 'Bing Sat': []
- 00023.975 E: <josm.userdata>/plugins/opendata/resources/org/openstreetmap/josm/plugins/opendata/modules/fr/datagouvfr/datasets/agriculture/RegistreParcellaire.mapcss (No such file or directory)
- 04407.637 W: Could not load Mapillary brand image!

Attachments (2)

jtabbedpane-bigsur.png (401.0 KB) - added by Stereo 4 months ago.
Screenshot 2020-12-15 at 22.42.22.png (315.1 KB) - added by Stereo 2 months ago.
With workaround

Download all attachments as: .zip

Change History (10)

Changed 4 months ago by Stereo

Attachment: jtabbedpane-bigsur.png added

comment:1 Changed 4 months ago by Stereo

Description: modified (diff)

comment:2 Changed 3 months ago by Stereo

Keywords: macOS bigsur regression added

comment:3 Changed 3 months ago by Don-vip

Keywords: javabug added
Owner: changed from team to Stereo
Status: newneedinfo

Can you please open a new bug to https://bugreport.java.com/bugreport/ after checking it appears with latest EA build of Java 16, and asking them to add josm-found label? You can attach your minimal reproducer, it will help to get a quick fix in Java 16.

comment:4 Changed 2 months ago by Stereo

Last edited 2 months ago by Stereo (previous) (diff)

comment:5 Changed 2 months ago by Stereo

Status: needinfonew

Changed 2 months ago by Stereo

With workaround

comment:6 Changed 2 months ago by Stereo

Fix in #20257

comment:7 Changed 3 weeks ago by Stereo

Milestone: 21.01
Resolution: fixed
Status: newclosed

comment:8 Changed 2 weeks ago by stoecker

Milestone: 21.0121.02

Milestone renamed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Stereo.
as The resolution will be set.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.