Bug 75350 - Size of edit dialog not saved
Summary: Size of edit dialog not saved
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kab3
Classification: Miscellaneous
Component: general (show other bugs)
Version: 3.2
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Tobias Koenig
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-16 13:00 UTC by Robert Schouwenburg
Modified: 2009-08-05 16:05 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Schouwenburg 2004-02-16 13:00:23 UTC
Version:           3.2 (using KDE 3.2.0, Gentoo)
Compiler:          gcc version 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r3, propolice)
OS:          Linux (i686) release 2.4.23

When the edit-dialog of the addressbook is resized the size-settings are not saved.

How to reproduce:

Select new entry
Resize dialog
Enter details
Save
Select new entry
(Dialog in default size)

Expected behaviour:

Size-settings of dialog are saved automatically
Comment 1 Tobias Koenig 2004-02-19 16:31:27 UTC
CVS commit by tokoe: 

Store the size of contact editor.

CCMAIL:75350-done@bugs.kde.org


  M +8 -0      addresseeeditordialog.cpp   1.17


--- kdepim/kaddressbook/addresseeeditordialog.cpp  #1.16:1.17
@@ -56,4 +56,8 @@ AddresseeEditorDialog::AddresseeEditorDi
 
   enableButton( KDialogBase::Apply, false );
+
+  KConfig config( "kaddressbookrc" );
+  config.setGroup( "AddresseeEditor" );
+  resize( config.readSizeEntry( "Size" ) );
 }
 
@@ -62,4 +66,8 @@ AddresseeEditorDialog::~AddresseeEditorD
   kdDebug(5720) << "~AddresseeEditorDialog()" << endl;
 
+  KConfig config( "kaddressbookrc" );
+  config.setGroup( "AddresseeEditor" );
+  config.writeEntry( "Size", size() );
+
   emit editorDestroyed( mEditorWidget->addressee().uid() );
 }


Comment 2 Robert Schouwenburg 2004-02-19 17:15:33 UTC
Great! Thanks a mill!

> ------- You are receiving this mail because: -------
> You reported the bug, or are watching the reporter.
>
> http://bugs.kde.org/show_bug.cgi?id=75350
> tokoe kde org changed:
>
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>              Status|UNCONFIRMED                 |RESOLVED
>          Resolution|                            |FIXED
>
>
>
> ------- Additional Comments From tokoe kde org  2004-02-19 16:31 -------
> CVS commit by tokoe:
>
> Store the size of contact editor.
>
> CCMAIL:75350-done bugs kde org
>
>
>   M +8 -0      addresseeeditordialog.cpp   1.17
>
>
> --- kdepim/kaddressbook/addresseeeditordialog.cpp  #1.16:1.17
>  @ -56,4 +56,8  @ AddresseeEditorDialog::AddresseeEditorDi
>
>    enableButton( KDialogBase::Apply, false );
> +
> +  KConfig config( "kaddressbookrc" );
> +  config.setGroup( "AddresseeEditor" );
> +  resize( config.readSizeEntry( "Size" ) );
>  }
>
>  @ -62,4 +66,8  @ AddresseeEditorDialog::~AddresseeEditorD
>    kdDebug(5720) << "~AddresseeEditorDialog()" << endl;
>
> +  KConfig config( "kaddressbookrc" );
> +  config.setGroup( "AddresseeEditor" );
> +  config.writeEntry( "Size", size() );
> +
>    emit editorDestroyed( mEditorWidget->addressee().uid() );
>  }
>

Comment 3 Tobias Koenig 2009-08-05 16:05:37 UTC
The development of the old KAddressBook will be discontinued for KDE 4.4.
Since the new application has the same name, but a completly new code base we close all bug reports against the old version and ask the submitters to resend there reports against the new product.