Closed Bug 966125 Opened 11 years ago Closed 11 years ago

[Australis] Ctrl-clicking history item in PanelUI opens url in 2 (duplicate) tabs

Categories

(Firefox :: Toolbars and Customization, defect)

x86
Windows 7
defect
Not set
normal

Tracking

()

VERIFIED FIXED
Firefox 30
Tracking Status
firefox29 --- verified
firefox30 --- verified

People

(Reporter: tawn, Assigned: Gijs)

References

(Blocks 1 open bug)

Details

(Whiteboard: [Australis:P3])

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 6.1; rv:28.0) Gecko/20100101 Firefox/28.0 (Beta/Release)
Build ID: 20140125004003

Steps to reproduce:

1. Open and close some tabs (so there is available history if starting with new profile)
2. Click the Australis PanelUI button
3. Click History
4. Ctrl + left click a history item (one below the 'Restore all tabs' entry)


Actual results:

Two new (duplicate) tabs are opened for the selected history item


Expected results:

The history item (url) should be opened in one new tab, not two.
Status: UNCONFIRMED → NEW
Component: Untriaged → Toolbars and Customization
Ever confirmed: true
Summary: [Australis] Ctrl-clicking History item in PanelUI opens url in 2 (duplicate) tabs → [Australis] Ctrl-clicking recently closed tab item in PanelUI opens url in 2 (duplicate) tabs
Whiteboard: [Australis:P3]
Depends on: 948213
history item, not recently closed tab item
Summary: [Australis] Ctrl-clicking recently closed tab item in PanelUI opens url in 2 (duplicate) tabs → [Australis] Ctrl-clicking history item in PanelUI opens url in 2 (duplicate) tabs
(In reply to Alice0775 White from comment #1)
> history item, not recently closed tab item

Comment #0 says:

"4. Ctrl + left click a history item (one below the 'Restore all tabs' entry)"

On latest nightly, that implies it's a recently closed tab. At this point I'm just confused - does it happen with all of these or only some, and which is it?
Flags: needinfo?(stayopenmenu)
Regressed by bug 927917
Depends on: 927917
No longer depends on: 948213
Blocks: 927917
No longer depends on: 927917
(In reply to :Gijs Kruitbosch from comment #2)
> (In reply to Alice0775 White from comment #1)
> > history item, not recently closed tab item
> 
> Comment #0 says:
> 
> "4. Ctrl + left click a history item (one below the 'Restore all tabs'
> entry)"
> 
> On latest nightly, that implies it's a recently closed tab. At this point
> I'm just confused - does it happen with all of these or only some, and which
> is it?

I reported this bug from testing on the 2014-01-30 build. The entries have since changed/moved on the 2014-01-31 nightly. The recently closed tabs entries work fine. The bug occurs in the history section that currently appears near the bottom of the panel, just above 'Show all History'.
Flags: needinfo?(stayopenmenu)
In fact, as best I can tell bug 927917 comment 3 was wrong, and both command and click fire here. Just handling clicks is fine, so let's just do that instead.
Attachment #8369981 - Flags: review?(mdeboer)
Assignee: nobody → gijskruitbosch+bugs
Status: NEW → ASSIGNED
Attachment #8369981 - Flags: review?(mdeboer) → review+
Comment on attachment 8369981 [details] [diff] [review]
fix ctrl-clicks in Australis history view,

remote:   https://hg.mozilla.org/integration/fx-team/rev/58c0d6666784
Attachment #8369981 - Flags: checkin+
Attachment #8369981 - Flags: approval-mozilla-aurora?
https://hg.mozilla.org/mozilla-central/rev/58c0d6666784
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 30
Gijs, could you fill the [Approval Request Comment] ? Thanks
Flags: needinfo?(gijskruitbosch+bugs)
Comment on attachment 8369981 [details] [diff] [review]
fix ctrl-clicks in Australis history view,

(In reply to Sylvestre Ledru [:sylvestre] from comment #8)
> Gijs, could you fill the [Approval Request Comment] ? Thanks

Huh. Not sure what happened there. Sorry! But toggling it now doesn't seem to prefill it... let me clear it and put it back. :-\
Flags: needinfo?(gijskruitbosch+bugs)
Attachment #8369981 - Flags: approval-mozilla-aurora?
Comment on attachment 8369981 [details] [diff] [review]
fix ctrl-clicks in Australis history view,

[Approval Request Comment]
Bug caused by (feature/regressing bug #): Australis
User impact if declined: ctrl-clicking items in the history view opens a tab too many
Testing completed (on m-c, etc.): local, m-c
Risk to taking this patch (and alternatives if risky): low
String or IDL/UUID changes made by this patch: none
Attachment #8369981 - Flags: approval-mozilla-aurora?
Attachment #8369981 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
QA Contact: cornel.ionce
Verified as fixed in latest Aurora 29.0a2 and latest Nightly 30.0a1 using Windows 7 32bit. Only one item is opened in a new tab.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: