Bug 2423198

Summary: Frescobaldi crashes when selecting text with <Shift> + cursor keys
Product: [Fedora] Fedora Reporter: Nils Philippsen <nphilipp>
Component: python-pyqt6Assignee: Onuralp SEZER <thunderbirdtr>
Status: CLOSED ERRATA QA Contact:
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 43CC: epel-packagers-sig, fede, gui1ty, gwync, jonathan, kde-sig, manisandro, nphilipp, oget.fedora, thunderbirdtr
Target Milestone: ---Keywords: Desktop, Regression
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: python-pyqt6-6.10.1-2.fc43 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-01-05 01:21:37 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Nils Philippsen 2025-12-17 16:12:14 UTC
As the subject says, simply selecting text using <Shift> + a cursor key makes the program crash.

It doesn’t do so with the version of Frescobaldi installed as a Flatpak from Flathub.

Reproducible: Always

Steps to Reproduce:
1. Type a character
2. Press <Shift>+<Left Arrow> to select the character
Actual Results:
Frescobaldi crashes.

Expected Results:
The character is selected.

Comment 1 Federico Bruni 2025-12-18 06:20:36 UTC
It seems a bug introduced in Qt 6.10.
The flatpak package still uses 6.9.

Upstream bug discussion:
https://github.com/frescobaldi/frescobaldi/issues/2126

Comment 2 Nils Philippsen 2025-12-18 16:00:54 UTC
It looks like the culprit is PyQT6 version 6.10.1 (which is in updates-testing), downgrading to 6.10.0 fixes the crash for me:

--- 8< ---
root@gibbon:~# dnf --disable-repo=\*testing\* distro-sync \*pyqt6\*
Updating and loading repositories:
 Fedora 43 - x86_64 - Updates                                 100% |  55.0 KiB/s |  20.0 KiB |  00m00s
Repositories loaded.
Package                              Arch   Version                        Repository             Size
Downgrading:
 python-pyqt6-rpm-macros             noarch 6.10.0-2.fc43                  updates           144.0   B
   replacing python-pyqt6-rpm-macros noarch 6.10.1-1.fc43                  updates-testing   144.0   B
 python3-pyqt6                       x86_64 6.10.0-2.fc43                  updates             5.7 MiB
   replacing python3-pyqt6           x86_64 6.10.1-1.fc43                  updates-testing     5.7 MiB
 python3-pyqt6-base                  x86_64 6.10.0-2.fc43                  updates            15.7 MiB
   replacing python3-pyqt6-base      x86_64 6.10.1-1.fc43                  updates-testing    15.8 MiB

Transaction Summary:
 Replacing:          3 packages
 Downgrading:        3 packages
...
--- >8 ---

Changing component.

Comment 3 Fedora Update System 2025-12-27 18:09:21 UTC
FEDORA-2025-31d9982b9f (python-pyqt6-6.10.1-2.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-31d9982b9f

Comment 4 Fedora Update System 2025-12-28 01:21:14 UTC
FEDORA-2025-31d9982b9f has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-31d9982b9f`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-31d9982b9f

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2026-01-05 01:21:37 UTC
FEDORA-2025-31d9982b9f (python-pyqt6-6.10.1-2.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.