JDK-8226990 : GTK & Nimbus LAF: Tabbed pane's background color is not expected one when change the opaque checkbox.
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 8,11,12,13,18
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: linux
  • CPU: x86_64
  • Submitted: 2019-06-28
  • Updated: 2024-11-26
  • Resolved: 2024-05-10
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 23
23 b23Fixed
Related Reports
Relates :  
Relates :  
Sub Tasks
JDK-8339577 :  
Description
Testsuite name: Regression manual
Test name(s): javax/swing/JTabbedPane/4690946/bug4690946.java
Product(s) tested: JDK11.0.5b01(64bit)
OS/architecture: Oel7.6-uek-x64/Jtreg4.2b14
Options:-Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel

Actual behavior:
1.The background color of the tabbed pane is not red.Please refer to default-with-options.png
2.When the opaque checkbox is unchecked,the tabs area and content area is not opaque .Please refer to default-with-options.png 
3.When the opaque checkbox is checked,the content area is not opaque and the selected tab is not gray.Please refer to opaque-with-options.png
4.There is no such issue without options.Please refer to default-no-options.png and opaque-no-options.png

Comments
Changeset: b9a142a2 Author: Abhishek Kumar <abhiscxk@openjdk.org> Date: 2024-05-10 04:45:01 +0000 URL: https://git.openjdk.org/jdk/commit/b9a142a2243676b3f4fe288e7a28f4957a4d1edd
10-05-2024

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/17720 Date: 2024-02-06 05:43:26 +0000
06-02-2024

This is duplicate/superset of https://bugs.openjdk.java.net/browse/JDK-8225168. Number of cases covered is more in this bug than https://bugs.openjdk.java.net/browse/JDK-8225168. Root cause for both is same issue.
01-07-2019