1. Got a question or need help troubleshooting? Post to the troubleshooting forum or Search the forums!

CommunityOS front-end replacement

Discussion in 'Projects' started by mark tomlinson, Jun 9, 2019.

  1. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    20,850
    Likes Received:
    6,960
    https://github.com/marktoml/3dPrinterControl

    This is ready for someone to review/test. It is not a functional replacement, but a functional copy of the Robo UI. It needs someone to validate that it works and behaves the same as the original and to make notes of where things are different. Some resources may be wrong/missing (icons, etc) so make notes of these in the issues section. Again it is just the UI -- no control is actually implemented so you can't control the printer (yet). Once the GUI is where we want it I will start adding in the backend control bits (the placeholders for this is already in place).

    the JAR file is under FILES/

    RoboGui.properties Properties file used by GUI 10 minutes ago
    Robo_Gui.jar Jar file for testing UI 12 minutes ago

    those are the two bits needed. You need a JRE installed to run it.

    >java -jar Robo_Gui.jar



    Also if you have ideas for new features (that were not IN the original software) open a an issue with descriptions (and pictures when possible) and we can look at including that too.

    The resolutions that work best are the two for the C2/R2 and that is what I want tested initially.


    P.S. if you want to actively help I can add you as a contributor -- hit me up. This is very much limited time allotment due to regular work :)
     
    #1 mark tomlinson, Jun 9, 2019
    Last edited: Jun 9, 2019
  2. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    20,850
    Likes Received:
    6,960
    P.S. Yes, I know there is a huge QUIT button on the main screen that is not there on Robo's version :) That is OK, just for testing.
     
  3. WheresWaldo

    WheresWaldo Volunteer ( ͠° ͟ʖ ͡°)
    Staff Member

    Joined:
    Feb 18, 2015
    Messages:
    5,772
    Likes Received:
    3,502
    I will be testing this in the morning, I have to figure out how to put everything back in place, since I temporarily broke my build environment.
     
    mark tomlinson likes this.
  4. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    20,850
    Likes Received:
    6,960
    Thanks, you can run it on anything (even a PC) and test the various resolutions by resetting them in the property file, but the warranty (at present) only extends to the C2 and R2 default screen sizes (and I am not certain on the R2 one) :)
     
  5. WheresWaldo

    WheresWaldo Volunteer ( ͠° ͟ʖ ͡°)
    Staff Member

    Joined:
    Feb 18, 2015
    Messages:
    5,772
    Likes Received:
    3,502
    I have several rPi screens that are the same resolution as the R2 800 x 480, and I have a 7" coming tomorrow, it is 1024 x 600
     
    mark tomlinson likes this.
  6. WheresWaldo

    WheresWaldo Volunteer ( ͠° ͟ʖ ͡°)
    Staff Member

    Joined:
    Feb 18, 2015
    Messages:
    5,772
    Likes Received:
    3,502
    Can I put this in /home/pi and can I change the log directory in the properties to point to a local directory?
     
  7. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    20,850
    Likes Received:
    6,960
    You should indeed be able to put it anywhere and repoint the properties file to anything you changed.
     
  8. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    20,850
    Likes Received:
    6,960
    Please test all of the resolutions you can. The issue is one of consistent scaling. Beyond a given point the scaling is not linear and large enough that things get "wonky"* ... I did run it at 1920x1080 for fun... (it wasn't)




    *Techicalese for "garbage"
     
  9. WheresWaldo

    WheresWaldo Volunteer ( ͠° ͟ʖ ͡°)
    Staff Member

    Joined:
    Feb 18, 2015
    Messages:
    5,772
    Likes Received:
    3,502
    Okay, just tried running this on a bare minimum Raspbian build, Found out it needs X11
     
  10. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    20,850
    Likes Received:
    6,960
    Entirely possible -- I did not run it in a non-windowed environment.
    If that becomes a hard-spot I can look into it.
     
  11. WheresWaldo

    WheresWaldo Volunteer ( ͠° ͟ʖ ͡°)
    Staff Member

    Joined:
    Feb 18, 2015
    Messages:
    5,772
    Likes Received:
    3,502
    I can run it under windows and will attach a few screen shots of 800x480 (R2 resolution) but it isn't pretty, also if you go to actually pull up a file list then try to return to the mainscreen you are stuck as the screen doesn't redraw.

    Still can't get it running on the rPi.

    I also know there is no real code other than the forms.
     
  12. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    20,850
    Likes Received:
    6,960
    OK, screenshots of where you get stuck after pulling up the file list would be handy too.
     
  13. WheresWaldo

    WheresWaldo Volunteer ( ͠° ͟ʖ ͡°)
    Staff Member

    Joined:
    Feb 18, 2015
    Messages:
    5,772
    Likes Received:
    3,502
    Here you go, the names should be self explanatory
     

    Attached Files:

  14. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    20,850
    Likes Received:
    6,960
    thnx. Let me look it over.

    These were all from the 800x600?

    Or did the problems exhibit at any size as well?
     
    #14 mark tomlinson, Jun 13, 2019 at 6:04 AM
    Last edited: Jun 13, 2019 at 6:39 AM
  15. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    20,850
    Likes Received:
    6,960
    That utilities menu is one of the hardest to sort because of the way it is structured. I had hoped a grid layout would make it "work" but it doesn't scale really at all :)
    I am going to be forced to use multiple nested panels with their own internal layouts. (ugh)
     
  16. WheresWaldo

    WheresWaldo Volunteer ( ͠° ͟ʖ ͡°)
    Staff Member

    Joined:
    Feb 18, 2015
    Messages:
    5,772
    Likes Received:
    3,502
    800x480 they should all be, There are no rPi screens that are 800x600.

    I got busy trying to track down a wayward commit in the OS so I didn't test any other sizes yet.
     
    mark tomlinson likes this.

Share This Page