Bug 415649 - Don't create new cursor and dispose it
Summary: Don't create new cursor and dispose it
Status: RESOLVED FIXED
Alias: None
Product: PDE
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.3   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 4.4 M2   Edit
Assignee: Curtis Windatt CLA
QA Contact:
URL:
Whiteboard:
Keywords: contributed
Depends on:
Blocks:
 
Reported: 2013-08-22 01:27 EDT by Alexander Kurtakov CLA
Modified: 2013-08-30 14:39 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Kurtakov CLA 2013-08-22 01:27:47 EDT
For system cursors Display.getSystemCursor should be used and the state of the returned cursor is automaintained.
Comment 1 Alexander Kurtakov CLA 2013-08-22 01:42:48 EDT
Gerrit review: https://git.eclipse.org/r/#/c/15765/
The patch looks way bigger than usual due to autosave actions reformating the code.
Comment 2 Curtis Windatt CLA 2013-08-30 14:39:37 EDT
http://git.eclipse.org/c/pde/eclipse.pde.ui.git/commit/?id=115eb7f7a9b12243207fe3ac71d3b31c8cbe0dd5
Fixed in master, thanks for the contribution