! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Window/Screen snapping
Status:
RESOLVED: FIXED

Comments

Description Benedikt Meurer editbugs 2006-03-06 18:10:35 CET
The latest version of xfwm4 do not seem to include the very handy window
snapping feature anymore, though the config dialog still includes the options.
Is that a bug or was it removed intentionally?
Comment 1 Olivier Fourdan editbugs 2006-03-06 18:20:01 CET
It is intentional ;)

Snapping is now resistance, but you can revert this to the old behaviour using
the "wmtweaks" properties.

I had to choose a default...
Comment 2 Benedikt Meurer editbugs 2006-03-06 18:25:18 CET
What is the name of the option? I can't seem to find it.

Shouldn't the "Windows snapping" section be removed from the window manager
preferences dialog if it doesn't have any effect by default? I think it's pretty
confusing right now.
Comment 3 Olivier Fourdan editbugs 2006-03-06 18:29:00 CET
The option is still there, and it is still working, it's simply resisting
instead of attracting
Comment 4 Olivier Fourdan editbugs 2006-03-06 18:30:42 CET
BTW the option (in English) is "Use edge resistance instead of windows snapping".
Comment 5 Benedikt Meurer editbugs 2006-03-06 18:55:13 CET
I don't see this option here.

% xfwm4 --version
        This is xfwm4 version 4.3.0 (revision 20258) for Xfce 4.3.0
        Released under the terms of the GNU General Public License.
        Compiled against GTK+-2.8.11, using GTK+-2.8.11.

        Build configuration and supported features:
        - Startup notification support:                 Yes
        - Render support:                               Yes
        - Xrandr support:                               Yes
        - Embedded compositor:                          No

xfce-mcs-manager restarted properly.

The dialogs look like this:
http://foo-projects.org/~benny/tmp/wmsnapping.png

Looks pretty much like
http://svn.xfce.org/svn/xfce/xfwm4/trunk/mcs-plugin/xfwm4_plugin.c. Did you
forget to commit the changes?

Looking through the source I found snap_resist=false, which does the trick.

I'm fine with whatever default. I'm just confused (and I guess most people will
be) if there's an option named "Windows snapping", but windows don't snap to
each other even if enabled. If it's an option for edge resistance, it should be
labeled "Edge Resistance" instead.

BTW: What is the idea behind the snap_resist=true behaviour? It doesn't seem to
offer any advantage over the window snapping.
Comment 6 Olivier Fourdan editbugs 2006-03-06 19:17:33 CET
Your wmtweaks plugin is outdated. Make sure you remove all copies of wmtweak*.so
and reinstall xfwm4 MCS plugins.
Comment 7 Benedikt Meurer editbugs 2006-03-06 19:27:24 CET
Aye, that does the trick for the wmtweaks plugin.

So, can you fix the labels in the wmplugin if the "edge resistance instead of
window snapping" is active?
Comment 8 Olivier Fourdan editbugs 2006-03-06 19:31:19 CET
I think I'll revert the default to snapping. It's easier and less confusing for
the users ;)
Comment 9 Olivier Fourdan editbugs 2006-03-10 21:42:31 CET
Defaults to snapping again.

Bug #1551

Reported by:
Benedikt Meurer
Reported on: 2006-03-06
Last modified on: 2009-07-14

People

Assignee:
Olivier Fourdan
CC List:
0 users

Version

Attachments

Additional information