Menu

#31 Cursor jumps to top of internal editor window when F2 pressed to display graph

v6.x
pending
nobody
GUI (11)
5
2019-01-17
2018-05-19
Mark R
No

The cursor jumps back to the top of the internal editor window when you press F2 to display the graph.
This is irritating if you are working on a large picture and you want to see how the graph looks.

Steps to replicate.
1. create a signalling chart (or open an existing one) - this may be visible in the other types
2. Create a list of actions with 19 lines. The contents of the lines don't matter providing it draws a valid graph
3. Put the cursor somewhere on line 17
4. Edit the entry to register a change
5. Press F2 to display the revised graph
Note how the cursor has now moved up to line 1

Seriousness:
This is an irritation but if you are updating a large diagram then it could mean extra work because you have to remember the line number you were working on and scroll back down to it.

btw thanks for a really useful tool

Related

Bugs: #31

Discussion

  • Zoltán Turányi

    • labels: --> GUI
    • status: open --> pending
     
    • Mark R

      Mark R - 2018-05-23

      Hi Zoltan,

      Thanks for responding. Sorry for the delay.

      Strange. I am running version 6.3.4
      On Windows 10 pro on a 64bit PC with 16GB of RAM.

      The attached file can be used to test the problem.
      Go to the very last line with text on it – line number 19:
      BB->CC:check queue & retrieve message;
      Manually insert a space between queue and & so the line looks like this:
      BB->CC:check queue & retrieve message;

      Press F2 to refresh the picture.
      The cursor should have jumped up to the first line.
      The attached video shows the problem.

      Best regards,
      Mark
      Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10


      From: "Zoltán Turányi" teknos293@users.sourceforge.net
      Sent: Monday, May 21, 2018 9:53:39 AM
      To: [msc-generator:bugs]
      Subject: [msc-generator:bugs] #31 Cursor jumps to top of internal editor window when F2 pressed to display graph

      • labels: --> GUI
      • status: open --> pending
      • Comment:

      Hi Mark,

      Thanks for reporting this. However, I cannot recreate the bug. For me all the steps you described does not lead to a change in cursor position. A question: do the line numbers (19, for example) have special menaning for you. E.g., do they somehow relate to the window size? I could not replictae the error irrespective of whether the chart with 19 lines fits the window or a scorllbar is needed and whether the scrollbar is at the top, bottom or middle at the time of pressing F2.

      What version do you use? What Windows version?

      Zoltan


      [bugs:#31]https://sourceforge.net/p/msc-generator/bugs/31/ Cursor jumps to top of internal editor window when F2 pressed to display graph

      Status: pending
      Group: v6.x
      Labels: GUI
      Created: Sat May 19, 2018 02:53 PM UTC by Mark R
      Last Updated: Sat May 19, 2018 02:53 PM UTC
      Owner: nobody

      The cursor jumps back to the top of the internal editor window when you press F2 to display the graph.
      This is irritating if you are working on a large picture and you want to see how the graph looks.

      Steps to replicate.
      1. create a signalling chart (or open an existing one) - this may be visible in the other types
      2. Create a list of actions with 19 lines. The contents of the lines don't matter providing it draws a valid graph
      3. Put the cursor somewhere on line 17
      4. Edit the entry to register a change
      5. Press F2 to display the revised graph
      Note how the cursor has now moved up to line 1

      Seriousness:
      This is an irritation but if you are updating a large diagram then it could mean extra work because you have to remember the line number you were working on and scroll back down to it.

      btw thanks for a really useful tool


      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/msc-generator/bugs/31/

      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

       

      Related

      Bugs: #31

  • Zoltán Turányi

    Hi Mark,

    Thanks for reporting this. However, I cannot recreate the bug. For me all the steps you described does not lead to a change in cursor position. A question: do the line numbers (19, for example) have special menaning for you. E.g., do they somehow relate to the window size? I could not replictae the error irrespective of whether the chart with 19 lines fits the window or a scorllbar is needed and whether the scrollbar is at the top, bottom or middle at the time of pressing F2.

    What version do you use? What Windows version?

    Zoltan