Bug 2393 - "Add" button malfunction in "Filters" view in "Create Custom Observer" window
Summary: "Add" button malfunction in "Filters" view in "Create Custom Observer" window
Status: NEW
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P3 normal
Target Milestone: ---
Assignee: Sami Wagiaalla
URL:
Keywords:
Depends on:
Blocks: 1668
  Show dependency treegraph
 
Reported: 2006-02-24 03:15 UTC by Rick Moseley
Modified: 2006-05-12 18:52 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rick Moseley 2006-02-24 03:15:14 UTC
The "Add" button in the "Filters" view in the "Create Custom Observer" window
allows a user to click it as many times as they want without ever filling in any
info.  IMHO, a user should only be allowed to click the "Add" button again when
the information has been fully entered for the first filter.  If the user
attempts to click the "Add" button before the info has not been completely
entered for the previous filter, an error message should be shown alerting them
to the fact that they have not finished the previous entry.

Also(and this is a moot point if the above is fixed), if you add a buch of
unfinished filters by clicking the "Add" button several times and then try to
click the delete button at the end of the line, a traceback is generated as follows:

java.lang.NullPointerException
   at frysk.gui.monitor.FilterLineWidget.removeFromObserver (FryskGui)
   at frysk.gui.monitor.FilterWidget.deleteFilterLine (FryskGui)
   at frysk.gui.monitor.FilterWidget$2.buttonEvent (FryskGui)
   at org.gnu.gtk.Button.fireButtonEvent (libgtkjava-2.8.so)
   at org.gnu.gtk.Button.handleClick (libgtkjava-2.8.so)
   at org.gnu.gtk.Gtk.gtk_main (libgtkjava-2.8.so)
   at org.gnu.gtk.Gtk.main (libgtkjava-2.8.so)
   at frysk.gui.Gui.gui (FryskGui)
   at frysk.gui.FryskGui.main (FryskGui)