Menu

#2555 Mouse-dragging is sometimes laggy

Next Release
unable-to-reproduce
nobody
None
normal
tweak
Always
none
1.6.10
Win7SP1 32-bit; JRE 1.8.0_101
2017-12-16
2017-11-06
No

I have a complex mind map which I'd rather not upload, which is laggy when scrolling. It is laggy when using the mouse wheel, but it seems a bit moreso when dragging the plane with the mouse. It has more than a hundred nodes. It has a bunch of notes, floating nodes, clouds, arrows between nodes, and links to jump from node to node. I saw a closed ticket complaining about something similar, relating it to a JRE update. However, I think there is substantial room for optimization. I imported the whole map in X-Mind, and the map scrolled around crisply and responsively. (Unfortunately, node positioning was not nearly so flexible.)

I believe it is a matter of optimization; not a JRE unable to create performant applications, that makes some complex maps scroll slowly. When dragging by the mouse, it takes 1-4 sec. to redraw the screen. When scrolling by mouse wheel, individual screen refreshes are < 1 sec. Interestingly, when I go to Help | Documentation, THAT map can be dragged around quite smoothly by comparison.

Here's something odd about this problem: after having the same map open for several hours, I can drag the plane around really quickly. Closing FreePlane and reopening it causes the scrolling to be really laggy again.

Discussion

  • The Shady Watcher

    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,3 +1,5 @@
     I have a complex mind map which I'd rather not upload, which is laggy when scrolling.  It is laggy when using the mouse wheel, but it seems a bit moreso when dragging the plane with the mouse.  It has a bunch of notes, floating nodes, clouds, arrows between nodes, and links to jump from node to node.  It has more than a hundred nodes.  I saw a closed ticket complaining about something similar, relating it to a JRE update.  However, I think there is substantial room for optimization.  I imported the whole map in X-Mind, and the map scrolled around crisply and responsively.  (Unfortunately, node positioning was not nearly so flexible.)
    
     I believe it is a matter of optimization; not a JRE unable to create performant applications, that makes some complex maps scroll slowly.
    +
    +Here's something odd about this problem: after having the same map open for several hours, I can drag the plane around really quickly.  Closing FreePlane and reopening it causes the scrolling to be really laggy again.
    
    • platform: Win7SP1 32-bit --> Win7SP1 32-bit; JRE 1.8.0_101
     
  • The Shady Watcher

    • build: --> 1.6.10
     
  • The Shady Watcher

    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,5 +1,5 @@
     I have a complex mind map which I'd rather not upload, which is laggy when scrolling.  It is laggy when using the mouse wheel, but it seems a bit moreso when dragging the plane with the mouse.  It has a bunch of notes, floating nodes, clouds, arrows between nodes, and links to jump from node to node.  It has more than a hundred nodes.  I saw a closed ticket complaining about something similar, relating it to a JRE update.  However, I think there is substantial room for optimization.  I imported the whole map in X-Mind, and the map scrolled around crisply and responsively.  (Unfortunately, node positioning was not nearly so flexible.)
    
    -I believe it is a matter of optimization; not a JRE unable to create performant applications, that makes some complex maps scroll slowly.
    +I believe it is a matter of optimization; not a JRE unable to create performant applications, that makes some complex maps scroll slowly.  When dragging by the mouse, it takes about 2 sec. to redraw the screen.  When scrolling by mouse wheel, individual screen refreshes are < 1 sec.
    
     Here's something odd about this problem: after having the same map open for several hours, I can drag the plane around really quickly.  Closing FreePlane and reopening it causes the scrolling to be really laggy again.
    
     
  • The Shady Watcher

    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,5 +1,5 @@
     I have a complex mind map which I'd rather not upload, which is laggy when scrolling.  It is laggy when using the mouse wheel, but it seems a bit moreso when dragging the plane with the mouse.  It has a bunch of notes, floating nodes, clouds, arrows between nodes, and links to jump from node to node.  It has more than a hundred nodes.  I saw a closed ticket complaining about something similar, relating it to a JRE update.  However, I think there is substantial room for optimization.  I imported the whole map in X-Mind, and the map scrolled around crisply and responsively.  (Unfortunately, node positioning was not nearly so flexible.)
    
    -I believe it is a matter of optimization; not a JRE unable to create performant applications, that makes some complex maps scroll slowly.  When dragging by the mouse, it takes about 2 sec. to redraw the screen.  When scrolling by mouse wheel, individual screen refreshes are < 1 sec.
    +I believe it is a matter of optimization; not a JRE unable to create performant applications, that makes some complex maps scroll slowly.  When dragging by the mouse, it takes 1-2 sec. to redraw the screen.  When scrolling by mouse wheel, individual screen refreshes are < 1 sec.
    
     Here's something odd about this problem: after having the same map open for several hours, I can drag the plane around really quickly.  Closing FreePlane and reopening it causes the scrolling to be really laggy again.
    
     
  • The Shady Watcher

    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,5 +1,5 @@
    -I have a complex mind map which I'd rather not upload, which is laggy when scrolling.  It is laggy when using the mouse wheel, but it seems a bit moreso when dragging the plane with the mouse.  It has a bunch of notes, floating nodes, clouds, arrows between nodes, and links to jump from node to node.  It has more than a hundred nodes.  I saw a closed ticket complaining about something similar, relating it to a JRE update.  However, I think there is substantial room for optimization.  I imported the whole map in X-Mind, and the map scrolled around crisply and responsively.  (Unfortunately, node positioning was not nearly so flexible.)
    +I have a complex mind map which I'd rather not upload, which is laggy when scrolling.  It is laggy when using the mouse wheel, but it seems a bit moreso when dragging the plane with the mouse.  It has more than a hundred nodes.  It has a bunch of notes, floating nodes, clouds, arrows between nodes, and links to jump from node to node.  I saw a closed ticket complaining about something similar, relating it to a JRE update.  However, I think there is substantial room for optimization.  I imported the whole map in X-Mind, and the map scrolled around crisply and responsively.  (Unfortunately, node positioning was not nearly so flexible.)
    
    -I believe it is a matter of optimization; not a JRE unable to create performant applications, that makes some complex maps scroll slowly.  When dragging by the mouse, it takes 1-2 sec. to redraw the screen.  When scrolling by mouse wheel, individual screen refreshes are < 1 sec.
    +I believe it is a matter of optimization; not a JRE unable to create performant applications, that makes some complex maps scroll slowly.  When dragging by the mouse, it takes 1-4 sec. to redraw the screen.  When scrolling by mouse wheel, individual screen refreshes are < 1 sec.  Interestingly, when I go to Help | Documentation, THAT map can be dragged around quite smoothly by comparison.
    
     Here's something odd about this problem: after having the same map open for several hours, I can drag the plane around really quickly.  Closing FreePlane and reopening it causes the scrolling to be really laggy again.
    
     
  • The Shady Watcher

    • summary: Mouse-dragging is laggy --> Mouse-dragging is sometimes laggy
     
  • Dimitry Polivaev

    In order to optimize I need to measure all times on the map which makes problems. Could you upload it or send it to me by an e-mail to dimitry (at) freeplane.org ?

     
  • Dimitry Polivaev

    • status: new --> unable-to-reproduce