Popup: fixed UnsupportedOperationException: PERPIXEL_TRANSLUCENT translucency is not supported exception on Haiku OS when showing popup (partly) outside of window (issue #869)

This commit is contained in:
Karl Tauber
2024-08-02 23:47:29 +02:00
parent d510fee7f6
commit 948decb3b5
3 changed files with 14 additions and 2 deletions

View File

@@ -1,6 +1,15 @@
FlatLaf Change Log
==================
## 3.5.1-SNAPSHOT
#### Fixed bugs
- Popup: Fixed `UnsupportedOperationException: PERPIXEL_TRANSLUCENT translucency
is not supported` exception on Haiku OS when showing popup (partly) outside of
window. (issue #869)
## 3.5
#### New features and improvements

View File

@@ -139,7 +139,10 @@ public class FlatPopupFactory
forceHeavyWeight = true;
// create drop shadow popup
return new DropShadowPopup( getPopupForScreenOfOwner( owner, contents, x, y, forceHeavyWeight ), owner, contents );
Popup popupForScreenOfOwner = getPopupForScreenOfOwner( owner, contents, x, y, forceHeavyWeight );
return owner.getGraphicsConfiguration().isTranslucencyCapable()
? new DropShadowPopup( popupForScreenOfOwner, owner, contents )
: new NonFlashingPopup( popupForScreenOfOwner, owner, contents );
}
/**

View File

@@ -15,7 +15,7 @@
#
flatlaf.releaseVersion = 3.5
flatlaf.developmentVersion = 3.6-SNAPSHOT
flatlaf.developmentVersion = 3.5.1-SNAPSHOT
org.gradle.parallel = true
# org.gradle.warning.mode = all