KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    Linux42.org    OpenSkillz.com   


- Content .- Fans (4) . 

Sticky Window Snapping


KWin Scripts

Score 72%
Issue Tacker:  Link
Version Control:  Link
Downloads:  331
Submitted:  Mar 9 2013
Updated:  Mar 10 2013


Let snapped window edges stick together when one window is resized.

The script registers two global shortcuts: one for enabling/disabling the script permanently, and one for enabling/disabling the script only for the next resize. The default shortcut keys are Meta+Shift+S and Ctrl+Shift+S, respectively. You can change them using systemsettings (or kcmshell4 keys); they are associated with the component “KWin”. Their names are prefixed by “KWin Script: Sticky Window Snapping”.

Known issues:
  • There is no optical feedback when a shortcut is pressed. I do not know how to initiate a KNotify notification from a KWin script. There is the function callDBus, but I do not know if or how it can be used for that purpose. KNotify provides the method “event” by dbus, but it expects arguments of types for which I do not know how to produce values with Java Script.

  • Currently, not only snapped window edges are considered as connected, but even edges which are only on the same row/column are considered as connected. I have not decided, if this is a bug or a feature, yet.

  • Changelog:

  • maximized windows are ignored now

  • shaded windows are ignored now

  • windows on other screens are ignored now

  • changed behavior when windows get very small while resizing

  • v0.1:
  • initial release

  • LicenseGPL
    Send to a friend
    Other  Artwork  from Flupp
    Report inappropriate content

    goto page:  1  2  3 



     by herrbatka on: Mar 9 2013
    Score 50%

    Insanly good idea!

    Reply to this


     Re: cool!

     by Flupp on: Mar 9 2013
    Score 50%

    Thank you.

    Reply to this


     it shouldn't resize overlaping window

     by herrbatka on: Mar 9 2013
    Score 50%

    As I wrote It is awesome, but I see one small problem. This script should have a one additional check to not work on window that overlaps resized window.

    BTW: I consider resizing column and row as a feature.

    Reply to this



     by Contrast on: Mar 9 2013
    Score 50%

    Great idea. Good to see you're still active. I noticed the relative lack of commits to this project - https://bitbucket.org/flupp/smooth-tasks-fork/ - and thought you might have moved away from KDE. By the way, is that project more or less "dead?" I only ask because it was my favorite task manager widget, but this issue - https://bitbucket.org/flupp/smooth-tasks-fork/issue/22/custumizable-alignement-and-order-of-task made it unusable for me. (Sorry for the off-topic comment.)

    Reply to this


     forgot to add

     by herrbatka on: Mar 9 2013
    Score 50%

    If stoping resizing overlaping windows is against usability or difficult to make then it's a good idea to prohibit resizing maximized windows instead.

    Reply to this


     another problem

     by herrbatka on: Mar 10 2013
    Score 50%

    I don't think that this script should effect shaded windows.

    BTW: I can't live without it anymore! :D

    Reply to this


     bugs are solved

     by herrbatka on: Mar 11 2013
    Score 50%

    Thank you for 0.2 update. This script just got even better.

    Reply to this

    goto page:  1  2  3 

    Add commentBack


    How do you like Plasma 5?
     The best KDE Desktop ever.
     Definitely a nice improvement.
     Not decided yet. Haven't tried it yet.
     I do not like some of the changes.
     KDE is taking the wrong way.
     I am still sticking with KDE 3.5.
     I have no opinion, but wanted to vote anyway.


     Who we are
    More about us
    Frequently Asked Questions
    Updates on identi.ca
    Updates on Twitter
    Content RSS   
    News RSS   
    Discussion RSS   
    Events RSS   

    Add Artwork
    Public API
    About KDE-Look.org
    Legal Notice
    Spreadshirt Shop
    CafePress Shop
    Sponsor us
    Report Abuse

    Copyright 2001-2016 KDE-Look.org Team  
    All rights reserved. KDE-Look.org is not liable for any content or goods on this site.
    All contributors are responsible for the lawfulness of their uploads.
    KDE and K Desktop Environment are trademarks of KDE e.V.