Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Visual interface bug?? or design problem?? (Read 1649 times)
cfeied
Junior Member
**
Offline


Posts: 49
Joined: May 18th, 2016
Visual interface bug?? or design problem??
Sep 15th, 2023 at 5:30pm
Print Post  
In the most recent Visual Studio and Visual Micro, I do not see any way to tell whether "Hidden Files" are currently Shown or Hidden.

I will add two screenshots showing that on my windows 10 machine there is no perceptible difference (to me or my wife) between the shown state and the hidden state.

Perhaps a future update could fix this? 

Maybe just add (Currently Visible) or (Currently Hidden) to the text?

There are design rules against putting a toggle in the same menu where everything else is an action trigger, so I personally think this belongs somewhere else anyway. 


  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12187
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Visual interface bug?? or design problem??
Reply #1 - Sep 15th, 2023 at 6:09pm
Print Post  
If a project is showing hidden files these can be seen for each project in the solution explorer under the "src/_micro-api-readonly" folder. The image shows one project with hidden files enabled. If the solution explorer is in physical files and folders view all of the hidden files will appear as a long list of shortcuts in root.

The hidden files can be removed using the menu item or by right clicking Remove or by by pressing the DEL key on the src folder.

You are right, ideally the menu item would show the a check/tick when hidden files are visible. However the Microsoft menu system asks for the menu state information so often that we felt it would slow down moving the mouse over menus if we have to "lookup" the files of a project so frequently. We only have to move the mouse 1 pixel over a menu and VS will ask Visual Micro for all menu states again.

When users can add remove items from the solution explorer outside of any Visual Micro functionality we try to avoid caching project information because that can lead to bugs. It is certainly under review. 

Does this help?



  

Please Register or Login to the Forum to see File Attachments
Back to top
IP Logged
 
cfeied
Junior Member
**
Offline


Posts: 49
Joined: May 18th, 2016
Re: Visual interface bug?? or design problem??
Reply #2 - Sep 16th, 2023 at 6:19pm
Print Post  
Tim@Visual Micro wrote on Sep 15th, 2023 at 6:09pm:
Does this help?


Hi Tim,

LOL I wasn't confused about whether or not I could see hidden files. I was toggling it to test the behavior of intellisense under the two states after upgrading to the Arduino v2 core and folder architecture. My post was simply to alert you to a bit of design smell.  Cool

My current projects are of only moderate size (a few hundred files) and already I can go get a cup of coffee if I click on this toggle. For that reason alone, knowledge of the current state when presented with the option would seem to be important. However, if providing the current state of a menu item is expensive, perhaps the drop-down items should be moved out of the vMicro menu, too.

IMO this "show hidden files" setting should be buried in the global options/vm/general list, rather than presented as a hidden-state toggle on the primary vMicro menu. That's my $0.02 worth of opinion.

While I've got my UX hat on, may I suggest that the link to Global Options might be a good candidate to replace that toggle on the vMicro menu? Currently it's at vMicro/General/GlobalOptions, where the General menu is a popup that vanishes if the mouse strays by a single pixel.  I know there are other ways to get to Options.  This is only about improving the user experience of vMicro.

Thanks!!

-- Craig
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12187
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Visual interface bug?? or design problem??
Reply #3 - Sep 16th, 2023 at 7:24pm
Print Post  
It's on the vMicro menu and also more recently added to the tool bar

If it is was hidden away in the options no one would ever find it and it can be important. It is also project specific, therefore would be on the project options not global options.


« Last Edit: Sep 16th, 2023 at 7:27pm by Tim@Visual Micro »  

Please Register or Login to the Forum to see File Attachments
Back to top
IP Logged
 
cfeied
Junior Member
**
Offline


Posts: 49
Joined: May 18th, 2016
Re: Visual interface bug?? or design problem??
Reply #4 - Sep 19th, 2023 at 5:11pm
Print Post  
Tim@Visual Micro wrote on Sep 16th, 2023 at 7:24pm:
It's on the vMicro menu and also more recently added to the tool bar


lol - who are you and what have you done with Tim?

I know you are a friggin genius and one of the things I love about you is that you are so responsive in the forum. Still, every so often you respond without really looking at the context of the thread, which makes your responses seem like one of those bots that gives useless answers on the Microsoft help sites. 

In this case you have just sent me the same exact screenshot that I sent you (twice) two messages lower.

I must have been too subtle in my language because clearly I have not gotten my point across, so I will be super-blunt: I am giving you my (expensive) expert opinion that this option does not belong on that particular menu

It's the only entry for which a single click toggles a significant behavior change, and there is no indication of its current state nor any indication that its state has changed when clicked. You have given it the behavior of a "stateless-refresh-type" button. This behavior on that menu violates about 30 UX design rules. 

You already mentioned that the VS reporting overhead for that menu is so burdensome that you don't want to show the state of the toggle, and that's another reason not to put it on the top-level vMicro menu that must be opened to get to other menus.

If there is a compelling reason to keep it there, it needs to communicate clearly to the user exactly what will happen if it is clicked. Right now clicking it performs an unspecified action that blocks the UI thread for a significant amount of time and changes the way intellisense performs.

Yes, I can use secret knowledge to discover whether "Show hidden files" is currently turned on or turned off, but that information is not reflected in the UX.

What we are actually doing is toggling "Show Hidden Files" ON or OFF.  That's what the label should say, and the correct behavior to model is that of a "checkbox-type button."

I understand you may disagree -- I am only giving you my opinion because I love Visual Micro so much and would be lost without it.

  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12187
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Visual interface bug?? or design problem??
Reply #5 - Sep 19th, 2023 at 8:26pm
Print Post  
Yes, very busy at the moment. You intial question was answered and the docs explain what it does https://www.visualmicro.com/page/User-Guide.aspx?doc=index

The option has been there for some years. Since then VS has moved to async, intellisense goto definition has changed to only go to .h files unless the cpp is in the explorer. Some toolchains have also grown very large. If we were not on the ui thread then vs would crash. The vs async system isn't great for this.

It's possible the option needs to create shared projects instead. We could create the files in backlground then only need the ui thread to add the reference.

  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint