PB's newgui

More
17 Jun 2013 08:48 - 17 Jun 2013 14:48 #11046 by FDR
PB's newgui was created by FDR
PB's GUI work is being done here:
bitbucket.org/PhracturedBlue/deviation-newgui
Snapshots will be periodically available from the 'Downloads' tab on the above link

To avoid confusion I start a new thread for the new GUI of PB.
I have a few observations, and probably will have more...


1. When you exit the main page config window, the menu becomes the one of the standard gui. You have exit to the main page or step in a menu, which exists under the advanced gui to reset that behaviour.
This probably relates to not having the left/right pageing buttons...

2. The header is too crowded on the devo 8, yet still have not enough place for the left/right pageing buttons.

3. A cosmetic one: labels X and Y should be white on the dark grey background, at least all header text used to be white...

4. For first glance it was not obvious why the element type spinbox doesn't pick up the type of the selected element, but then I realized, that it is only for creating new ones. In the end this means it is not obvious...

5. The tab order is strange, probably it is the order in which the elements were added.

6. There is no way to enter editing of the element properties with the mouse, it opens only with the enter key. A long mouse click could be used for that...

7. The options dialog should have some easy way to close with the keyboard. I know you can tab to the OK button and press, but it would be easier if the long ENT or long EXT worked...

8. For the simplicity we used to index things from 1, while here the trims, bars and toggles are numbered from 0.

9. What can I select on the option page of the trim bars? I can't change the value in the spinbox at all...


to be continued...
Last edit: 17 Jun 2013 14:48 by FDR.

Please Log in or Create an account to join the conversation.

More
17 Jun 2013 09:41 #11048 by FDR
Replied by FDR on topic PB's newgui
10. When you close the elements' editing popup, the text of the selected element become black instead of white, which is barely visible on the toggles and bars, because they have dark grey background.

Please Log in or Create an account to join the conversation.

More
17 Jun 2013 13:17 #11055 by PhracturedBlue
Replied by PhracturedBlue on topic PB's newgui
1,2,4)
Yeah my problem is I am completely out of space on the devo8. Here's an alternative:
I could replace the spinbox with an 'Add' icon, which has a pop-up that lets you select the item type with a proper label and ok button
It is still really tight to get the x, y, exit, left, right, and icon buttons into the header though. I experimented with putting the 'X' and / 'Y' labels inside the spinbox, but while it fits, it is worse. Another possibility is to forego the X/Y labels, but then you have no idea what the spinboxes do until you play with them.

5)
I'm not sure what to do about the tab order, at the moment it cycles through in creation order as you said.
Other options:
* cycle in creation order but group by element type
* cycle by sum of x/y coordinate (this will be roughly a diagonal from upper left to lower right)
* cycle by x then y (this will be unreliable if objects aren't perfectly alighned
I'm definitely open to suggestions

6) I was going to have any press on a selected object open the box (not just a long one) The only question is if that is too easy on a real tx, since the screen sensitivity i snot great without a stylus.

9) You should be able to choose which trim to select (it should say 'Trim1' through 'Trim6', I just forgot to implement it since it didn't port from th origiinal GUI)

The rest are all easy bugs and I'll get them fixed.

Please Log in or Create an account to join the conversation.

More
17 Jun 2013 13:31 #11058 by FDR
Replied by FDR on topic PB's newgui

PhracturedBlue wrote: 1,2,4)
Yeah my problem is I am completely out of space on the devo8. Here's an alternative:
I could replace the spinbox with an 'Add' icon, which has a pop-up that lets you select the item type with a proper label and ok button
It is still really tight to get the x, y, exit, left, right, and icon buttons into the header though. I experimented with putting the 'X' and / 'Y' labels inside the spinbox, but while it fits, it is worse. Another possibility is to forego the X/Y labels, but then you have no idea what the spinboxes do until you play with them.

While it would mean one more click, I like the 'Add' icon more, because it would be more intuitive, not to mention that on the dialog there could be some more options too, like clearing the whole page, or some rearranging/realigning function, or a load from template option...

Please Log in or Create an account to join the conversation.

More
17 Jun 2013 13:34 #11059 by FDR
Replied by FDR on topic PB's newgui

PhracturedBlue wrote: 5)
I'm not sure what to do about the tab order, at the moment it cycles through in creation order as you said.
Other options:
* cycle in creation order but group by element type
* cycle by sum of x/y coordinate (this will be roughly a diagonal from upper left to lower right)
* cycle by x then y (this will be unreliable if objects aren't perfectly alighned
I'm definitely open to suggestions

Not that important, it was just a bit weird...

May be we will have some reordering function later... ;)

Please Log in or Create an account to join the conversation.

More
17 Jun 2013 13:37 #11060 by FDR
Replied by FDR on topic PB's newgui

PhracturedBlue wrote: 6) I was going to have any press on a selected object open the box (not just a long one) The only question is if that is too easy on a real tx, since the screen sensitivity i snot great without a stylus.

No good.
When you are trying to arrange/align the controls the simple press should only select the control. It would be disturbing if you would have to always close the popup...

Please Log in or Create an account to join the conversation.

More
17 Jun 2013 14:05 - 17 Jun 2013 14:15 #11061 by vlad_vy
Replied by vlad_vy on topic PB's newgui
Is it possible to move object by mouse/stylus press and move? It will be useful for draft arrangement of objects.
Last edit: 17 Jun 2013 14:15 by vlad_vy.

Please Log in or Create an account to join the conversation.

More
17 Jun 2013 14:29 #11063 by PhracturedBlue
Replied by PhracturedBlue on topic PB's newgui
Rbe did dome experimentation with drag-n-drop, but the screen refresh is just too slow, at the moment. I'm going to eventually play with a more efficient redraw solution that may help, but this may end up being one of those things where designing new interfaces is best done on the PC, and so it may be best to write a Windows app to do so.

I'm more interested in making the current GUI as good as it can be. I think creating basic templates that can be loaded will alleviate much of the need to make heavy modifications to the gui, so that'll be next on my list once the initial interface issues are worked out.

Please Log in or Create an account to join the conversation.

  • rbe2012
  • rbe2012's Avatar
  • Offline
  • So much to do, so little time...
More
17 Jun 2013 15:36 #11065 by rbe2012
Replied by rbe2012 on topic PB's newgui

PhracturedBlue wrote: 1,2,4)
Yeah my problem is I am completely out of space on the devo8.

What about showing the coordinates in or near by the object?

5)
I'm not sure what to do about the tab order, at the moment it cycles through in creation order as you said...I'm definitely open to suggestions

How about this one:
1) select the leftmost element
2) search for an element which is partly above (means: have shared y-columns)
2a) if found one, take this; back to 1
2b) if not, select this
3) mark it as already handled
4) go back to 1 until all are handled

This will lead to a sequence which should be near to the usual reading direction (sorry for my Chinese and Arabian friends...).

Please Log in or Create an account to join the conversation.

More
17 Jun 2013 17:24 - 17 Jun 2013 17:43 #11068 by vlad_vy
Replied by vlad_vy on topic PB's newgui
Instead real drag-n-drop you can at once place the selected object (left top corner) into point where stylus lose touch with the screen.

Or, first touch will select object, second touch will activate 'move' mode (dashed border), third touch on free space will move object to the point of touch.
Last edit: 17 Jun 2013 17:43 by vlad_vy.

Please Log in or Create an account to join the conversation.

More
17 Jun 2013 21:48 #11069 by Kdean
Replied by Kdean on topic PB's newgui
Took a little getting used to, but i've played with it long enough to start setting up a general template for 12s tx displays. It seems i cannot add any more boxes for the telemetry data, and i need two more toggles for the gear and mix switches.


Im wondering if displaying all this data may cause system crash???

Attachments:

