Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash when opening a note with ordered/unordered lists #64

Open
m-irigoyen opened this issue Jul 4, 2017 · 4 comments
Open

Crash when opening a note with ordered/unordered lists #64

m-irigoyen opened this issue Jul 4, 2017 · 4 comments
Assignees
Milestone

Comments

@m-irigoyen
Copy link
Contributor

Build Status

#Your configuration:
Rolisteam version: 1.8.2
Operating System and version:
-Windows 10, version 1703

Rolisteam Setting:

  • Unconnected (I just closed the connection window)

#What did you do ? (Explain each step from starting rolisteam to the issue)

  • Start rolisteam
  • File/Open/note : open attached note
  • crash.
    The attached note is a minimal repro case containing some ordered and unordered lists copy/pasted from an etherpad.
    test.zip

#What did you expect to see ? (Make sentences and explains in details with words)

  • Opening the same note I just saved

#What did you get instead ? (Describe in details the issue)

  • Immediate crash. Debug output from QtCreator shows "ASSERT: "editBlock > 0" in file text\qtextdocument_p.cpp, line 1186"
@obiwankennedy obiwankennedy self-assigned this Jul 4, 2017
@obiwankennedy obiwankennedy added this to the v1.9.0 milestone Jul 4, 2017
@m-irigoyen
Copy link
Contributor Author

I don't think this actually comes from the Etherpad copy/paste : I just crashed again with that note
testNatif.zip which is a native rolisteam note with some bullet lists.
Creating, editing and saving the note is fine, it crashes on open. Same assert.

@obiwankennedy
Copy link
Member

The text editor used by rolisteam is an old project. I integrated it in rolisteam but the code may be old.
I will have to investigate in code which isn't mine.

It will be interesting.

@m-irigoyen
Copy link
Contributor Author

Hé, it always is in those cases :) Also I can confirm it doesn't do it with html file format.

@obiwankennedy
Copy link
Member

I can't reproduce the crash on windows. I have to try on windows. My windows Pc is out of my reach (cause I'm on holidays). I will work on it next week.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants