Users complain boring user interface of my apps

Everything else that doesn't fall into one of the other PB categories.
ozzie
Enthusiast
Enthusiast
Posts: 394
Joined: Sun Apr 06, 2008 12:54 pm
Location: Brisbane, Qld, Australia
Contact:

Re: Users complain boring user interface of my apps

Post by ozzie »

Fred wrote:No time frame, I will probably give it a try when 5.70 will be out.
Any progress on Sciter or any other user interface package? It's come to my attention that I'm losing orders because the interface 'looks old and outdated'.
Cyllceaux
Enthusiast
Enthusiast
Posts: 252
Joined: Mon Jun 23, 2014 1:18 pm
Contact:

Re: Users complain boring user interface of my apps

Post by Cyllceaux »

Hey there...

You can use ceGUI. It is part of the 3DEngine and very high configurable.
You create some kind of stylesheet and your gui looks great. The only problem is, you need the complete 3DEngine.

Maybe this is for you, too: https://github.com/Hoeppner1867/PureBasic
Components based on Canvas
ozzie
Enthusiast
Enthusiast
Posts: 394
Joined: Sun Apr 06, 2008 12:54 pm
Location: Brisbane, Qld, Australia
Contact:

Re: Users complain boring user interface of my apps

Post by ozzie »

Thanks, Cyliceaux, I'll look into both those options. I wasn't aware of CeGUI or that PB supports it. This may be an easier solution to implement except that are some negative comments about CeGUI in the PB Forums. I tried the PB demo Gadget3D.pb and find that 'theme' or 'skin' not ideal, but other users couldn't manage to select another skin - eg see CeGui - Unable to use other themes. Also, the mouse pointer wouldn't move to the window title bar. I'll try the module components next.
Cyllceaux
Enthusiast
Enthusiast
Posts: 252
Joined: Mon Jun 23, 2014 1:18 pm
Contact:

Re: Users complain boring user interface of my apps

Post by Cyllceaux »

I like CEGUI really much. The version in PB is a little bit old.
I saw a bunch of awesome interfaces written in CEGUI but I know the problems, too.

My problem with sciter is the same like CEGUI. It is great for "small" projects, but if you try to make a big one... it's getting slower and needs a lot of resources and is buggy.

The canvas-solution is in development. So you have all possibilities to send bug reports or wishes. :)

On my part, I tried to use UWP from windows. But it's not that easy as I thought.
User avatar
Mijikai
Addict
Addict
Posts: 874
Joined: Sun Sep 11, 2016 2:17 pm

Re: Users complain boring user interface of my apps

Post by Mijikai »

CEGUI is just dead weight - the whole 3D Engine is.
Things that should have been replaced a long time ago.
User avatar
DK_PETER
Addict
Addict
Posts: 869
Joined: Sat Feb 19, 2011 10:06 am
Location: Denmark
Contact:

Re: Users complain boring user interface of my apps

Post by DK_PETER »

CeGUI is not good. Themes are extremely hard to get working and
there hasn't been updates for a long time. It's better to roll
your own gui.
“Tell me and I forget. Teach me and I remember. Involve me and I learn.”
— Benjamin Franklin
Current configurations: Windows 10, Intel 6800K, GeForce Gtx 1060, 32 gb ram.
User avatar
the.weavster
Addict
Addict
Posts: 1348
Joined: Thu Jul 03, 2003 6:53 pm
Location: England

Re: Users complain boring user interface of my apps

Post by the.weavster »

Ultralight looks like it could be interesting.
IdeasVacuum
Always Here
Always Here
Posts: 6367
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK

Re: Users complain boring user interface of my apps

Post by IdeasVacuum »

Ultralight does look interesting. If nothing else, it solves the PB Windows WebGadget problem of being tied to the worst available browser.
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
Fred
Administrator
Administrator
Posts: 14209
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: Users complain boring user interface of my apps

Post by Fred »

UltraLight license isn't permissive enough for PB. Sciter is good.
User avatar
StarBootics
Enthusiast
Enthusiast
Posts: 616
Joined: Sun Jul 07, 2013 11:35 am
Location: Canada

Re: Users complain boring user interface of my apps

Post by StarBootics »

Fred wrote:UltraLight license isn't permissive enough for PB. Sciter is good.
Can we expect to have a brand new WebGadget() for the next release of PureBasic ?

Best regards
StarBootics
The Stone Age did not end due to a shortage of stones !
User avatar
the.weavster
Addict
Addict
Posts: 1348
Joined: Thu Jul 03, 2003 6:53 pm
Location: England

Re: Users complain boring user interface of my apps

Post by the.weavster »

StarBootics wrote:
Fred wrote:UltraLight license isn't permissive enough for PB. Sciter is good.
Can we expect to have a brand new WebGadget() for the next release of PureBasic ?
Sciter doesn't give you that because it doesn't comply with web standards.

