Bug 2176793 - Frescobaldi crashes when pressing Ctrl+F to search for a string
Summary: Frescobaldi crashes when pressing Ctrl+F to search for a string
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: frescobaldi
Version: 37
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Nils Philippsen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-03-09 10:38 UTC by Nils Philippsen
Modified: 2023-03-18 04:58 UTC (History)
3 users (show)

Fixed In Version: frescobaldi-3.2-5.fc38 frescobaldi-3.2-5.fc37
Clone Of:
Environment:
Last Closed: 2023-03-14 00:17:23 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github frescobaldi frescobaldi issues 1453 0 None closed 3.2 fails to launch on Python 3.11 2023-03-09 10:38:57 UTC
Github frescobaldi frescobaldi pull 1480 0 None Merged Avoid <event> == <QKeySequence member> comparisons 2023-03-09 10:38:57 UTC

Description Nils Philippsen 2023-03-09 10:38:57 UTC
Description of problem:

SSIA: Press Ctrl+F and Frescobaldi crashes

Version-Release number of selected component (if applicable):

frescobaldi-3.2-2.fc37.noarch

How reproducible:

Reproducible

Steps to Reproduce:
1. Start Frescobaldi
2. Press Ctrl+F

Actual results:

Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/frescobaldi_app/plugin.py", line 79, in instance
    return _instances[cls][obj]
           ~~~~~~~~~~^^^^^
  File "/usr/lib64/python3.11/weakref.py", line 415, in __getitem__
    return self.data[ref(key)]
           ~~~~~~~~~^^^^^^^^^^
KeyError: <weakref at 0x7fd851365580; to 'sip.wrappertype' at 0x562191a91c90 (Search)>

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/frescobaldi_app/search/__init__.py", line 364, in event
    elif ev.type() == QEvent.KeyPress:
         ^^^^^^^
TypeError: a member of enum 'StandardKey' is expected not 'QEvent'

Expected results:

A dialog pops up asking me what to search for.

Additional info:

This has been worked on upstream and fixed meanwhile. I'll roll an update with that fix.

Comment 1 Fedora Update System 2023-03-09 11:08:16 UTC
FEDORA-2023-905dec5e67 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2023-905dec5e67

Comment 2 Fedora Update System 2023-03-09 11:08:17 UTC
FEDORA-2023-7cf227dfe4 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-7cf227dfe4

Comment 3 Fedora Update System 2023-03-10 01:48:12 UTC
FEDORA-2023-7cf227dfe4 has been pushed to the Fedora 38 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-7cf227dfe4

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

Comment 4 Fedora Update System 2023-03-10 02:06:38 UTC
FEDORA-2023-905dec5e67 has been pushed to the Fedora 37 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-905dec5e67`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-905dec5e67

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

Comment 5 Fedora Update System 2023-03-14 00:17:23 UTC
FEDORA-2023-7cf227dfe4 has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 6 Fedora Update System 2023-03-18 04:58:31 UTC
FEDORA-2023-905dec5e67 has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.