Skip to content
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

Cloned tab with "Design view" capability has no content inside #8176

Open
PetrMiksik opened this issue Jan 21, 2025 · 5 comments
Open

Cloned tab with "Design view" capability has no content inside #8176

PetrMiksik opened this issue Jan 21, 2025 · 5 comments
Labels
FormDesigner GUI builder, also known as Matisse kind:bug Bug report or fix needs:triage Requires attention from one of the committers

Comments

@PetrMiksik
Copy link

PetrMiksik commented Jan 21, 2025

Apache NetBeans version

Apache NetBeans 24

What happened

When you clone the tab which have the "Design View" capability available, its content is empty. It's necessary to perform some kind of "refresh" operation to display its content (for example to switch between Design and Source View).

Image

Language / Project Type / NetBeans Component

Java Project with Ant

How to reproduce

See the issue description.

Did this work correctly in an earlier version?

No / Don't know

Operating System

Ubuntu 22.04
Windows 10
Windows 11

JDK

OpenJDK 64-Bit JRE 21.0.5+11-Ubuntu-1ubuntu122.04
Eclipse Temurin OpenJDK 23.0.1+11

Apache NetBeans packaging

Apache NetBeans provided installer

Anything else

No response

Are you willing to submit a pull request?

No

@PetrMiksik PetrMiksik added kind:bug Bug report or fix needs:triage Requires attention from one of the committers labels Jan 21, 2025
@matthiasblaesing
Copy link
Contributor

Works as expected on JDK 23 on Ubuntu 24.10:

Image

Please check if the problem persist with a clean userdir (user command line option --userdir to point it to an empty directory.
Please also check/provide $HOME/.netbeans/24/var/log/messages.log

@neilcsmith-net
Copy link
Member

Likewise cannot replicate with the community installer DEB (using Azul JDK 23 or same system JDK 21, and using Metal LaF) on Ubuntu 22.04.

@PetrMiksik
Copy link
Author

I tried several system / java version / L&Fs combinations and got still the same behavior (Windows 10 - Microsoft JDK 21.0.5, Windows 11 - Eclipse Temurin JDK 23.0.1, L&F - Metal, Nimbus, FlatLaf, Native). Running NetBeans with clean userdir also did not solve the issue. Log file included.

messages.log

@mbien mbien added the FormDesigner GUI builder, also known as Matisse label Jan 23, 2025
@mbien
Copy link
Member

mbien commented Jan 23, 2025

tested the lower bound too:

  Product Version         = Apache NetBeans IDE 24
  Operating System        = Linux version 6.6.65-1-MANJARO running on amd64
  Java; VM; Vendor        = 17.0.14; OpenJDK 64-Bit Server VM 17.0.14+7-LTS; Amazon.com Inc.

Image

@matthiasblaesing
Copy link
Contributor

The message log does show nothing interesting. I notice two things that stand out:

  • The kernel is ancient (2 years)
  • You are using KDE

Please check if running with a clean Ubuntu fixes the issue and then test whether introducing KDE or the old kernel generates the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
FormDesigner GUI builder, also known as Matisse kind:bug Bug report or fix needs:triage Requires attention from one of the committers
Projects
None yet
Development

No branches or pull requests

4 participants