Bug 637163 - Pressing Enter should ask for confirmation about sending bugzilla
Summary: Pressing Enter should ask for confirmation about sending bugzilla
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Bugzilla
Classification: Community
Component: Creating/Changing Bugs
Version: devel
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: PnT DevOps Devs
QA Contact:
URL:
Whiteboard:
: 519251 677601 826658 975194 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-09-24 14:01 UTC by Zdenek Kabelac
Modified: 2014-08-30 22:29 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-06-20 05:40:56 UTC
Embargoed:


Attachments (Terms of Use)

Description Zdenek Kabelac 2010-09-24 14:01:24 UTC
Description of problem:

Pressing return during writing 'Summary' is dangerous thing and could happen by accident. I'd suggest to add at least option configurable by bz user - to query Yes/No for submitting bug in this case - thus I'd not create nearly empty bugzilla entries...

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:
Press Enter/Return - implicit Submit Bug happens

Expected results:
Configurable option for user login to query before bugsubmition (preferably not in case I would hit SubmitBug with mouse)

Additional info:

Comment 1 Penelope Fudd 2010-11-19 18:46:41 UTC
I encountered this today; I was typing in the subject of my bug, used the mouse scroll wheel to scroll in a terminal window to find the precise error message I was reporting, pressed enter (which I thought was going to the terminal window but instead went to firefox), and my bugzilla bug submitted itself with half of a subject line and everything else blank.

I copied the text from the bug description window to the 'additional comment' window and filled it in, but that's a suboptimal workaround.

Zdenek Kabelac suggested at least making it a configurable option, but I don't see a situation where anyone would want a shortcut to submit just a summary line.  The current behaviour is a bug.

Thanks for looking into this!

Comment 2 Jeff Fearn 🐞 2012-05-30 04:45:29 UTC
As part of the recent Bugzilla 2.4 upgrade the Bugzilla team are cleaning up bugs opened against old versions of Bugzilla. This bug has been flagged as an old bug and will be CLOSED WONTFIX in 7 days time.

If you believe this bug is an issue in the latest Bugzilla version please comment on this bug within 7 days. Doing so will ensure this bug is not closed automatically.

Thanks, the Bugzilla team.

Comment 3 Jeff Fearn 🐞 2012-05-30 04:45:29 UTC
As part of the recent Bugzilla 4.2 upgrade the Bugzilla team are cleaning up bugs opened against old versions of Bugzilla. This bug has been flagged as an old bug and will be CLOSED WONTFIX in 7 days time.

If you believe this bug is an issue in the latest Bugzilla version please comment on this bug within 7 days. Doing so will ensure this bug is not closed automatically.

Thanks, the Bugzilla team.

