This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 269412 - OK button disabled in Introduce Constant refactoring dialog
Summary: OK button disabled in Introduce Constant refactoring dialog
Status: NEW
Alias: None
Product: ide
Classification: Unclassified
Component: Code (show other bugs)
Version: 8.2
Hardware: PC Linux
: P3 normal (vote)
Assignee: issues@ide
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-22 15:46 UTC by mclaborn
Modified: 2016-12-22 15:46 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (53.22 KB, text/plain)
2016-12-22 15:46 UTC, mclaborn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mclaborn 2016-12-22 15:46:07 UTC
Product Version = NetBeans IDE 8.2 (Build 201609300101)
Operating System = Linux version 4.4.0-57-generic running on amd64
Java; VM; Vendor = 1.8.0_112
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.112-b15

Reproducibility: Happens every time

STEPS:
1. Select a String value with the surrounding double quotes
2. Invoke Introduce Constant refactoring 
3. The OK button is enabled
4. Select all of the text of the suggested constant name and press Ctrl+X to cut it
5. The OK button is disabled (this is good)
6. Paste the constant name back into the text box (Ctrl+V)

ACTUAL:
  The OK button remains disabled

EXPECTED:
  The OK button should be enabled
Comment 1 mclaborn 2016-12-22 15:46:10 UTC
Created attachment 163292 [details]
IDE log