Upload
m4h4r4
View
216
Download
0
Embed Size (px)
Citation preview
8/9/2019 ConnectMicrosoft-534350-Toolbar Settings (Size and Location) Not Persisted
http://slidepdf.com/reader/full/connectmicrosoft-534350-toolbar-settings-size-and-location-not-persisted 1/11
Toolbar Settings (Size and Location) Not Persistedhttps://connect.microsoft.com/VisualStudio/feedback/details/534350/toolbar-settings-size-and-location-not-persisted
Additional Technical Details
y Im using a laptop with LCD screen resolution 1024x768. I suspect the screen width would affect the reproducible steps and the result obtained.
y The toolbar location described here implies the Cartesian coordinates (X and Y coordinates, especially the X coordinate) of the toolbars in the
toolbar panel. The toolbar size is also related to the toolbar location coordinate.
Reproducible Steps and Results
There are two scenarios provided here which demonstrate the issue. The first scenario is the Text Editing Session and the second one is the Debugging
Session.
8/9/2019 ConnectMicrosoft-534350-Toolbar Settings (Size and Location) Not Persisted
http://slidepdf.com/reader/full/connectmicrosoft-534350-toolbar-settings-size-and-location-not-persisted 2/11
Scenario 1. Text Editing Session
The first scenario will involve three toolbars: Standard , Test Tools, and Text Editor .
Step 1. Open an Existing Console Application
As shown in the picture above, there are two toolbars showed: Standard and Test Tools.
Step 2. Move the Test Tools Toolbar to the First Row
I move the Test Tools toolbar to first row, the same as Standard toolbar, to save some vertical spaces.
8/9/2019 ConnectMicrosoft-534350-Toolbar Settings (Size and Location) Not Persisted
http://slidepdf.com/reader/full/connectmicrosoft-534350-toolbar-settings-size-and-location-not-persisted 3/11
Step 3. Open Program.cs
I open Program.cs file. Thus, the text editor will be showed along with the Text Editor toolbar.
8/9/2019 ConnectMicrosoft-534350-Toolbar Settings (Size and Location) Not Persisted
http://slidepdf.com/reader/full/connectmicrosoft-534350-toolbar-settings-size-and-location-not-persisted 4/11
Step 4. Move the Text Editor Toolbar to the First Row
Then I move to Text Editor toolbar to the first to save some vertical spaces again. Please notice the Test Tools and Text Editor toolbar widths (which impliestheir sizes) and locations (their Cartesian coordinates in the toolbar panel, especially the horizontal coordinate (X coordinate)).
Step 5. Close Program.cs
I close the Program.cs text editor. The Text Editor toolbar disappears then. Please notice that the Test Tools toolbar width has changed now.
8/9/2019 ConnectMicrosoft-534350-Toolbar Settings (Size and Location) Not Persisted
http://slidepdf.com/reader/full/connectmicrosoft-534350-toolbar-settings-size-and-location-not-persisted 5/11
Step 6. Open Program.cs Again
This last step demonstrates the problem I experienced. If I compared the Test Tools and Text Editor toolbars widths in this steps to the ones in Step 4, I notice the differences. It implies that the size and the location of the both toolbars are not properly persisted. This is what I called the actual result .
When I open again the Program.cs, I expect the size and location of the toolbars remain the same as shown in Step 4. And this is what I called the expected
result .
Moreover, there is another issue that the Text Editor toolbar displayed at its minimum width so that I hardly see any icons in there. Its completely unusable.
8/9/2019 ConnectMicrosoft-534350-Toolbar Settings (Size and Location) Not Persisted
http://slidepdf.com/reader/full/connectmicrosoft-534350-toolbar-settings-size-and-location-not-persisted 6/11
Scenario 2. Debugging Session
Different from the Scenario 1, this scenario will involve three toolbars: Standard , Text Editor , and Debug.
Step 1. Open an Existing Console Application
As shown in the picture above, there are two toolbars showed: Standard and Test Tools. This step is the same as Step 1 in Scenario 1.
Step 2. Close the Test Tools Toolbar
8/9/2019 ConnectMicrosoft-534350-Toolbar Settings (Size and Location) Not Persisted
http://slidepdf.com/reader/full/connectmicrosoft-534350-toolbar-settings-size-and-location-not-persisted 7/11
Step 3. Open Program.cs and Move the Text Editor toolbar to the First Row
I also add the Console.ReadLine() statement in the Main() method. This is done to halt the debugging process so that Visual Studio layout can be observed.
Please notice the orders of the toolbars are the Standard followed by Text Editor .
8/9/2019 ConnectMicrosoft-534350-Toolbar Settings (Size and Location) Not Persisted
http://slidepdf.com/reader/full/connectmicrosoft-534350-toolbar-settings-size-and-location-not-persisted 8/11
Step 4. Start the Debugging Process
With the Program.cs editor opened, I start the debugging process of the application. After I started it, while I let the application to keep running in the back,I switch back to Visual Studio. Now I notice the Debug toolbar displayed.
I notice two issues in here. The first issue, the orders of the toolbars now changed. Suddenly, theDebug toolbar took the second order previously belong to
Text Editor . And the second issue, the Text Editor toolbar width set at its minimum and hardly shows any icons.
8/9/2019 ConnectMicrosoft-534350-Toolbar Settings (Size and Location) Not Persisted
http://slidepdf.com/reader/full/connectmicrosoft-534350-toolbar-settings-size-and-location-not-persisted 9/11
Step 5. Reorder,Relocate, andResize theDebug and Text Editor Toolbar
Firstly, I reorder the toolbar into the following orders:
1. Standard toolbar,
2. Text Editor toolbar, and
3. Debug toolbar.
Secondly, I relocate the Debug toolbar as shown in the screenshot above. The action implies changing the size (width) of the Debug and Text Editor
toolbars. Please notice the width of both toolbars.
8/9/2019 ConnectMicrosoft-534350-Toolbar Settings (Size and Location) Not Persisted
http://slidepdf.com/reader/full/connectmicrosoft-534350-toolbar-settings-size-and-location-not-persisted 10/11
Step 6. Stop the Debugging Process
I then stop the debugging process. Now the Debug toolbar disappears. I notice a slightly different location with the Text Editor toolbar compared to one inStep 3. Now, there is an empty space right after the Text Editor toolbar.
8/9/2019 ConnectMicrosoft-534350-Toolbar Settings (Size and Location) Not Persisted
http://slidepdf.com/reader/full/connectmicrosoft-534350-toolbar-settings-size-and-location-not-persisted 11/11
Step 7. Start the Debugging Process Again
I then start the debugging process again. There are a couple of things I noticed here when I compare it to Step 5.
1. The toolbar orders are properly persisted. But this is a non issue for me.
2. If I compare the sizes and locations of the Text Editor and Debug toolbars to ones shown in Step 4, they are different. It seems they are not properly
persisted. The result in this step is what I called the actual result , while the result in Step 4 is what I called the expected result . They are indeed
different and this is an issue for me.
3. Again, the Debug toolbar displayed at its minimum size (width) and hardly shows any icons. This is also an issue for me.
Finally, this last step demonstrates the size and location persistence issue.
Summary
Steps provided in the two scenarios above demonstrate the toolbar settings (size and location) not properly persisted. Particularly, the last steps of both
scenarios indicate that the problem exists.