Comment 4 Zdenek Kabelac 2012-05-30 17:30:25 UTC
Since I've easily entered bugzilla again  (Bug 826668) - bug is still present.
Maybe devel may at least try to test reported bugs (especially when it's so easy)

Comment 5 Zdenek Kabelac 2012-05-30 17:33:02 UTC
*** Bug 826658 has been marked as a duplicate of this bug. ***

Comment 6 Jeff Fearn 🐞 2012-06-20 05:40:56 UTC
It's not easy when there are hundreds of bugs opened.

This isn't worth doing.

Comment 7 Simon Green 2012-06-20 06:04:18 UTC
*** Bug 519251 has been marked as a duplicate of this bug. ***

Comment 8 Penelope Fudd 2012-06-20 06:37:41 UTC
Not worth doing?

<input id="txt" type="text" onKeyPress="if (event.which == 13) return false;"></input>

And suddenly the hundreds of bogus half-done bug entries drops to nothing...?

(Code copied from http://stackoverflow.com/questions/1567644/submit-form-problem-enter-key )

Comment 9 Simon Green 2012-06-20 07:15:13 UTC
*** Bug 677601 has been marked as a duplicate of this bug. ***

Comment 10 Zdenek Kabelac 2012-06-20 08:59:15 UTC
(In reply to comment #6)
> It's not easy when there are hundreds of bugs opened.
> 
> This isn't worth doing.

You mean it's not worth to recheck opened bugzillas - or to fix this BZ ?

Do you want to open new BZ or would you please try to apply at least comment 8 ?

Comment 11 Jeff Fearn 🐞 2012-06-20 23:59:59 UTC
We will not be doing this.(In reply to comment #10)
> (In reply to comment #6)
> > It's not easy when there are hundreds of bugs opened.
> > 
> > This isn't worth doing.
> 
> You mean it's not worth to recheck opened bugzillas - or to fix this BZ ?

We will not be doing this.

> Do you want to open new BZ or would you please try to apply at least comment
> 8 ?

No. That would generate one million hate mails, and it's not worth our time to make this optional.

Comment 12 Zdenek Kabelac 2012-06-21 10:06:31 UTC
(In reply to comment #11)

> 
> > Do you want to open new BZ or would you please try to apply at least comment
> > 8 ?
> 
> No. That would generate one million hate mails, and it's not worth our time
> to make this optional.


I do not get it - what is so hard to implement comment 8?
It must be also fairly easy to compare if the new bugzilla is unmodified/empty and avoid submitting such bugreport.

Compare this amount of time with the time of many other developers that get pointless empty bug reports which some have to manage (read/close)
(Not to mentioning the time we've already spent with this bugzilla)

Comment 13 Jeff Fearn 🐞 2012-06-21 10:29:51 UTC
(In reply to comment #12)
> (In reply to comment #11)
> 
> > 
> > > Do you want to open new BZ or would you please try to apply at least comment
> > > 8 ?
> > 
> > No. That would generate one million hate mails, and it's not worth our time
> > to make this optional.
> 
> 
> I do not get it - what is so hard to implement comment 8?

I didn't say the change in #8 was hard, I said it would offend the vast majority of users and generate a lot of hate mail.

Doing it _properly_ would involves making it optional and defaulting it off, and this is not worth our time.

> It must be also fairly easy to compare if the new bugzilla is
> unmodified/empty and avoid submitting such bugreport.
> 
> Compare this amount of time with the time of many other developers that get
> pointless empty bug reports which some have to manage (read/close)
> (Not to mentioning the time we've already spent with this bugzilla)

You can feel free to make up numbers and make straw-man arguments out of them, and even to waste my time. I just won't allow this kind of thing to distract our 1 Bugzilla developer.

If you really want it added take it upstream.

Comment 14 Zdenek Kabelac 2012-06-21 10:37:00 UTC
(In reply to comment #13)
> (In reply to comment #12)
> > (In reply to comment #11)
> > 
> > > 
> > > > Do you want to open new BZ or would you please try to apply at least comment
> > > > 8 ?
> > > 
> > > No. That would generate one million hate mails, and it's not worth our time
> > > to make this optional.
> > 
> > 
> > I do not get it - what is so hard to implement comment 8?
> 
> I didn't say the change in #8 was hard, I said it would offend the vast
> majority of users and generate a lot of hate mail.
> 

Maybe I'm getting lost here - so  it IS actually a 'feature' and not a bug, that pressing Enter key while typing Bugzilla title and having an unmodified rest of Bugzilla page is the behavior users would miss and you are afraid you would get tons of hate mails because the user cannot report empty Bugzilla ??

Do you have some statics how often this is useful?

Comment 15 Jeff Fearn 🐞 2012-06-21 10:51:16 UTC
This is the behaviour as supplied by upstream, any affects of this are not sufficient enough for us to spend time on it. If you don't like the behaviour, take it upstream.

Comment 16 Simon Green 2013-06-17 20:35:34 UTC
*** Bug 975194 has been marked as a duplicate of this bug. ***

Comment 17 Przemek Klosowski 2013-06-17 21:07:48 UTC
It looks like a perfect application for a greasemonkey script that triggers on all  bugzilla pages and inserts code from https://bugzilla.redhat.com/show_bug.cgi?id=637163#c8

Comment 18 Przemek Klosowski 2014-08-30 09:08:39 UTC
I still think this is a bug; it trips me up with some regularity ("experience is recognizing your mistake when you make it again").

To work around this issue I started NOT FILLING OUT the mandatory fields (bug title/subject and component name) until I am done with the Description pane. This way, even if I accidentally press Enter the incomplete bug is not submitted.

I would like the maintainers and/or upstream to reconsider this issue. What would be the best procedure to raise this issue---reopening this bug here? direct contact with upstream? and if so, by what channel?

Comment 19 Simon Green 2014-08-30 22:29:52 UTC
(In reply to Przemek Klosowski from comment #18)
> I would like the maintainers and/or upstream to reconsider this issue. What
> would be the best procedure to raise this issue---reopening this bug here?

No, we are unlikely to make a change unless upstream do.

> direct contact with upstream? and if so, by what channel?

The best thing to do is file a bug in the upstream Bugzilla at https://bugzilla.mozilla.org, product: Bugzilla, component: User Interface.


Note You need to log in before you can comment on or make changes to this bug.