netbeans icon indicating copy to clipboard operation
netbeans copied to clipboard

Error with splitted windows

Open edrobal opened this issue 3 years ago • 5 comments
trafficstars

Apache NetBeans version

Apache NetBeans 13

What happened

It' version 13 and issues I reported for version 8 are always in it. Breakpoints and bookmarks are badly set.

How to reproduce

  1. Split the windows.
  2. Click on panel margin to set breakpoint. If you don't have click on this panel the breakpoint is not set in the good panel.
  3. Click on bookmark button for the down panel. Bookmark is always set on the upper panel.

Did this work correctly in an earlier version?

No

Operating System

Linux version 5.3.18-150300.59.63-default running on amd64; UTF-8; fr_CH (nb)

JDK

Java: 11.0.15; OpenJDK 64-Bit Server VM 11.0.15+10-jvmci-22.1-b06 Runtime: OpenJDK Runtime Environment 11.0.15+10-jvmci-22.1-b06

Apache NetBeans packaging

Apache NetBeans provided installer

Anything else

Error happens always

Are you willing to submit a pull request?

No

Code of Conduct

Yes

edrobal avatar May 26 '22 13:05 edrobal

And also splited windows cannot be unsplited.

edrobal avatar May 26 '22 15:05 edrobal

NetBeans 21, Windows 10, JDK 21. Same problem with "Toggle Bookmark" button in the lower split panel. It toggles bookmark in the upper panel instead.

epliskin avatar May 15 '24 06:05 epliskin

I suggest that developers use Netbeans. They might discover the problems in use.

edrobal avatar May 16 '24 06:05 edrobal

Most developers on NetBeans use it every day. That doesn't mean every feature gets used often.

This is curious - looks like the toggle applies before focus change to the other split occurs. Let's see if we can get this fixed for NB23 - should hopefully be an easy one.

Split windows can easily be unsplit by dragging the divider to the side.

neilcsmith-net avatar May 16 '24 15:05 neilcsmith-net

I looked at this and from my tests only "Toggle bookmarks" via the editor toolbar reproduced the problem.

image

Toggling breakpoints using the keyboard worked correctly from both split panes I tested with.

Unsplitting works for me by dragging the splitter to one site or calling "Clear" from context menu:

image

@edrobal

I suggest that developers use Netbeans. They might discover the problems in use.

I think your comment is out of line and doesn't help your case.

matthiasblaesing avatar May 19 '24 14:05 matthiasblaesing

@edrobal @epliskin please test the suggested fix available from #7384: https://github.com/apache/netbeans/suites/23945896463/artifacts/1517369467

That fix covers the toggle bookmarks case as that was the one I could reproduce.

matthiasblaesing avatar May 20 '24 07:05 matthiasblaesing

@matthiasblaesing Yes, for me that dev build fixes the toggle bookmarks buttons in a split view. Windows 10, JDK 21.

epliskin avatar May 20 '24 07:05 epliskin

Added a potential fix for the breakpoint mouse click in #7386

Dev build available at https://github.com/apache/netbeans/actions/runs/9160524579/artifacts/1519576788

neilcsmith-net avatar May 20 '24 14:05 neilcsmith-net

@epliskin thank you for the verification!

matthiasblaesing avatar May 21 '24 18:05 matthiasblaesing

@edrobal you raised the issue about the break points, please check the fix @neilcsmith-net created via #7386. A test build with that fix is available as Neil indicated here: https://github.com/apache/netbeans/issues/4155#issuecomment-2120614578

matthiasblaesing avatar May 21 '24 18:05 matthiasblaesing

I try to install netbeans 21 with java 22. I use Linux. Netbeans freeze at 10% each time I open a netbeans 8 project.

edrobal avatar May 27 '24 14:05 edrobal

@edrobal there are breaking changes in JDK22. For NB21 use JDK21. NB22 (currently being in release) will support running on JDK22+

matthiasblaesing avatar May 27 '24 15:05 matthiasblaesing