Bug 3728

Button "Save" behavior in Snap Develop: it scrolls the mouse pointer to the beginning of the Class 16 April, 2020

paulo gomes
03 December, 2019
Product: SnapDevelop Category: SnapDevelop IDE
Version: 2019 R2 Beta Build:
Classification: Appeon bug Publishing: Public
Priority: P3
Status: Scheduling Reason:
Logan Liu @Appeon 06 December, 2019
Hi Paulo,

Thank you again! I will reported this bug to our development team.

paulo gomes 06 December, 2019
Hi Logan,

Thank you for the reply.

Yes the same CRTL + S behavior.  

Why I suggested it? Because people that is used to work with Visual Studio (and I'm one ) most time click the save icon (1 little disk) or save-all (2 little disks), not the crtl + S.

It is not a must since the ctrl + S does it by keeping the cursor where it is in the file. 

However, as a product that is debuting around, as better Snap Develop can be used, as better for Appeon and the community.

That is the idea.

Thank you.


Paulo Gomes
Logan Liu @Appeon 06 December, 2019
Hi Paulo,

Did you mean that the cursor left its original position after clicking the icon save? In other words, do you expect it to be the same as pressing Ctrl + S?

paulo gomes 04 December, 2019
PB2019WebApiSqlServer.rar (276KB)

Hi Logan,

The Project that you can reproduce the issue is basically any Snap Develop web API project. However you can find attached the project we are working with. It uses an Oracle database but I added methods that access an Adventure Works SQL Server database. The Connection string for this database in the project is AdventureWorks2017 which you must replace with your connection.

To reproduce the issue:
1. open the project with Snap Develop
2. edit the method "getMemberHistory_iis" in the SampleController.cs file
3. add anything, like a comment, and click the icon save (the little blue disk icon on menu bar): 
    - after saving the Editor goes to the beginning of the SampleController class.
      This happens around 90% of the time.

It happens in Snap Develop 2019 and Snap Develop R2 Beta.

Please let me know if you need further information.


Paulo Gomes
Logan Liu @Appeon 04 December, 2019
Hi Paulo,

Could you help to provide a sample project that can reproduce this bug?

Chris Pollach @Appeon 03 December, 2019
Hi Paulo;

  Thank you for reporting this distracting and non-productive behaviour!

  I will now transfer this ticket over to the main Engineering team for a fix.

Regards ... Chris
paulo gomes 03 December, 2019

After clicking the button "Save" in the Snap Develop editor, it scrolls the mouse pointer to the beginning of the Class.
Since Controller's code exposes several methods to be invoked by the Client, normally it has hundred of lines of code.
The behavior of moving the mouse pointer to the beginning of the file every time you save your changes is distracting and means focus on hundred of lines of code up.

Is this a behavior that can be changed by setting a value in the Snap Develop Code Editor ?

Thank you,

Paulo Gomes

*Reproduce Steps:


It does not happens 100% of the time but seems to be over 90%.

It also happens on PB 2019.
Windows 10
Database Type:
Database Version: