Ticket #1735 (closed bug: fixed)

Opened 10 years ago

Last modified 10 years ago

crash on saving book after inserting image & going into preview mode

Reported by: danvisel Owned by: peko
Priority: critical Milestone: M09_BETA1
Component: uncategorized Version: 2.0
Keywords: Cc:
Category: unknown Effort:
Importance: Ticket_group:
Estimated Number of Hours: Add Hours to Ticket:
Billable?: Total Hours:
Analysis_owners: danvisel Design_owners: peko
Imp._owners: peko Test_owners: deyan
Analysis_reviewers: Changelog:
Design_reviewers: mira Imp._reviewers: mira
Test_reviewers: Analysis_score: 0
Design_score: 3 Imp._score: 3
Test_score: 3

Description

Going through the script here: http://sophie2.org/trac/wiki/ITERATION_09/Release/UserDocumentation/AnIntroductionToSophie/ScriptForDemo

I performed all the actions on Page 1, opened the book in Preview Mode, closed the preview, then attempted to save the book. This crash appeared; saving the report brought up the same crash dialogue box again and again, forcing me to quit Sophie.

Attachments

saved after 1 crash.txt (177.9 KB) - added by danvisel 10 years ago.
crash after inserting an image, previewing page, and saving.

Change History

Changed 10 years ago by danvisel

crash after inserting an image, previewing page, and saving.

comment:1 Changed 10 years ago by danvisel

  • Owner set to danvisel
  • Status changed from new to s1a_analysis_started

comment:2 Changed 10 years ago by danvisel

  • Status changed from s1a_analysis_started to s1b_analysis_finished
  • Milestone changed from M08_ALPHA3 to M09_BETA1

comment:3 Changed 10 years ago by danvisel

This isn't happening any more.

comment:4 Changed 10 years ago by danvisel

Actually, this is still happening: the crash wasn't happening before when I saved, previewed, then saved again, but I just previewed then saved for the first time and the crash still happens.

comment:5 Changed 10 years ago by peko

This is not the case with the bug. The same thing happens when there are two opened books and one closes one of them without clicking on the book that is behind. This means that there is no book selected and the title bar of the book that is still opened is gray. Trying to save a book searches for the current one and still there is no current Sophie2 breaks :-).

comment:6 Changed 10 years ago by peko

  • Status changed from s1b_analysis_finished to s2c_design_ok

"Save" and "Save As" items in the File menu will be disabled if there is no book selected.

comment:7 Changed 10 years ago by peko

  • Owner changed from danvisel to peko
  • Status changed from s2c_design_ok to s3a_implementation_started
  • Imp._owners set to peko

comment:8 Changed 10 years ago by peko

  • Status changed from s3a_implementation_started to s3b_implementation_finished

Fixed by disabling the "Save" and "Save As" items in the File menu when not having a current book selected. [4082]

comment:9 Changed 10 years ago by mira

  • Status changed from s3b_implementation_finished to s3c_implementation_ok
  • Design_score changed from 0 to 3
  • Design_reviewers set to mira
  • Imp._score changed from 0 to 3
  • Imp._reviewers set to mira

I guess a better fix for this will be when closing the current book window the current to be set properly to the previous current, but this restriction is also good to have. (3p) It is committed in trunk in revision [4086]

comment:10 Changed 10 years ago by mira

  • Design_owners set to peko

The revision is wrong. It is actually [4091]. Sorry about that.

comment:11 Changed 10 years ago by deyan

started testing

comment:12 Changed 10 years ago by deyan

Blocked by #1784

comment:13 Changed 10 years ago by deyan

  • Status changed from s3c_implementation_ok to closed
  • Test_owners set to deya
  • Resolution set to fixed

finished

comment:14 Changed 10 years ago by deyan

  • Test_score changed from 0 to 3

comment:15 Changed 10 years ago by deyan

  • Test_owners changed from deya to deyaN

comment:16 Changed 10 years ago by deyan

  • Test_owners changed from deyaN to deyan
Note: See TracTickets for help on using tickets.