jankrause / idocit

Automatically exported from code.google.com/p/idocit
0 stars 0 forks source link

Problem with dirty-flag in preference pages #11

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Open in Eclipse Window -> Preferences -> iDocIt! and/or sub menus

What is the expected output? What do you see instead?

The preference page should not be dirty as I have done no changes, but the "OK" 
and "Apply" buttons are enabled.

If I empty one field on the first iDocIt! page and click "OK", and then reopen 
the page, the "OK" and "Apply" button are disabled. If I insert then again a 
valid folder/file the change is not noticed and I can not save the changes. But 
if I click on another page and then go back to the iDocIt! page only the "OK" 
button is enabled.

Original issue reported on code.google.com by dirk.mei...@gmail.com on 26 Apr 2011 at 6:55

GoogleCodeExporter commented 8 years ago
Estimation: 4 hours

Original comment by dirk.mei...@gmail.com on 27 Apr 2011 at 8:46

GoogleCodeExporter commented 8 years ago

Original comment by dirk.mei...@gmail.com on 3 May 2011 at 8:10

GoogleCodeExporter commented 8 years ago

Original comment by dirk.mei...@gmail.com on 10 May 2011 at 11:05

GoogleCodeExporter commented 8 years ago
The "OK" and "Apply" buttons act ok now.

But the PreferencePage is to restrictive with invalid inputs. It would be 
better if the user gets only a message if he wants to leave the page without 
inserting correct paths. In the message he is asked if he wants to stay on the 
page and correct the settings or if he really wants to leave the page. 
Furthermore, incorrect settings must not be saved.
To achieve this the field editors of FieldEditorPreferencePage must not be used.

Original comment by dirk.mei...@gmail.com on 10 May 2011 at 11:24

GoogleCodeExporter commented 8 years ago

Original comment by krauseda...@web.de on 17 May 2011 at 5:25

GoogleCodeExporter commented 8 years ago

Original comment by krauseda...@web.de on 1 Jun 2011 at 7:00