kirill-grouchnikov / radiance

Building modern, elegant and fast Swing applications
BSD 3-Clause "New" or "Revised" License
806 stars 89 forks source link

Issue with resizing of JIDE Windows #385

Closed suhasinisridhar closed 2 years ago

suhasinisridhar commented 2 years ago

Radiance Version #4.0.0

Sub-project - Substance

Version of Java - Java15 /Java17

Version of OS - Windows 10 In our application we have radiance Ribbon bar/Substance and JIDE dockable frames integrated. Seeing issue with resizing the dockable frames when rootpane border color is overridden using below snippet.

UIManager.put("RootPane.border", new LineBorder(Color.RED)); and JFrame.setDefaultLookAndFeelDecorated(true);

While resizing dockable frames, the window continuously moving down until the mouse drag is on.This is observed with Substance theme.I have tried same thing with out substance with Jide examples and I don't see issue there

kirill-grouchnikov commented 2 years ago

Does this happen under the latest version of Radiance (6.0-SNAPSHOT branch)?

You also say that this does not happen without Substance. Did you try it under other look-and-feels that support undecorated mode, such as Metal, FlatLaf or DarkLaf?

suhasinisridhar commented 2 years ago

I haven't tried with 6.0-SNAPSHOT .

I have attached the reproducible case in another email.

On Mon, Mar 28, 2022 at 4:23 PM Kirill Grouchnikov @.***> wrote:

Does this happen under the latest version of Radiance (6.0-SNAPSHOT branch)?

You also say that this does not happen without Substance. Did you try it under other look-and-feels that support undecorated mode, such as Metal, FlatLaf or DarkLaf?

— Reply to this email directly, view it on GitHub https://github.com/kirill-grouchnikov/radiance/issues/385#issuecomment-1080497943, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEYMKESIRPSYPG6KZOVMSPDVCGFSLANCNFSM5R2V3G7A . You are receiving this because you authored the thread.Message ID: @.***>

kirill-grouchnikov commented 2 years ago

I'll need to see the smallest reproducible case that shows this issue under the latest Radiance version.

Also, note that Radiance does not support setting a custom root pane border through UIManager calls, and doing so can lead to unpredictable and unsupported behavior.

kirill-grouchnikov commented 2 years ago

Closing as no requested information has been provided.