Re: Leo now shows an svg splash screen

2023-01-23 Thread Thomas Passin
The fix (adding sleep()) works on all my VMs except Ubuntu. OTOH, Leo loads so fast on my Ubuntu VM that I don't really miss the splash screen. Funny how some of my Linux VMs are very fast and some are sluggish. I don't generally find Ubuntu/Gnome snappy, but it does load Leo quickly. The s

Re: Help with 'find-all' !!

2023-01-23 Thread Thomas Passin
I can confirm your results. On the second node body, only three of the five matches are reported. When I step through using F3 in the Find tab, it does find all five (one at a time). On Monday, January 23, 2023 at 10:49:28 PM UTC-5 Félix wrote: > i'm having some trouble with the 'find-all' co

Re: Leo now shows an svg splash screen

2023-01-23 Thread Thomas Passin
A short sleep() makes the splash screen display on those recalcitrant VMs: if not pixmap.isNull(): splash = QtWidgets.QSplashScreen(pixmap, WindowType.WindowStaysOnTopHint) splash.show() sleep(.05) # < Allows the splash screen t

Help with 'find-all' !!

2023-01-23 Thread Félix
i'm having some trouble with the 'find-all' command. Not sure if it's me who doesn't understand the expected behavior. Here's an outline with 3 nodes (*Sent as attachment*) with a single line of text in each to keep it simple. Do a find-all command for the word 'bla'. Inspect the results for

Re: Leo now shows an svg splash screen

2023-01-23 Thread Thomas Passin
I've got four Gnome-based VMs and the splash screen isn't building on any of them. It starts to but doesn't finish. On the XFCE VM, it displays as on Windows. On Monday, January 23, 2023 at 8:36:45 PM UTC-5 gates...@gmail.com wrote: > FWIW, the current devel commit does *not* display the splas

Re: Leo now shows an svg splash screen

2023-01-23 Thread Jacob Peck
FWIW, the current devel commit does *not* display the splash screen on my Arch Linux install using the Cinnamon desktop environment (at one point a derivative of Gnome 2, now well and truly its own thing). Anecdotally, I do remember the splash screen displaying on this Linux installation historica

Re: Leo now shows an svg splash screen

2023-01-23 Thread Thomas Passin
Now I'm bummed. The splash screen displays properly on Manjaro, a Linux distro using XFCE. But on two Gnome systems, Mint and Debian, it acts the same as before I added the repaint() call. This will take some more digging. On Monday, January 23, 2023 at 6:25:17 PM UTC-5 Edward K. Ream wrote:

Re: Leo now shows an svg splash screen

2023-01-23 Thread Edward K. Ream
On Monday, January 23, 2023 at 5:04:34 PM UTC-6 tbp1...@gmail.com wrote: It looks like the splash screen may never have been visible on Linux(!). My recent PR removed the call to repaint, so the splash screen has only recently been broken on Linux. Edward -- You received this message because y

Re: Leo now shows an svg splash screen

2023-01-23 Thread Thomas Passin
I found a simple fix. It's now in a pending PR. You have to repaint() the splash screen after show()ing it. It looks like the splash screen may never have been visible on Linux(!). On Monday, January 23, 2023 at 4:36:18 PM UTC-5 Thomas Passin wrote: > Hmm, I forgot to check with Linux. I'll

Re: Leo now shows an svg splash screen

2023-01-23 Thread Thomas Passin
Hmm, I forgot to check with Linux. I'll do that next. OK, I don't see the splash screen on two different Linux VMs. I see what's happening. When Leo starts, I see the splash screen forming and the region that the image will occupy is blanked (or made transparent, possibly). But then the re

Re: Leo now shows an svg splash screen

2023-01-23 Thread jkn
I'm afraid I don't see a splash screen under Linux: Leo 6.7.2-devel, devel branch, build c7b093c0ee 2023-01-23 11:16:06 -0600 Python 3.9.5, PyQt version 5.15.2 Will you be wanting me to upgrade to PyQt v6? I seem to remember I had pain in that direction... Regards, J^n On Monday, January 23,

Re: Work is nearly complete on Leo's website