Please Log in or Create an account to join the conversation.

More
17 Jun 2013 22:31 #11070 by Kdean
Replied by Kdean on topic PB's newgui
Found a bug when editing bargraphs....
Attachments:

Please Log in or Create an account to join the conversation.

More
18 Jun 2013 00:00 #11071 by PhracturedBlue
Replied by PhracturedBlue on topic PB's newgui
I don't see any reason why display all this info will cause the system to become unstable. I guess the only issue would be if it takes so long to calculate the elements that it can't get done in 100msec. That doesn't seem very likely though, as calculating them should be quick.

The display problem is due to the changes I made to how dialog boxes are caclulated. I'll need to look at it again.

Currently, the Devo12 is limited to 27 widgets. This is a reasonable number for the Devo8, but we'll want to increase it for the devo12. how many more do you think you need? another 20?

Please Log in or Create an account to join the conversation.

More
18 Jun 2013 00:09 #11072 by Kdean
Replied by Kdean on topic PB's newgui
I've set this up to display pretty much channel, switch, trim, along with three timers (countdown, stopwatch, and a clock when it is built). I now need to display the two voltage, and four temp sensors when using the telemetry. That means i only need 8 more.

But, if and when we can add text boxes to lable things or and notes, that would mean i'll need another 10 or so.

So, 20 sounds like a good number.

:)

Please Log in or Create an account to join the conversation.

More
18 Jun 2013 01:31 #11073 by Pattaya01
Replied by Pattaya01 on topic PB's newgui
I would also like to see text boxes.

Please Log in or Create an account to join the conversation.

More
18 Jun 2013 01:50 #11074 by PhracturedBlue
Replied by PhracturedBlue on topic PB's newgui
I have uploaded a new emu. It fixes all of the issues listed so far in this thread, as well as increasing the number of elements on the devo12 to 50.

I would appreciate it if you keep this thread focused on the usability and bugs of the layout interface. Enhancement requests like new widget types should be filed via bitbucket.

Please Log in or Create an account to join the conversation.

More
18 Jun 2013 02:13 - 18 Jun 2013 02:26 #11075 by Pattaya01
Replied by Pattaya01 on topic PB's newgui
Tried your upload just now and found this bug:

First, I moved some elements to the side and added a bargraph. Closed the emulator with "Save and Exit". At new start up, bargraph is gone.

Another suggestion: Could you also make a new element start in the center of the screen?







Attachments:
Last edit: 18 Jun 2013 02:26 by Pattaya01.

Please Log in or Create an account to join the conversation.

More
18 Jun 2013 03:17 #11076 by PhracturedBlue
Replied by PhracturedBlue on topic PB's newgui
Thanks. It is because you set the src = 'None'

I have checked in a fix that will continue to load these elements so they won't disappear. At the same time, I made it so that elements with src=None are hidden on the main page (but not on the layout page), and fixed the 'Timer256' bug when a box has a 'None' value.

New download available.

Please Log in or Create an account to join the conversation.

More
18 Jun 2013 04:51 #11077 by Kdean
Replied by Kdean on topic PB's newgui
Now playing with v516ea7, and it all works.

Now how can i save templates of the GUI setup?


Attachments:

Please Log in or Create an account to join the conversation.

More
18 Jun 2013 04:54 - 18 Jun 2013 04:58 #11078 by PhracturedBlue
Replied by PhracturedBlue on topic PB's newgui
You won't ever be able to save templates, but you'll be able to create them by editing your model.ini and saving the result back to the /layout directory.

I've only started implementing that though, so it isn't ready yet. For now, it would be useful to post your model.ini to this thread. I will add the templates you guys build (that are generic enough) to the release so that they'll be available to everyone.

I may also add a 'load template from model' capability so you can clone an existing model's layout
Last edit: 18 Jun 2013 04:58 by PhracturedBlue.

Please Log in or Create an account to join the conversation.

Time to create page: 0.205 seconds
Powered by Kunena Forum