I don't doubt Sciter would offer the ability to create some nice looking UIs but it's nowhere near as interesting as a standards compliant gadget that would enable the use of quality JS libraries like Tabulator.
HanPBF
Enthusiast
Enthusiast
Posts: 544
Joined: Fri Feb 19, 2010 3:42 am

Re: Users complain boring user interface of my apps

Post by HanPBF »

Unless chromium is not embedded, which is btw very big, sciter is a good choice.

TIScript in Sciter is a modern kind of JavaScript; before EcmaScript 2015.

Now that JavaScript got classes and web workers (soon channels?), and as I read on sciter's web page, compatibility is in focus.
Having complete JavaScript compatibility in sciter is a must have; no one wants to fix compatibility issues.
User avatar
the.weavster
Addict
Addict
Posts: 1348
Joined: Thu Jul 03, 2003 6:53 pm
Location: England

Re: Users complain boring user interface of my apps

Post by the.weavster »

Hey, I'm not so churlish as to turn my nose up at the possibilities Sciter offers, I don't doubt it's good at what it does, but imo it's not really a WebView if it's not compliant with web standards.

TIScript may well be better thought out than JavaScript but if I can't grab an outstanding JS library like Tabulator and be sure it will run in Sciter then any gain I would have had from TIScript is more than outweighed by that limitation.
User avatar
Kukulkan
Addict
Addict
Posts: 1259
Joined: Mon Jun 06, 2005 2:35 pm
Location: germany
Contact:

Re: Users complain boring user interface of my apps

Post by Kukulkan »

Hi,

we copied all major functionality of our PB app into a DLL/SO/DYLIB and wrote our new main application in golang and Sciter. I can report a few findings that may be interesting for you all (including Fred).

Using Sciter in general:
The usage of Sciter is straight forward. Integration with golang was easy to do and complete. We found a memory issue in golang language binding, which was fixed quickly by Andrew and the go-sciter people. Besides this, the golang binding works great. TIScript is greatly enhanced and powerful. In the beginning I was very reserved about the missing JavaScript compatibility but it turned out to be not needed. I did not miss anything that I would have searched and replaced with some existing JS solution except some Tree-View and some List-View. But it turned out to be very easy to replace this with some existing tables/divs and some TIScript. Especially the behaviors are very powerful. Thus, for the GUI development with Sciter we are very happy.

Sadly, there are a lot of bugs in Sciter and the forum is really needed. In one year, my colleague created 19 threads and I created 56 threads. I would say that about 50% of the threads ended with some "fixed in build nnnn" from Andrew. So we found about 40 bugs in about one year. This was very time consuming and sometimes some hair went gray until we found it is a bug. Also, while one new release fixed some errors, there are always coming up new issues. So sometimes we only had the choice between accepting the one or the other bug. The availability of workarounds did the decision then. Andrew does not maintain a stable or LTS branch. So you are always working with the development builds. At least it feels like this.

TIScript:
It is powerful and the documentation is mostly complete. JavaScript on amphetamines, implementing many things you know from jQuery and other extensions. Sadly, the Debugger (Inspector) is not very powerful. You can examine the GUI elements and also the scripts, but it is far away from debugging like in Firefox console. Luckily, the error messages (eg console or inspector) are good and we found most issues with no problems.
Sciter offers a lot of examples and TIScript libraries which are a great start for doing things. But please be aware that the +plus library (Model-View-Controller for automatic generation of tables and dialogs from data arrays/lists similar to AngularJS) does not work with tabs and also has some strange restrictions you only discover while using. This took us a while to work around. The +lang library (for multi-language GUI) works great and we support German, French, English and Simplified Chinese.

HTML + CSS support:
Lets say it is complete, there are only some very few limitations. I like the built-in variables in CSS, which makes it easy to handle colors and sizes without the need of some CSS pre-processor. I also like the option to calculate with colors (like dimm, grayscale, hue etc) directly in CSS. But this is not a WebGadget! It is for GUI, not displaying websites. I believe you can display and use HTML sites and sources with no problems, but do not expect it to run Cookies or JS.

Support:
Andrew is quick, kind and responsive and helps as much as he can. Sadly, we needed support in many ways, so please consider some paid help.

Conclusion:
GUI with Sciter is nice, adaptable, flexible, productive and working. The product itself is not very stable and we really are not sure to do another product with Sciter (which was the initial plan). Finding and solving bugs, making repros for the forum reports etc took many man days and we considered buying support. But we found that this will not reduce the amount of work for bug finding and reporting because it will not change the product base. Also, there is no LTS releases. So we are not sure if we continue with Sciter at the moment.

Here is a screenshot from the product on Linux (still under development and not released yet, looking identical on Windows and Mac):
Image
Rinzwind
Enthusiast
Enthusiast
Posts: 368
Joined: Wed Mar 11, 2009 4:06 pm
Location: NL

Re: Users complain boring user interface of my apps

Post by Rinzwind »

This one are default os style controls, but complete and includes complex controls and layout:
http://webserver2.tecgraf.puc-rio.br/iup/
Mac, Linux and Windows.
Post Reply