View Issue Details

IDProjectCategoryView StatusLast Update
0001764ScribusUsabilitypublic2006-07-26 21:17
Reporterjo-hannes Assigned Tosubik  
PrioritynormalSeverityfeatureReproducibilityalways
Status closedResolutionfixed 
PlatformallOSallOS Versionall
Product Version1.3 
Fixed in Version1.3.4cvs 
Summary0001764: Preference: make a restore defaults button for every preference section
Descriptionso let the user restore the defaults also per gui and not only by deleting the config file
TagsNo tags attached.
Patch

Relationships

related to 0003056 closedsubik implement an Apply button to the document setup 
related to 0003758 closedcbradney String sometimes doesn't change after switching UI language 
related to 0003885 closedsubik sig11 crash when activating default button on preferences 
related to 0003950 closedsubik can't delete additional font paths. 
child of 0003964 closedplinnell 1.3.4 Release Metabug 

Activities

mhanski

2006-04-23 22:41

developer   ~0010385

... and "Apply" buttons in every section would be very useful too -- OK and Cancel are simply not sufficient.

subik

2006-05-22 09:52

manager   ~0011408

"apply" and "defaults" buttons are presented in 1.3.4cvs (05/22/2006) - it'll be in public cvs after sync.
There *should* be some testing because this patch was made from large copy/pasting and there is something missing propably...

TODO: remove duplicate code from constructors and call restoreDefaults() methods to fill the widgets.

jo-hannes

2006-06-26 18:53

developer   ~0011699

crash after pressing reload standards:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1224796480 (LWP 3917)]
0xb787992a in QListBox::count () from /usr/lib/libqt-mt.so.3
(gdb) bt
#0 0xb787992a in QListBox::count () from /usr/lib/libqt-mt.so.3
0000001 0x08282259 in FontPrefs::rebuildDialog (this=0x8f89d98, firstTime=false)
    at fontprefs.cpp:335
0000002 0x08282d5d in FontPrefs::restoreDefaults (this=0x8f89d98)
    at fontprefs.cpp:153
0000003 0x08460d85 in ReformDoc::restoreDefaults (this=0x8ca6368)
    at reformdoc.cpp:527
0000004 0x0845bd1e in ReformDoc::qt_invoke (this=0x8ca6368, _id=54, _o=0xbff18bdc)
    at reformdoc.moc:125
0000005 0xb7795eb9 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
0000006 0xb7796954 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
0000007 0xb7b31d1f in QButton::clicked () from /usr/lib/libqt-mt.so.3
0000008 0xb783155e in QButton::mouseReleaseEvent () from /usr/lib/libqt-mt.so.3
0000009 0xb77d068d in QWidget::event () from /usr/lib/libqt-mt.so.3
0000010 0xb772be56 in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
0000011 0xb772c3e0 in QApplication::notify () from /usr/lib/libqt-mt.so.3
0000012 0xb76bd1c5 in QApplication::sendSpontaneousEvent ()
   from /usr/lib/libqt-mt.so.3
0000013 0xb76b8873 in QETWidget::translateMouseEvent () from /usr/lib/libqt-mt.so.3
0000014 0xb76b6d59 in QApplication::x11ProcessEvent () from /usr/lib/libqt-mt.so.3
0000015 0xb76d04db in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
0000016 0xb7744947 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
0000017 0xb772a991 in QApplication::enter_loop () from /usr/lib/libqt-mt.so.3
---Type <return> to continue, or q <return> to quit---
0000018 0xb794942c in QDialog::exec () from /usr/lib/libqt-mt.so.3
0000019 0x0861cbad in ScribusMainWindow::slotDocSetup (this=0x8779ff0)
    at scribus.cpp:2171
0000020 0x08657223 in ScribusMainWindow::qt_invoke (this=0x8779ff0, _id=191,
    _o=0xbff196cc) at scribus.moc:1036
0000021 0xb7795eb9 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
0000022 0xb7796954 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
0000023 0xb7b50886 in QAction::activated () from /usr/lib/libqt-mt.so.3
0000024 0xb7901307 in QAction::internalActivation () from /usr/lib/libqt-mt.so.3
0000025 0xb7b50a22 in QAction::qt_invoke () from /usr/lib/libqt-mt.so.3
0000026 0x084a9f17 in ScrAction::qt_invoke (this=0x8a9ca48, _id=8, _o=0xbff197e8)
    at scraction.moc:229
0000027 0xb7795eb9 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
0000028 0xb7b2929a in QSignal::signal () from /usr/lib/libqt-mt.so.3
0000029 0xb77b3630 in QSignal::activate () from /usr/lib/libqt-mt.so.3
0000030 0xb78bafb1 in QPopupMenu::mouseReleaseEvent () from /usr/lib/libqt-mt.so.3
0000031 0xb77d068d in QWidget::event () from /usr/lib/libqt-mt.so.3
0000032 0xb772be56 in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
0000033 0xb772c3e0 in QApplication::notify () from /usr/lib/libqt-mt.so.3
0000034 0xb76bd1c5 in QApplication::sendSpontaneousEvent ()
   from /usr/lib/libqt-mt.so.3
