Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    R cqls
    @rcqls
    I did it very recently...
    Boleslav Březovský
    @rebolek
    @rcqls what is required for GUI-console?
    sony➜~/code/red(GTK-dev✗)» ./gui-console                                [11:59:12]
    GTK VERSION: 3.24.10
    
    *** Runtime Error 32: segmentation fault
    *** at: F7582628h
    R cqls
    @rcqls
    @rebolek Normally nothing more is required!
    Boleslav Březovský
    @rebolek
    @rcqls I'll try debug build to see if I can get more info.
    R cqls
    @rcqls
    Are you using the gui-console binary or are you compiling from source?
    Boleslav Březovský
    @rebolek
    compiling from source
    on GTK-dev branch
    R cqls
    @rcqls
    Ah no it's GTK branch!
    Boleslav Březovský
    @rebolek
    Ah, thanks, I'll try again and let you know!
    R cqls
    @rcqls
    My GTK-dev is stopped since now almost everything is on the official repo red/GTK
    There is only one PR not yet accepted....
    Boleslav Březovský
    @rebolek
    I had some troubles building it on GTK so I tried to switch to GTK-dev
    R cqls
    @rcqls
    Are you on manjaro?
    Boleslav Březovský
    @rebolek
    Yes
    R cqls
    @rcqls
    I try to run gui-console on my archlinux container then...
    Boleslav Březovský
    @rebolek
    I'm compiling gui-console on GTK branch right now, so just wait a minute...
    R cqls
    @rcqls
    It works on Archlinux!
    R cqls
    @rcqls
    BTW, my gtk version is older than yours: GTK VERSION: 3.24.2
    Also ctrl+wheel is zooming font in gui-console (added recently by @qtxie).
    Boleslav Březovský
    @rebolek
    @rcqls I've got this in console, but don't see any window:
    sony➜~/code/red(GTK✗)» ./gui-console                                    [12:04:34]
    GTK VERSION: 3.24.10
    
    (gui-console:23725): Gdk-CRITICAL **: 12:08:51.772: gdk_window_get_display: assertion 'GDK_IS_WINDOW (window)' failed
    
    (gui-console:23725): Gdk-CRITICAL **: 12:08:51.772: gdk_cursor_new_from_name: assertion 'GDK_IS_DISPLAY (display)' failed
    
    (gui-console:23725): Gdk-CRITICAL **: 12:08:51.773: gdk_window_get_display: assertion 'GDK_IS_WINDOW (window)' failed
    
    (gui-console:23725): Gdk-CRITICAL **: 12:08:51.773: gdk_cursor_new_from_name: assertion 'GDK_IS_DISPLAY (display)' failed
    --== Red 0.6.4 ==-- 
    Type HELP for starting information.
    R cqls
    @rcqls
    @rebolek It is really weird. Are you sure the window is not open and hidden by any another windows? My last PR (rcqls/red:GTK) removes theses messages but I don't think they are fatal.
    R cqls
    @rcqls
    @rebolek Have you tried to download gui-console? I hope you are compiling in release -r mode since -u and -c works now at compilation but not at execution time.
    R cqls
    @rcqls
    @rebolek What about compiling console-view.red in release mode from my GTK branch and then execute tests/cursor.red which is supposed to work from this morning....
    R cqls
    @rcqls
    No more warnings after my last commit (and PR)....
    R cqls
    @rcqls
    After cross compiling gui-console.red for odroid (RPi target), it works on odroid... (Except the wheeling....)
    test/cursor.red is working too.
    Boleslav Březovský
    @rebolek
    @rcqls I tried to download gui-console, same result. There's a brief flash before output is written to console, so it looks that some window is probably trying to open. I am using i3 windows manager.
    R cqls
    @rcqls

    @rebolek Do you have several monitors? These lines in the launch function inside gui-console.red

    svs: system/view/screens/1
    svs/pane: next svs/pane

    maybe could be an explanation since I don't really understand them. BTW what about tests/cursor.red, is it working after compiling it?

    i3 window manager could also be an explanation.....
    R cqls
    @rcqls

    @qtxie Just tested a bit gui-console on Odroid and :

    • command line mostly work except help and what that work once but then no more instruction is validated by enter key.
    • wheel is not responding whereas it is working on browser (and tested on macOS with the same mouse). Good news ctrl+arrows work (not on macOS since these shortcuts are intercepted by the system first).
    • when quitting the gui-console everything is fine but when closing the window there is a fail: Runtime Error 95: no CATCH for THROW.

    I have also tried to compile directly gui-console and console-view which create binaries but fail at execution (related to objects.reds when compiled in debug mode).

    R cqls
    @rcqls
    but this was already mentioned by @dockimbel.
    Boleslav Březovský
    @rebolek
    @rcqls right, I suspect it has something to do with it, OTOH I don't have any problems opening other windows from Red.
    Maciej Łoziński
    @loziniak
    Hi! I've downloaded gui-console and tested a little under my Arch installation. It runs, but:
    1. After running ? command with no arguments I cannot run any other command, Enter key does not have effect. Scrolling a mouse wheel over a console window kinda releases frozen events, and unsuccessful commands are run. The same with help command.
    2. Mouse wheel scrolls in unusual direction over the console text - scrolling up does not scroll text down, as in other GTK apps, but in opposite direction.
    3. Menu font is bigger than in other GTK apps (mousepad, xfce4-terminal, gparted)
    R cqls
    @rcqls

    @loziniak Thanks for the feedback. Point 1 looks like the issue observed on Odroid. However I cannot reproduce this issue on my docker container with archlinux. Could you please provide your version of GTK. I have noticed the version on Odroid was different.

    Point 2 is something I did not pay attention because I am on macOS and I never know the direction of the wheeling.

    Point 3 is something difficult to master from now but I have fixed a default font. Really happy to have font changing on RichText.

    Maciej Łoziński
    @loziniak
    @rcqls GTK VERSION: 3.24.8
    R cqls
    @rcqls
    @loziniak Thanks! I don't think it is related to that since mine is 3.24.2
    Luis
    @luis-rj
    Are there Red binary available for linux-ar? (Raspberry PI)
    Respectech
    @Respectech
    If I remember correctly, you need to compile for the Linux-ARM target to run on Raspberry Pi or other Linux ARM systems (ODROID, Pine64, etc.).
    R cqls
    @rcqls
    @luis-rj You only need to cross-compile red/GTK branch with target RPi or maybe linux-ARM (depending on the model but not sure) as mentionned by @Respectech. I can provide binaries on my server if you ask for it.
    Luis
    @luis-rj
    @Respectech Thanks!
    Luis
    @luis-rj
    @rcqls I would be grateful if you you can provide me an Red binary for RPi.
    R cqls
    @rcqls
    @luis-rj Here it is:
    Gregg Irwin
    @greggirwin
    Thanks for making those available @rcqls !
    R cqls
    @rcqls
    @greggirwin Hope it can help for testing Red/GTK on Raspberry Pi 👍
    Luis
    @luis-rj
    @rcqls Thanks !!
    I plan to try it on Raspberry over the weekend
    R cqls
    @rcqls
    @luis-rj Don’t forget to install dependencies and chmod u+x.
    Luis
    @luis-rj
    Raspbian is 32 bits. Needs dependencies ?
    Luis
    @luis-rj
    @rcqls I have different problems with your versions. In the demo video at redlang.org the version is 3.22.30 ...
    @rcqls Can you build binaries from 3.22.30 version ?
    R cqls
    @rcqls
    @luis-rj Normally there is no build binaries dependencies on GTK version...