Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#73340 - frescobaldi crashes when trying to fold

Attached to Project: Community Packages
Opened by prad (pradtf) - Wednesday, 12 January 2022, 17:34 GMT
Last edited by Bruno Pagani (ArchangeGabriel) - Friday, 18 March 2022, 20:53 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Caleb Maclennan (alerque)
Bruno Pagani (ArchangeGabriel)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

frescobaldi crashes on any attempt to fold a section.

i have sent email with the error messages to
info@frescobaldi.org


Additional info:
* package version(s)
3.1.3

* config and/or log files etc.
Frescobaldi: 3.1.3
Extension API: 0.9.0
Python: 3.10.1
python-ly: 0.9.7
Qt: 5.15.2
PyQt: 5.15.6
sip: 6.1.0.dev2104271705
poppler: 21.11.0
python-poppler-qt: 21.1.0
OS: Linux-5.15.13-arch1-1-x86_64-with-glibc2.33

Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/frescobaldi_app/widgets/folding.py", line 72, in eventFilter
return self.paintEvent(obj, ev)
File "/usr/lib/python3.10/site-packages/frescobaldi_app/widgets/folding.py", line 93, in paintEvent
painter.drawLine(x1, y, x2, y)
TypeError: arguments did not match any overloaded call:
drawLine(self, QLineF): argument 1 has unexpected type 'int'
drawLine(self, QLine): argument 1 has unexpected type 'int'
drawLine(self, int, int, int, int): argument 2 has unexpected type 'float'
drawLine(self, QPoint, QPoint): argument 1 has unexpected type 'int'
drawLine(self, Union[QPointF, QPoint], Union[QPointF, QPoint]): argument 1 has unexpected type 'int'


* link to upstream bug report, if any
https://github.com/frescobaldi/frescobaldi/issues/1398
(thx to alerque for fixing the earlier issue and requesting an upstream fix).


Steps to reproduce:

any attempt to fold causes crash.
This task depends upon

Closed by  Bruno Pagani (ArchangeGabriel)
Friday, 18 March 2022, 20:53 GMT
Reason for closing:  Fixed
Additional comments about closing:  3.1.3-6.
Comment by Bruno Pagani (ArchangeGabriel) - Friday, 18 March 2022, 14:18 GMT
@alerque backported some patches, please check if it works now.
Comment by prad (pradtf) - Friday, 18 March 2022, 18:56 GMT
works perfectly!
both fold section and fold all!
thx!!!

Loading...