Ticket #2477 (closed bug: obsolete)
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
Change History
comment:1 Changed 15 years ago by deyan
- Status changed from new to s1b_analysis_finished
- Description modified (diff)
comment:3 Changed 15 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 15 years ago by deni
Actually the analysis did contain a link to a bug-report, sorry :-(
comment:5 Changed 15 years ago by deni
- Status changed from s2a_design_started to s3b_implementation_finished
In MouseCapture use getLocation() instead of getLocationOnScreen().
Note: See
TracTickets for help on using
tickets.