0000035 0xb76b85c0 in QETWidget::translateMouseEvent () from /usr/lib/libqt-mt.so.3
0000036 0xb76b6d59 in QApplication::x11ProcessEvent () from /usr/lib/libqt-mt.so.3
---Type <return> to continue, or q <return> to quit---
0000037 0xb76d04db in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
0000038 0xb7744947 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
0000039 0xb774486a in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
0000040 0xb772a965 in QApplication::exec () from /usr/lib/libqt-mt.so.3
0000041 0x0865f2f2 in mainApp (argc=1, argv=0xbff1a364) at main_nix.cpp:76
0000042 0x0865f33c in main (argc=1, argv=0xbff1a364) at main_nix.cpp:52

plinnell

2006-06-28 09:00

viewer   ~0011703

Jo-hannes, please try current cvs, a related change might have fixed this.

jo-hannes

2006-06-28 09:47

developer   ~0011704

the crash is gone but scribus must not restore the whole standard preferences but only the ones for the category where i am in.

subik

2006-06-28 10:40

manager   ~0011710

the question is: "why?"
Is this standard behaviour in sw? (I don't know as I've never use such feature ;))

If I know that "Apply" or "OK" buttons sets *all* prefs I expect thet "Defaults" button restores all prefs too? Or am I wrong?

jo-hannes

2006-06-28 10:57

developer   ~0011716

if i make some changes in a preference section and i press apply, then i expect that only that settings are applied. same as restore. only okay applies all settings and exits.

but possible we may ask others?

jo-hannes

2006-06-28 11:01

developer   ~0011717

Reminder sent to: christoph_s, mhanski

What do you think?

christoph_s

2006-06-28 19:55

developer   ~0011720

I'm not sure what to say about this one. On the one hand I understand Johannes' desire to restore tab defaults. It would also make the UI more consistent. On the other hand, one has to ask if the feature is worth the coding efforts. That's something only subik can explain. And please don't forget user friendliness. Could this be too confusing (too many buttons with similar functions)? This is no judgement, just a question.

mhanski

2006-06-30 09:28

developer   ~0011724

I've just played with "Apply" buttons in my KDE "Laptop & Power" settings, which contain several subsections. The "Apply" buttons within those subsections change _all_ settings, not only those of the current subsection. I can live with the behaviour implemented by Petr, meaning: "OK" == "Apply all settings and exit"; "Apply" == "Apply all settings and stay where you are".

subik

2006-07-25 08:21

manager   ~0012005

leave it with apply=apply all. It's a candidate for docs maybe.

subik

2006-07-25 08:23

manager   ~0012006

Reminder sent to: plinnell

documentation candidate?

Issue History

Date Modified Username Field Change
2005-03-04 07:14 jo-hannes New Issue
2005-03-04 11:31 cbradney Status new => assigned
2005-03-04 11:31 cbradney Assigned To => cbradney
2005-03-04 11:37 cbradney Assigned To cbradney =>
2005-03-04 11:37 cbradney Status assigned => new
2006-04-12 14:54 mhanski Category General => Usability
2006-04-12 14:54 mhanski OS => all
2006-04-12 14:54 mhanski OS Version => all
2006-04-12 14:54 mhanski Platform => all
2006-04-12 14:54 mhanski Product Version => 1.3.4cvs
2006-04-23 22:41 mhanski Note Added: 0010385
2006-04-23 22:41 mhanski Product Version 1.3.4cvs => 1.3
2006-05-17 12:04 mhanski Relationship added related to 0003056
2006-05-17 12:21 subik Status new => assigned
2006-05-17 12:21 subik Assigned To => subik
2006-05-22 09:52 subik Note Added: 0011408
2006-05-23 14:26 mhanski Relationship added related to 0003758
2006-06-20 12:40 subik Status assigned => resolved
2006-06-20 12:40 subik Fixed in Version => 1.3.4cvs
2006-06-20 12:40 subik Resolution open => fixed
2006-06-26 18:53 jo-hannes Status resolved => feedback
2006-06-26 18:53 jo-hannes Resolution fixed => reopened
2006-06-26 18:53 jo-hannes Note Added: 0011699
2006-06-28 09:00 plinnell Note Added: 0011703
2006-06-28 09:47 jo-hannes Note Added: 0011704
2006-06-28 10:40 subik Note Added: 0011710
2006-06-28 10:57 jo-hannes Note Added: 0011716
2006-06-28 11:01 jo-hannes Note Added: 0011717
2006-06-28 19:55 christoph_s Note Added: 0011720
2006-06-30 09:28 mhanski Note Added: 0011724
2006-06-30 09:30 mhanski Relationship added related to 0003885
2006-06-30 13:25 plinnell Relationship added related to 0003950
2006-07-03 20:41 cbradney Relationship added child of 0003964
2006-07-25 08:21 subik Status feedback => resolved
2006-07-25 08:21 subik Resolution reopened => fixed
2006-07-25 08:21 subik Note Added: 0012005
2006-07-25 08:23 subik Note Added: 0012006
2006-07-26 21:17 cbradney Status resolved => closed