-
Notifications
You must be signed in to change notification settings - Fork 235
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WebMenu 1st Time Render Glitch #104
Comments
That happens on the latest version of JDK 7, right? |
I have found the cause of this issue, fix will be available in v1.27 update. It seems that something changed in 40+ JDK 7 versions so that opacity of transparent window is not updated automatically on first display so i had to set it manually. A bit dirty but it is working. |
Awesome! Yes it was JDK 7. |
…ange options #105 - WebButton decoration is now handled a bit differently when it is inside WebButtonGroup #72 #79 #104 - Fixed window transparency update method for later versions of JDK 7 #96 - WebButtonGroup "add" methods fix and proper style updates for various cases #95 - WebScrollPane method to hide scroll bar buttons added #93 - WebPopupPainter bottom side corner fix #91 - Small code refactoring #90 - WebInternalFrame buttons made non-focusable #55 - "OptionPane.isYesLast" is now set to true for Mac OS X StyleManager initialization is not required anymore for Web-styled components creation StyleManager now supports custom component painters StyleManager now has a better support for custom settings StyleManager skin file parsing improvements 9-patch-based painters added for JLabel and JPanel components JLabel painter support added WebVerticalLabel painter support added WebBreadcrumbLabel painter support added WebBreadcrumbPanel painter support added WebAsyncTree root sorting/filtering do not cause an exception anymore NinePatchEditor image rotation features added WebButtonUI margin fix for hidden sides case NinePatchIcon cache initialization fix Improved text representation for UniqueNode WebListUI rollover cell highlight fix Default SettingsProcessors small bugfixes Demo application heavy animation switch fix Version files updated
Should be fixed now with v1.27 update. |
I'm still seeing this issue with WebLaF 1.27 on OS X 10.9, under JDK 1.7. I can't reproduce this on Windows. Doing JFrame.setDefaultLookAndFeelDecorated(true) resolves the issue for the menu, but causes issues with the frame. Do you think it could be something to do with window's drop shadow? EDIT: Actually, setting the frame to decorated only seems to indirectly fix the menus. I set the shade width of the frame to 0: |
Menu is fine on the 2nd screenshot because it is displayed inside of the frame on a layered pane instead of a separate window and fully rendered within that window. That is a lightweight popup Swing feature "in action". So it is not related to the actual window transparency issue you are suffering from. I have added a few more fixes into currently developed version, could you test it on your system? |
Awesome, everything's fine in the new build, cheers! :D |
Great, I will be closing this one as soon as v1.28 is released. |
Cheers! Will do :) |
Fix is now available in v1.28 update: |
Whenever a WebMenu is created within a WebMenu the second menu will (only on first selection) will glitch to be bigger and then on re-selection will be the normal size. It will also do it again if the WebMenu is resized. (Not replicable on linux)

It can also be simulated on the demo by minimizing it and trying to select a sub-WebMenu.
The text was updated successfully, but these errors were encountered: