|
Post by vovchik on Jun 4, 2020 0:05:55 GMT 1
Dear all, Here is the rotating cube (gtk2 and gtk3) now with a nice background.I wanted to test image overlays - and they work. With kind regards, vovchik UPDATED: @alex: Fixed multiple button-press issue. I am learning.
|
|
|
Post by alexfish on Jun 4, 2020 4:55:23 GMT 1
Hi Vovchik
Gtk2 Working
Only Comment there , as noticed , There is a While loop. no Sleep ? naughty
On RPI , Recommend putting Sleep in , this allows other apps to do there bits, Agh! some food for though for others like Xaw
Not Sure how Syc is working I normally place the Syn just before sleep. again this may be RPI specific but it does improve the averall smothness, and ensures the events / updates work correctly
WHILE TRUE event$ = GUIEVENT$(id) PRINT "Event: ", event$ SELECT event$ CASE "window" END CASE "but1" ANIM_START CASE "but2" ANIM_STOP CASE "but3" MY_QUIT END SELECT SLEEP 1 WEND
BR Alex
Just tested gtk3 , that works as well
|
|
|
Post by alexfish on Jun 4, 2020 5:19:48 GMT 1
Hi Vovchik
Not sure but I think there is a problem , possible
This
GUIEVENT not sure what is going on , but is a Time-out been added somewhere
try mutilple click's on the Go and pause,
GTK3 problematic esp when Running with Chromium -- Desktop Freezes , had to switch the pi off
also think it is assibated when viewing & or logged onto this site , BR Alex
|
|
|
Post by alexfish on Jun 4, 2020 5:51:01 GMT 1
Hi All & users / viewers Please Note these are probably Raspberry Pi issue RE GTK3 and Chromium issues: memory footprint on basic RPI3 is 1gb : Chromium typical uses after a period of time Big Chunks of Memory :: Bad Bad Here is a view of one page :: after Launching & collapsing Chromium BR Alex Attachments:
|
|
|
Post by rikky on Jun 4, 2020 16:05:17 GMT 1
That is normal behaviour for the Rpi, is my experience. I have Chromium stuck if I open too many pages, or some 'fat' pages. I cannot open Two basic.converter pages if at the same time I Fossil a new bacon. The thing is just to small. You can however, since these things are so ridiculously cheap, Fossil on another Rpi, and chromium on the next. and then you just ssh the results (the new bacon executable etc) back to your chromium Rpi (etc). Just put a few Rpi's extra on your intranet. Also I have this icon in the, what's it called, toolbar of my desktop. Press it, and it kills chromium. (hopefully) Click it, if your mouse is still a little bit moving, before you are too late. I stole it from .. eh ... this blog, and adapted it a bit. You have to rewrite it, for it is adapted already too much for my specific needs. But I'll publish it for you here nevertheless. Maybe it can be of use, if you throw away half of it. Edit: oh, the svg I do not publish, for I do not know if it is open source, you have to pick your own. The 3th thing that I use is Berryboot. (duckkduckgo berryboot) Which enables me to start with a clean system by just removing the 'data' folder. And then I have my shared folder(s) with all the things I do not want to reinstall every time again, and my own programs. Puppy worked better, but there is not a real puppy boot thing for RPi jet. Rik. Attachments:kill_chromium.bac (5.06 KB)
|
|
|
Post by vovchik on Jun 4, 2020 17:31:39 GMT 1
Dear Rik, Joe and Alex, I have a 4 GB RPi4, so I do not run into the memory problem often. However, there is New Moon (on the Palemoon site - www.palemoon.org/download) that runs nicely on my Pi4. One link is here (for Raspberry Pi Debian 9.0 and 10.0): palemoonYou might want to try it. With kind regards, vovchik
|
|
|
Post by bigbass on Jun 4, 2020 18:50:32 GMT 1
Hello vovchik Thanks palemoon works well ========================================================== If I am compiling bacon from fossil I DONT use chrome period if I need to read some instructions or some info I use w3m it will let you sign into the forum but it is very odd to move around you have to double click the username then on the bottom line you get TEXT: and fill in your username then the same double click for password PASSWORD: fill password then press continue yes its very odd but works I wouldnt want to use it for answering posts though I guess only in an emergency while compiling bacon from fossil and cant wait till it finished w3m https://basic-converter.proboards.com/ joe
|
|
|
Post by Pjot on Jun 4, 2020 19:07:52 GMT 1
Hi vovchik, Thanks for the rotating cube, works without issues on my system Best regards Peter
|
|
|
Post by bigbass on Jun 4, 2020 19:21:16 GMT 1
hello vovchik Yes!!! thanks for the cube demos they work correctly and look great! sorry I got distracted so easily Joe
|
|
|
Post by vovchik on Jun 5, 2020 0:29:58 GMT 1
Dear all (@alex),
I fixed the multiple button-press issue. The archive with the background cube has the fixes.
With kind regards, vovchik
|
|
|
Post by vovchik on Jun 5, 2020 13:09:54 GMT 1
Dear all, Here is a little spinner (throbber) demo. It seems to be working nicely. I am experimenting with widgets and learning. With kind regards, vovchik UPDATED: Added slight image change when throbber is active. Attachments:
spinner-demo.tar.gz (2.35 KB)
|
|
|
Post by bigbass on Jun 5, 2020 16:07:47 GMT 1
|
|
|
Post by vovchik on Jun 5, 2020 17:04:17 GMT 1
Dear Joe, Thanks for testig. I made a slight mod to the throbber demo, adding a minor change to the image when the throbber is working, just for fun. With kind regards, vovchik
|
|
|
Post by vovchik on Jun 6, 2020 1:17:59 GMT 1
Dear all, Here is another animation demo ported from HUG. It seems to work. With kind regards, vovchik Attachments:bacon-rocks.tar.gz (5.22 KB)
|
|
|
Post by Pjot on Jun 6, 2020 7:16:31 GMT 1
Thanks vovchik,
The spinner and this demo compile as they should! Nice work.
Best regards Peter
|
|