Crash after enabling line numbers

Bug #1370443 reported by Dmitry Shachnev
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
retext (Ubuntu)
Fix Released
High
Dmitry Shachnev
Trusty
Fix Released
High
Dmitry Shachnev

Bug Description

= Test Case =
1. Open ReText, make sure that there are no line numbers shown.
2. Open settings and select "Show line numbers" area.
3. Close settings.
4. Enable preview mode and disable it again.

ReText should not crash at this point.

= Development Fix =
In ReText 5, line numbers area is properly updated on-the-fly.

= Stable Fix =
For ReText 4, the fix is to cherry-pick this commit:
https://sourceforge.net/p/retext/git/ci/6da715c98270a905609d4a808cf2696d3361c554/

= Regression Potential =
No regression potential, the fix is not touching other code areas.

Changed in retext (Ubuntu Trusty):
status: New → In Progress
importance: Undecided → High
assignee: nobody → Dmitry Shachnev (mitya57)
Revision history for this message
Chris J Arges (arges) wrote : Please test proposed package

Hello Dmitry, or anyone else affected,

Accepted retext into trusty-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/retext/4.1.2-1ubuntu1.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in retext (Ubuntu Trusty):
status: In Progress → Fix Committed
tags: added: verification-needed
Revision history for this message
Dmitry Shachnev (mitya57) wrote :

Upstream reporter said in https://sourceforge.net/p/retext/tickets/125/ that the fix works.

tags: added: verification-done
removed: verification-needed
Revision history for this message
Dmitry Shachnev (mitya57) wrote :

As requested on IRC, I am pasting the more verbose testing log:

/* Testing 4.1.2-1ubuntu1 */
$ retext
/* Enabling line numbers and clicking Preview twice */
Traceback (most recent call last):
  File "/usr/share/retext/ReText/editor.py", line 187, in resizeEvent
    self.lineNumberArea.setGeometry(rect.left(), rect.top(),
AttributeError: 'ReTextEdit' object has no attribute 'lineNumberArea'
Traceback (most recent call last):
  File "/usr/share/retext/ReText/editor.py", line 187, in resizeEvent
    self.lineNumberArea.setGeometry(rect.left(), rect.top(),
AttributeError: 'ReTextEdit' object has no attribute 'lineNumberArea'
/* Disabling lune numbers again */
/* Now testing with 4.1.2-1ubuntu1.1 */
$ retext
/* Enabling line numbers and clicking Preview twice */
/* No error */
$ retext
/* Disabling line numbers and clicking Preview twice */
/* Again no error */

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package retext - 4.1.2-1ubuntu1.1

---------------
retext (4.1.2-1ubuntu1.1) trusty-proposed; urgency=medium

  * Fix underline action inserting wrong tag.
  * Fix crash after inserting line numbers (LP: #1370443).
 -- Dmitry Shachnev <email address hidden> Wed, 17 Sep 2014 15:53:00 +0400

Changed in retext (Ubuntu Trusty):
status: Fix Committed → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote : Update Released

The verification of the Stable Release Update for retext has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.