Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 346867 - [Preferences] Apply button enabled even if IntegerFieldEditor field is provided an invalid input
Summary: [Preferences] Apply button enabled even if IntegerFieldEditor field is provid...
Status: CLOSED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.6   Edit
Hardware: PC Windows XP
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: Platform UI Triaged CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-23 09:12 EDT by Harish Garapati CLA
Modified: 2019-11-14 02:21 EST (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 Harish Garapati CLA 2011-05-23 09:12:40 EDT
Build Identifier: I20100608-0911

If IntegerFieldEditor field is given an input of invalid value (e.g. string) from the mouse context menu --> Paste, then the Apply button is enabled in the preferences. After clicking on Apply, the error message is getting displayed. The behavior should be the Apply button should be disabled by default whenever an invalid input is provided.
Same is the case with all IntegerFieldEditor fields.

Reproducible: Always

Steps to Reproduce:
1. Open eclipse 3.6 platform
2. Go to Window -> Preferences -> General -> Editors.
3. Copy any string and paste the copied string in "Size of recently opened files list:" field by mouse right click -> Paste.
4. Observe that the Apply button is still enabled and by clicking on Apply, the error message is shown.
5. This is not the case if the paste in step 3 happens by ctrl-v keyboard command. In this case, the error message is shown and the apply button is disabled.
Comment 1 Lars Vogel CLA 2019-11-14 02:21:37 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

If the bug is still relevant, please remove the "stalebug" whiteboard tag.