Tallefer / arora

Automatically exported from code.google.com/p/arora
0 stars 0 forks source link

Double click on the tabbar spawns a new tab #386

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open arora (open two tabs if you autohide the tabbar whene there's only one 
tab open)
2. Double click in the tabbar (everywhere except for push buttons, like + and x)

What is the expected output? What do you see instead?
I don't know if this is a feature. Still, doubleclicking to open a new tab is 
IMHO useless and 
misleading.
The point is, try to close some tabs with the middle mouse. If you do fast 
enough you can 
generate a doubleclick event with the middle mouse:
1. the first click closes the tab you're pointing (if any)
2. the second click spawns a new tab
3. the second click close the tab opened in step 2.
Funny =)

If opening a new tab with a doubleclick is a feature, you could check what 
mouse button 
was doubleclicked. Left mouse button -> ok. All else -> ignore. I'm attaching a 
patch for 
src/tabbar.cpp that does what I just said. 

Original issue reported on code.google.com by ze4...@gmail.com on 14 Apr 2009 at 2:16

Attachments:

GoogleCodeExporter commented 9 years ago
Fixed, thanks for the patch!

Original comment by faw...@gmail.com on 14 Apr 2009 at 4:21