2023-01-23 Thread Edward K. Ream
On Mon, Jan 23, 2023 at 1:03 PM Thomas Passin wrote: Attached is an example image (splash.png) as would be generated on-the-fly > for the splash screen. Notice the following: > > 1. It is clean and sharp, not pixelated; > 2. It has the original proportions; the aspect ratio is unchanged. > 3.

Re: Work is nearly complete on Leo's website

2023-01-23 Thread Thomas Passin
Hmm, the old splash screen image doesn't seem to display. It does download, though. The Google Groups software doesn't want to include the image's file tyep (.ico). On Monday, January 23, 2023 at 2:03:14 PM UTC-5 Thomas Passin wrote: > I have been reworking the splash screen code to show the

Re: Work is nearly complete on Leo's website

2023-01-23 Thread Edward K. Ream
On Monday, January 23, 2023 at 8:39:04 AM UTC-6 Edward K. Ream wrote: > Still to do: add a few new links... PR #3090 completes this round of work on Leo's website. - Improved the links in Leo's home page

Re: OT? Beware of ChatGPT

2023-01-23 Thread Edward K. Ream
On Mon, Jan 23, 2023 at 9:10 AM Thomas Passin wrote: With ChatGPT, the user can tune up the result by careful crafting of the > input instructions. It apparently takes skill and experience to do this > effectively. > I don't think ChatGPT is trustworthy enough right now. That's why I'll stick t

Re: OT? Beware of ChatGPT

2023-01-23 Thread Thomas Passin
The thing about ChatGPT and similar neural network systems is that they know how to string words and phrases together based on probability densities estimated during training, but they don't know about the underlying concepts. They don't know math but they can *sound* like they know math. So

Re: Leo now shows an svg splash screen

2023-01-23 Thread Edward K. Ream
On Mon, Jan 23, 2023 at 8:24 AM Thomas Passin wrote: > This is good to see. I would like the splash screen to be smaller than > 600 X 600. It seems much larger than the old screen, and also looks > pixelated, a surprise for an SVG image. The SVG image opens at 804 pixels, > according to Irfanv

Re: Work is nearly complete on Leo's website

2023-01-23 Thread Edward K. Ream
On Monday, January 23, 2023 at 8:39:04 AM UTC-6 Edward K. Ream wrote: Still to do: add a few new links, as documented in the *closed* PR #3086 . Actually, issue #3077 already lists the pro

Work is nearly complete on Leo's website

2023-01-23 Thread Edward K. Ream
PR #3083 changed 457 files, an all-time record. The remaining work will change far fewer files. The workflow regarding the gh-pages branch has stabilized. There have been no major problems. Recent work revises Leo's Tutorial Slideshows

OT? Beware of ChatGPT

2023-01-23 Thread Edward K. Ream
As we has discussed recently, ChatGPT can do amazing things. Otoh, yesterday I experienced its limitations. ChatGPT *seems* authoritative, but my new rule of thumb is: use google if ChatGPT gives advice that doesn't "just work". google's searches return what could be called primary sources. The

Re: Leo now shows an svg splash screen

2023-01-23 Thread Thomas Passin
This is good to see. I would like the splash screen to be smaller than 600 X 600. It seems much larger than the old screen, and also looks pixelated, a surprise for an SVG image. The SVG image opens at 804 pixels, according to Irfanview; trying half that looked about the right size for a spla

Leo now shows an svg splash screen

2023-01-23 Thread Edward K. Ream
PR #3087 has been merged into devel. The new code uses leo/Icons/SplashScreen.svg (Leo's licensed Lion) if it exists. If that file doesn't exist, Leo falls back to a public-domain bitmapped image. This PR took two days of work, despite the

Re: Leo 6.7.1 From PyPi Failing On Linux Fedora

2023-01-23 Thread Edward K. Ream
On Sun, Jan 22, 2023 at 11:12 PM Thomas Passin wrote: > This is with python3.11.1 on a new Fedora virtual machine. Upgrading from > PyQt5 to PytQ6 did not change anything. Thanks for this report. > > I have had not trouble with 6.7.1 from PyPi on any other Linux VM, but > none of them were ru