0

I use Firefox, and its shortcuts for opening links in new tabs/windows:

  • Ctrl-click to open in new tab
  • Shift-click to open in new window

I've noticed when I do this to open FB cases from a list view in a new tab/window, FB still selects/unselects the case row as though I had clicked on the case row outside the link.

For ctrl-clicks it isn't so bad, as it just selects the case I am going to be looking at. In fact, sometimes that actually saves me time, if I then need to do a bulk operation on all the cases I looked at.

But for shift-clicks, it will select the case I opened plus all cases between that case and the previous case I selected, which really isn't useful at all, since it selects a bunch of cases I had no interest in whatsoever.

Personally, I don't see much value at all in selecting cases when the case link is clicked to open the case. I think it would work better if it left the selection unmodified. That way I can be sure only the things I explicitly wanted to be selected are selected. At the very least, I think it shouldn't do multi-select for the shift-click case.

Is this a bug? Is there some plugin / script that could fix it?

Fog Creek Case FC2029012

flag

1 Answer

1

That sounds like a bug. Thanks for reporting it!

The idea behind this behavior in FogBugz is to mimic the way Ctrl+click and Shift+click work when browsing a directory of files in graphical file browser (e.g., Windows Explorer).

If you hold down Ctrl and then click on a single file, that file is added/removed from the current list of selected files based on whether or not it was already selected. Similarly, if you hold down Shift and then click on a file, the range of files between the last item that was clicked and the item you just clicked are also added/removed from the current selection. The same applies if you hold down Ctrl and then click and drag: the items you drag your mouse over are also added/removed from the current selection.

All of these interactions are mimicked by the list view in FogBugz using JavaScript. Currently, this code doesn't differentiate between you holding down Ctrl or Shift and clicking anywhere within the row and you clicking on the link (and thus triggering the browser to open a new tab or window).

link|flag
Thanks, it seems like a small thing but I do run into it all the time. – Kevin K Mar 8 2011 at 23:39

Your Answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.