After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 90418 - Implement button click preference
Implement button click preference
Status: RESOLVED DUPLICATE of bug 83210
Product: metacity
Classification: Other
Component: general
unspecified
Other Linux
: Normal enhancement
: GNOME2.x
Assigned To: Metacity maintainers list
Metacity maintainers list
: 80298 82859 93672 93797 96021 97849 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2002-08-10 18:51 UTC by Havoc Pennington
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement



Description Havoc Pennington 2002-08-10 18:51:10 UTC
Implement a preference for what happens on double-click titlebar, and 
middle-click frame. (these two settings will make most people happy I
think. yes I know they won't make everyone happy.)

For double click titlebar the only actions I was really thinking of allowing 
are shade or maximize.

For middle click could go ahead and allow a long list of stuff (minimize,
maximize, raise, lower, activate, blah blah)
Comment 1 Havoc Pennington 2002-08-10 18:51:32 UTC
*** Bug 80298 has been marked as a duplicate of this bug. ***
Comment 2 Havoc Pennington 2002-08-10 19:06:11 UTC
*** Bug 82859 has been marked as a duplicate of this bug. ***
Comment 3 Havoc Pennington 2002-08-10 19:06:31 UTC
Note, check dups to see which things middle click might have on it.
Comment 4 Daniel Borgmann 2002-08-15 18:32:44 UTC
Can we have it do two different things? Just like single click does
raise and activate a window while single click and drag will move the
window.
I would like it to do raise/lower on middleclick and resizing on
middleclick-drag for example. AFAIK Sawfish does it like this or
similar. When the button is released without a certain amount of drag
movement, it could activate the "clickfunction" and otherwise just resize.
Comment 5 Christian Neumair 2002-09-09 19:24:39 UTC
Daniel: We'd need a gconf key for advanced toolbar functions because
else it would confuse new users (imagine, they play around a bit and
the window disappears). But basically your idea sounds good.

see you,
 Chris
Comment 6 Andrew Sobala 2002-09-20 22:32:31 UTC
*** Bug 93672 has been marked as a duplicate of this bug. ***
Comment 7 Andrew Sobala 2002-09-20 22:44:45 UTC
*** Bug 93797 has been marked as a duplicate of this bug. ***
Comment 8 Tuukka Tolvanen 2002-09-21 01:40:59 UTC
Would it make sense to use the following defaults:
  - double-click on titlebar maximizes/unmaximizes (imo a necessary
workaround for the Windows-style button order - bug 93797)
  - scroll wheel up/down shades/unshades (bug 91338)

This would give access to both shade and maximize in a way that would
seem to eliminate the need to touch prefs for most (except in the case
of not having a wheelmouse && requiring fast access to shade).
Comment 9 Havoc Pennington 2002-10-07 23:13:02 UTC
See also http://bugzilla.gnome.org/show_bug.cgi?id=83210
and patches/discussion there.
Comment 10 David Kennedy 2002-10-18 21:20:16 UTC
*** Bug 96021 has been marked as a duplicate of this bug. ***
Comment 11 Joe Krahn 2002-11-06 15:26:52 UTC
My 2 cents - trying to think in Metacity style - good global
functionality, not just my personal prefs...

My suggestion for middle-click on the window frame is for
moving the window. IRIX does this, and it works well. Currently,
there is no way in Metacity to move a window so that it's title
bar is above the top of the screen, which is sometimes useful.
Now, moving is a bit clumsy without using the title bar.

Switching from resize to move by using the middle button on
borders fits well with switching from move to resize for the
middle button at the title bar.

It might also be sensible for middle-click without dragging
on borders to be a send-to-back stacking order tool. Right
now, I don't see a send-to-back function. It might also be good
to add this to the right-click menu, for people with 2-buttons.

As for mouse functions within the client area: are people
suggesting middleclick with no modifiers in the client area has
has WM move/resize functions? That is definitely a bad idea
because it prevents apps from using the middle button. Even
with modifier key(s), WM functions in the client area should
be possible to disable in case an app wants to use those button/
modifier combination.

Actually, it may be best to make a general designation
for a WM-only modifier key, such as the 'Windows logo'
key - whichj is after all a 'windows' icon, and essentially
unused by X11 applications. (Maybe an ICCCM request?) Then
we will never have problems of WM functions interfering with
an application. The typical approach by WM's like Sawfishis to
go in and make special per-app exclusions or modifications,
which is a rather lame approach.
Comment 12 Heath Harrelson 2002-11-06 17:33:59 UTC
*** Bug 97849 has been marked as a duplicate of this bug. ***
Comment 13 Brad Garcia 2002-11-07 13:50:19 UTC
Just a little "I want this too!", to help you gage the popularity
of this bug/rfe  :-)

I've hacked my local copy of metacity so that middle-clicking
will lower the window.  I doubt this would be useful to you hp,
but I can share the diff if you (or anybody else) would like
me to.
Comment 14 Havoc Pennington 2002-11-07 16:28:21 UTC
middle-click already lowers window in latest, iirc.
Comment 15 Havoc Pennington 2002-12-08 17:03:29 UTC
As CVS has the double-click-titlebar pref I'm going to merge with 83210
which has patch stuff

*** This bug has been marked as a duplicate of 83210 ***