Ticket #2477 (closed bug: obsolete)

Opened 10 years ago

Last modified 9 years ago

selection-rectangle-hiding-scrollbars -- Exception occurs when scrollbars should hide

Reported by: deyan Owned by:
Priority: major Milestone: X3
Component: uncategorized Version: 2.0
Keywords: Cc:
Category: unknown Effort:
Importance: Ticket_group:
Estimated Number of Hours: 0 Add Hours to Ticket: 0
Billable?: yes Total Hours: 0
Analysis_owners: deyan Design_owners: deni
Imp._owners: deni Test_owners:
Analysis_reviewers: deni Changelog: Changelog
Design_reviewers: pap Imp._reviewers: deyan, pap
Test_reviewers: Analysis_score: 3.5
Design_score: 4 Imp._score: 4
Test_score: 0

Description (last modified by deyan) (diff)

http://sophie2.org/bug-report/detailed_view.php?id=214

Create a book with no scrollbars, resize it so you can show both scrollbars with selection rectangle, move the selection rectangle in and out, note that exception occurs.


Attachments

rectangle1.jpg (27.4 KB) - added by deyan 10 years ago.
rectangle2.jpg (46.6 KB) - added by deyan 10 years ago.
2477.patch (999 bytes) - added by deni 10 years ago.

Change History

Changed 10 years ago by deyan

Changed 10 years ago by deyan

comment:1 Changed 10 years ago by deyan

  • Status changed from new to s1b_analysis_finished
  • Description modified (diff)

comment:2 Changed 10 years ago by deyan

  • Description modified (diff)

comment:3 Changed 10 years ago by deni

  • Design_owners set to deni
  • Status changed from s1b_analysis_finished to s2a_design_started
  • Imp._owners set to deni
  • Analysis_reviewers set to deni
  • Analysis_score changed from 0 to 3.5

It would be good if the analysis contained the exception. It is:

java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location
	at java.awt.Component.getLocationOnScreen_NoTreeLock(Component.java:1896)
	at java.awt.Component.getLocationOnScreen(Component.java:1870)
	at org.sophie2.base.commons.gui.MouseCapture.eventDispatched(MouseCapture.java:64)

comment:4 Changed 10 years ago by deni

Actually the analysis did contain a link to a bug-report, sorry :-(

Changed 10 years ago by deni

comment:5 Changed 10 years ago by deni

  • Status changed from s2a_design_started to s3b_implementation_finished

In MouseCapture use getLocation() instead of getLocationOnScreen().

comment:6 Changed 10 years ago by pap

  • Status changed from s3b_implementation_finished to s3c_implementation_ok
  • Design_score changed from 0 to 4
  • Design_reviewers set to pap
  • Imp._score changed from 0 to 4
  • Imp._reviewers set to deyan, pap

comment:7 Changed 9 years ago by meddle

  • Status changed from s3c_implementation_ok to closed
  • Resolution set to obsolete

Closing all the tickets before M Y1

Note: See TracTickets for help on using tickets.