Created attachment 8642998
middlemouse on new tab button creates a new tab related to current

Workarounds involve duplicating the current tab or opening a link in a
new related tab but these don't show the new tab page and are less
responsive.

Ideally there should be a context menu entry like other browsers
(Chrome, IE11) but considering that adding a "Duplicate Tab" entry was
opposed (Bug 455722) it looks like we have to resort to other methods.
The middlemouse approach (Bug 448546) seems like a valid alternative and
is currently unutilized for the new tab button.

Here's a patch to make middlemouse/ctrl-click on the new tab button
create a new tab related to the current tab.

It uses whereToOpenLink() so it is consistent with other middlemouse usage.
It uses standard related tab behavior, adding the new tab after other related 
tabs.
It needs to exclude commands that originate from keypresses so that Ctrl+T 
behaves normally.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to firefox in Ubuntu.
https://bugs.launchpad.net/bugs/572074

Title:
  New tabs open to the right of all existing tabs instead of opening
  next to the current tab

Status in Mozilla Firefox:
  Fix Released
Status in firefox package in Ubuntu:
  Triaged

Bug description:
  Binary package hint: firefox

  As the summary says: when a user opens a new, empty tab, it opens next
  to the rightmost of tabs currently open in the browser. This is
  inconsistent with the way links in new tabs are opened, which is to
  have them next to the currently active tab.

  Steps to reproduce:
  1. Open multiple tabs in the browser.
  2. Select the leftmost tab.
  3. Press Ctrl + T.

  Expected result:
  Have a new, empty tab next to the leftmost tab.

  Actual result:
  The new, empty tab opens next to the rightmost tab.

  ProblemType: Bug
  DistroRelease: Ubuntu 10.04
  Package: firefox 3.6.3+nobinonly-0ubuntu4
  ProcVersionSignature: Ubuntu 2.6.32-21.32-generic 2.6.32.11+drm33.2
  Uname: Linux 2.6.32-21-generic x86_64
  Architecture: amd64
  CheckboxSubmission: 09ae689090491ca53449589269e4bfd8
  CheckboxSystem: edda5d4f616ca792bf437989cb597002
  Date: Fri Apr 30 09:19:58 2010
  EcryptfsInUse: Yes
  FirefoxPackages:
   firefox 3.6.3+nobinonly-0ubuntu4
   firefox-gnome-support 3.6.3+nobinonly-0ubuntu4
   firefox-branding 3.6.3+nobinonly-0ubuntu4
   abroswer N/A
   abrowser-branding N/A
  InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
  ProcEnviron:
   PATH=(custom, user)
   LANG=fi_FI.utf8
   SHELL=/bin/bash
  SourcePackage: firefox

To manage notifications about this bug go to:
https://bugs.launchpad.net/firefox/+bug/572074/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to