Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Lag in current development branch seems to go away with PyQt6 6.8.1

49 views
Skip to first unread message

Knute Snortum

unread,
Jan 8, 2025, 7:57:19 PMJan 8
to Frescobaldi
I have been using the development version (main branch) of Frescobaldi on GitHub and one of the concerns was the lag when a big source file (> 2000 lines) was edited.  I am on Ubuntu 24.04.1 and I use a Python virtual environment (venv) to hold the non-standard version of PyQt6 (was 6.7.1).  I just updated it to 6.8.1 and the lag seems to have gone away, which is great news, except that setting up and using a venv is a little technical -- not for anyone who knows Python and some Bash scripting, but for a typical Frescobaldi user it might be a challenge.

Is anyone else using the development version (so to be the current version) and noticed lag?  I also updated qpageview and that might have done something to improve things.

Federico Bruni

unread,
Jan 9, 2025, 12:38:52 AMJan 9
to fresc...@googlegroups.com, Knute Snortum
Hi Knute

It's a problem I've never experienced because I always work on small
files.
Can you please point to a public big source file? I remember you did it
already in some GitHub discussion but I can't find it right now.

I'm building a flatpak package from git master using Qt 6.8 here (build
172903):
https://github.com/flathub/org.frescobaldi.Frescobaldi/pull/65

If it's successful anybody can easily install it and test it.


Il giorno mer 8 gen 2025 alle 16:57:19 -08:00:00, Knute Snortum
<ksno...@gmail.com> ha scritto:
> --
> Frescobaldi homepage: http://www.frescobaldi.org/
> Mailing list: http://groups.google.com/group/frescobaldi
> Issue tracker: https://github.com/frescobaldi/frescobaldi/issues
> ---
> You received this message because you are subscribed to the Google
> Groups "Frescobaldi" group.
> To unsubscribe from this group and stop receiving emails from it,
> send an email to frescobaldi...@googlegroups.com.
> To view this discussion visit
> https://groups.google.com/d/msgid/frescobaldi/ade83373-3a67-4f74-9ebd-64091d4ffeean%40googlegroups.com.


Knute Snortum

unread,
Jan 9, 2025, 9:57:53 AMJan 9
to Federico Bruni, fresc...@googlegroups.com
On Wed, Jan 8, 2025 at 9:38 PM Federico Bruni <fe...@inventati.org> wrote:
Hi Knute

It's a problem I've never experienced because I always work on small
files.
Can you please point to a public big source file? I remember you did it
already in some GitHub discussion but I can't find it right now.


scherzo-op54-parts.ily is about 5500 lines and you can compile the whole thing with scherzo-op54.ly

 
I'm building a flatpak package from git master using Qt 6.8 here (build
172903):
https://github.com/flathub/org.frescobaldi.Frescobaldi/pull/65

If it's successful anybody can easily install it and test it.

That's great!  Ubuntu doesn't come with flatpak out of the box, but it looks like it can be installed with apt.

--
Knute Snortum

Federico Bruni

unread,
Jan 11, 2025, 5:06:13 PMJan 11
to fresc...@googlegroups.com, Knute Snortum
Il giorno mer 8 gen 2025 alle 16:57:19 -08:00:00, Knute Snortum
<ksno...@gmail.com> ha scritto:
> I am on Ubuntu 24.04.1 and I use a Python virtual environment (venv)
> to hold the non-standard version of PyQt6 (was 6.7.1). I just
> updated it to 6.8.1 and the lag seems to have gone away, which is
> great news

I'm testing two concurrent flatpak installations and to be honest I
don't see any difference.
There's always a ~5 second lag when I type a new note (5 seconds to see
the note letter appear in the text editor).

Frescobaldi flatpak old beta
Qt: 6.7.3
PyQt: 6.7.1

Frescobaldi flatpak new beta (should be available in about 2 hours)
Qt: 6.8.1
PyQt: 6.8.0

But you are using PyQt 6.8.1. It's the minor version that matters? I
may try running it from source.


Reply all
Reply to author
Forward
0 new messages