You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Laszlo Kishalmi (JIRA)" <ji...@apache.org> on 2018/04/21 03:43:00 UTC

[jira] [Commented] (NETBEANS-690) Editor randomly Jumps about in Source file

    [ https://issues.apache.org/jira/browse/NETBEANS-690?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16446614#comment-16446614 ] 

Laszlo Kishalmi commented on NETBEANS-690:
------------------------------------------

Well, I could reproduce this by having a document opened in split mode (one file, two editor) It seems when it happens the IDE logs the following WARNING to the console:

{{WARNING [org.openide.util.WeakListenerImpl]: Can't remove java.beans.PropertyChangeListener using method org.netbeans.modules.editor.NbEditorDocument.removePropertyChangeListener from org.netbeans.modules.editor.NbEditorDocument@6b9fd613, mimeType='text/x-java', kitClass=null, length=22739, version=2, file=org.netbeans.modules.java.JavaDataObject@4054e5dc[/home/doki/NetBeansProjects/incubator-netbeans/core.startup/src/org/netbeans/core/startup/Splash.java@2817f4fd:5633d6b1]}}
{{WARNING [null]: Last record repeated again.}}
{{WARNING [null]: Last record repeated 3 more times.}}

> Editor randomly Jumps about in Source file
> ------------------------------------------
>
>                 Key: NETBEANS-690
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-690
>             Project: NetBeans
>          Issue Type: Bug
>          Components: editor - Code folding, editor - Formatting &amp; Indentation
>    Affects Versions: 9.0
>         Environment: Product Version: Apache NetBeans IDE Dev (Build incubator-netbeans-release-205-on-20180202)
> Java: 10; Java HotSpot(TM) 64-Bit Server VM 10+46
> Runtime: Java(TM) SE Runtime Environment 10+46
> System: Windows 10 version 10.0 running on amd64; Cp1252; en_AU (nb)
> User directory: Z:\tmp\.other\user\netbeans\v09.00-beta\FourAbs
> Cache directory: Z:\tmp\.other\cache\netbeans\FourAbs-09
>            Reporter: will mason
>            Priority: Major
>              Labels: Regression, jumping
>             Fix For: 9.0
>
>
> h2. context
> *  Normal everyday editing of java code
> * The position on the SCREEN that user is viewing stays put
> h2. expected / desirable
> * Edit files without any warning or pattern -- Except that when it happens you might think it was because of ... X
> * Some examples
> **  Scroll file to some other section -- Then do an action.  File jumps.
> **  Select or try to select code in another part of the file; or in another window.   File jumps.
> ** Fold or Expand a method or comment and file Jumps
> ** editing in one window -- code jumps in other views of that file.
> h2. actual
> * The editor often jumps around in the source file with not warning
> **   Sometimes it can be OK, and other times your context is shattered!
> h2.  Impact
> *  Extremely annoying
> *  need to repeat work to reestablish context
> * sometime need to find a different way to achieve the goal



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists