Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 223275

Summary: [Dialogs] Ctrl+o resizing isn't remembered
Product: [Eclipse Project] JDT Reporter: Susan McCourt <susan>
Component: TextAssignee: JDT-Text-Inbox <jdt-text-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: daniel_megert, hudsonr, Mike_Wilson
Version: 3.2   
Target Milestone: 3.4 M6   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
patch to AbstractInformation control none

Description Susan McCourt CLA 2008-03-19 19:42:56 EDT
+++ This bug was initially created as a clone of Bug #140226 +++

This bug is being opened to track the changes needed to AbstractInformationControl in order to get the desired behavior in bug #140226 in this comment:

>In addition there's currently no setting to just persist the size - only size
>and position can be remembered together. We should split 'Remember Size and
>Location into 'Remember Size' (on per default) and 'Remember Location' (off by
>default).

patch coming...
Comment 1 Susan McCourt CLA 2008-03-19 20:16:39 EDT
Created attachment 92982 [details]
patch to AbstractInformation control

This patch is needed in order to consult the new getPersistLocation() method on
whether to set location.  It also uses a new PopupDialog constructor to get the desired behavior of persisting size by default, but not location.
Comment 2 Dani Megert CLA 2008-03-20 06:40:39 EDT
Thanks for the patch. In order to make it work I had to improve the PopupDialog.
Fixed in HEAD.
Available in builds >= I20080320-0800.