Ticket #1749 (closed bug: worksforme)

Opened 11 years ago

Last modified 11 years ago

Tweak: Preview mode with full screen crashes the application

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

Description

  • Open to preview mode
  • Press F11 to go full screen
  • Close the preview

As result the application crashes.

Change History

comment:1 Changed 11 years ago by dido

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

comment:2 Changed 11 years ago by dido

  • Status changed from s1a_analysis_started to s1b_analysis_finished

comment:3 Changed 11 years ago by dido

  • Status changed from s1b_analysis_finished to s1c_analysis_ok

comment:4 Changed 11 years ago by diana

  • Design_owners set to diana
  • Owner changed from dido to diana
  • Status changed from s1c_analysis_ok to s2a_design_started
  • Imp._owners set to diana
  • Analysis_owners set to diana

In MDMainWindow::setup check if the currentWindow is nulland if so then use the desktopView instead in order not to crash the project.

comment:5 Changed 11 years ago by diana

  • Status changed from s2a_design_started to s2b_design_finished

source: [4178]

comment:6 Changed 11 years ago by diana

  • Status changed from s2b_design_finished to s2c_design_ok

comment:7 Changed 11 years ago by diana

  • Status changed from s2c_design_ok to s3a_implementation_started

comment:8 Changed 11 years ago by diana

  • Status changed from s3a_implementation_started to s3b_implementation_finished

comment:9 Changed 11 years ago by mira

  • Status changed from s3b_implementation_finished to s2c_design_ok
  • Design_reviewers set to mira
  • Imp._score changed from 0 to 2
  • Imp._reviewers set to mira
  • There is no design. You shuld explain what is causing the crash and what is the error in the code. Also you should fix the actual problem not the symptom (in this case the resulting null value).
  • I don`t think this is the appropriate way to solve this issue. You may see the BookLogic opperations for deselection \ closing of a bookwindow.
  • When you can use if-else it is better that if and return at the end of its body.
  • If you are copying code you should make a method that is used in the two places insted of dublicating the code.
  • (by meddle) Your spacing is bad.

comment:10 Changed 11 years ago by meddle

  • About identation : I told you to set the eclipse's tabs to be 4 spaces and to use ctrl+i on a selected text to indent it. A simple solution when you are done writing a file just do ctrl+a (select everything in the file), ctrl+i (ident everything that is selected).

comment:11 Changed 11 years ago by vanya

  • Status changed from s2c_design_ok to closed
  • Test_owners set to vanya
  • Total Hours set to 0
  • Add Hours to Ticket set to 0
  • Billable? set
  • Estimated Number of Hours set to 0
  • Resolution set to worksforme
Note: See TracTickets for help on using tickets.