RFR: 8287912: GTK L&F : Background of tree icons are red [v3]

Abhishek Kumar duke at openjdk.org
Mon Sep 5 17:08:57 UTC 2022


> The background of tree icons are not red in GTK LAF when setOpaque is set to false for tree component.
> It has been observed that while painting tree cell background in GTK LAF, a rectangular area is also painted with background color (white). 
> 
> Proposed solution is to check the opacity of tree component before drawing tree cell background. If the opacity is set to "false" then the background shouldn't be painted.
> 
> An automated test case has been added and checked in CI, link is added in JBS.

Abhishek Kumar has updated the pull request incrementally with one additional commit since the last revision:

  Review comments fix

-------------

Changes:
  - all: https://git.openjdk.org/jdk/pull/10112/files
  - new: https://git.openjdk.org/jdk/pull/10112/files/fb3db43f..f3fd0e7d

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=10112&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=10112&range=01-02

  Stats: 4 lines in 1 file changed: 1 ins; 0 del; 3 mod
  Patch: https://git.openjdk.org/jdk/pull/10112.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/10112/head:pull/10112

PR: https://git.openjdk.org/jdk/pull/10112



More information about the client-libs-dev mailing list