Middle clicking empty space just above open tab opens new tab instead of closing it
Bug #1032477 reported by
whiplash
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Midori Web Browser |
Invalid
|
Undecided
|
Unassigned |
Bug Description
There is a small 1-2 pixel space above every tab that if middle clicked, won't close the tab but will instead open a new one. I've surprised myself by how often I hit that empty space when moving to close a tab!
Command line midori https:/
Midori 0.4.6 (de.twotoasts.
GTK+ 2.24.10 (2.24.10) Glib 2.32.3 (2.32.3)
WebKitGTK+ 1.8.1 (1.8.0) libsoup 2.38.1
cairo 1.10.2 (1.10.2)
gcr No
granite No
libnotify 0.7.5
single instance libunique 1.1.6
Platform X11; Linux i686
Related branches
lp:~midori/midori/deathnote
- André Stösel: Approve
- Paweł Forysiuk: Approve
-
Diff: 3403 lines (+709/-2133)11 files modifiedkatze/katze-throbber.c (+0/-932)
katze/katze-throbber.h (+0/-94)
katze/katze.h (+0/-1)
midori/midori-browser.c (+148/-567)
midori/midori-notebook.vala (+526/-0)
midori/midori-preferences.c (+0/-5)
midori/midori-settings.vala (+1/-0)
midori/midori-tab.vala (+14/-1)
midori/midori-view.c (+19/-531)
midori/midori.vapi (+0/-1)
po/POTFILES.in (+1/-1)
To post a comment you must log in.
This has the same underlying cause as <https:/ /bugs.launchpad .net/midori/ +bug/1027442>. That said I do appreciate the annoyance of this behavior for the UI; it's gotten me multiple times.
To clarify upon the symptoms of this bug report a bit, there's also some area below and to the left and right of individual tabs where a middle-click results in a new tab. This is all caused by the fact that GTK gives regions to tabs that don't completely fill the tab bar, which is basically non-negotiable. A workaround would involve determining which pixel regions 'belong' to individual tabs, which is doable but might be a little hairy. I'll see if I can get something working.