Closed vallsv closed 7 years ago
+1
I talk about the border of the image. We dont really know where the image start.
Interesting!
Just my 2c for A and B : I'm not too fond of having a menu to toggle between two exclusive (and mandatory, as in "one is always active") states. Instead of clicking once you have to click twice, it makes things a bit tedious. If we really want to display two separate actions I would rather have two checkable actions grouped in a QGroupAction (kinda like text alignment in most text editors). I would consider using a menu when, for example, I need to choose between a set of exclusive tools or shapes that can then be turned on or off (mix a menu with a checkable action : a long press on the action drops the menu, a click on the action activates/deactivates the tool). Or when you have actions you select once and run repeatedly like "build", "build and run", "run tests" : you pick one in the menu, then click on the action to run it.
That's also nice. And i have no idea what is better cause i don't know the users. But i would prefer to not convert 2 icons on the tool bar into 4 for something which will not often used (i guess 1 time a session). Plus I already implement my proposal. Then i would say, at least it is an improvement.
BTW here is the PR https://github.com/silx-kit/silx/pull/323 It does not fix the mouse behaviour, which is maybe quite tricky to edit.
My opinion is that if one does not know what option is better and there are already user interfaces applying one of the options, one should keep the option already implemented.
If your doubt is between a) the state + pull down menu and b) duplicating the number of icons, then I prefer a).
@vallsv @t20100 Is this ready to be closed?
Yes. We can talk about mouse interaction into another issue. Iv got another improvments now i know other features of the plot. I close it
Here is some proposal after few time of observation on BM02, and own experience.
While it is very important for pyFAI, i can fix most of it.