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 173659 - [68cat] Run File for SQL files should not be the first item for source file popup menu
Summary: [68cat] Run File for SQL files should not be the first item for source file p...
Status: VERIFIED FIXED
Alias: None
Product: db
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 blocker with 1 vote (vote)
Assignee: Jiri Rechtacek
URL:
Keywords: UI
Depends on:
Blocks:
 
Reported: 2009-10-02 21:26 UTC by Michel Graciano
Modified: 2009-10-07 18:07 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michel Graciano 2009-10-02 21:26:19 UTC
[ BUILD # : 200910010513 ]
[ JDK VERSION : 1.6.* ]

Now that issue #71231 is fixed we have Run File action for SQL file
too. BTW, it is dangerous when you use popup menu inside code editor
since it is the first option. Basically we, the users, usually select
the first action which was Run Statement or Run Selection but now it
is Run File and for scripts where we have delete and updates it is
dangerous since NB have no way to rollback changes now. Imagine drop
tables and so on. IMHO it should something like this:

Run Statement
SQL History
-------------
Run File
-------------
Cut
...

Regards
Comment 1 Michel Graciano 2009-10-02 21:27:10 UTC
Could I consider it as an usability issue?
Comment 2 Jiri Rechtacek 2009-10-06 12:50:32 UTC
I understand the problem, I agree to change items order to the proposed state.
Comment 3 Jiri Rechtacek 2009-10-06 14:02:48 UTC
core-main/rev/e6942fd8e8e5
Comment 4 Quality Engineering 2009-10-07 12:44:54 UTC
Integrated into 'main-golden', will be available in build *200910070250* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/e6942fd8e8e5
User: Jiri Rechtacek <jrechtacek@netbeans.org>
Log: #173659: [68cat] Run File for SQL files should not be the first item for source file popup menu
Comment 5 Michel Graciano 2009-10-07 18:07:52 UTC
v. 200910070250