Snap window to corner requires a miracle to detect its in the corner

Bug #1604581 reported by Chuck England
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
compiz (Ubuntu)
New
Undecided
Unassigned

Bug Description

When you setup the snap to corner in Unity Tweak Tool, the tool indicates fairly large circles in the corners where the snapping would take place.

However, once it is setup, I have found that going to the corner prefers to snap to left, on the left top or bottom, and to the right on the right top or bottom. In fact, there are times when no matter how I move my mouse around, it will only snap to the side.

It is my opinion that the snapping should be as follows:
If you have corner snapping turned on, and you are dragging a window, and you move your mouse near the edge of the screen (within say a *minimum* of 40 pixels or 1/2"; depends on DPI), then if you are in the middle 1/3 of a side, it should snap to the side. If it is in the top or bottom 1/3 of the screen and in the middle 1/3 of the screen horizontally, then snap to top or bottom should occur. But if at top or bottom 1/3 vertically, and on left or right 1/3 horizontally, the snap should occur to that corner of the screen.

Note that to prevent the scenario where snapping might occur accidentally, I suggest that holding down any of the modifier keys (Ctrl/Alt/Shift) while dragging will specifically stop window snapping.

Also note that the above assumes that you have turned on corner snapping in the tweak tool.

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: unity 7.4.0+16.04.20160715-0ubuntu1
ProcVersionSignature: Ubuntu 4.4.0-31.50-generic 4.4.13
Uname: Linux 4.4.0-31-generic x86_64
.tmp.unity_support_test.1:

ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
BootLog:

CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
CompositorRunning: compiz
CompositorUnredirectDriverBlacklist: '(nouveau|Intel).*Mesa 8.0'
CompositorUnredirectFSW: true
CurrentDesktop: Unity
Date: Tue Jul 19 11:59:33 2016
DistUpgraded: 2016-05-24 08:21:49,349 DEBUG icon theme changed, re-reading
DistroCodename: xenial
DistroVariant: ubuntu
DkmsStatus:
 vboxguest, 5.0.24, 4.4.0-31-generic, x86_64: installed
 virtualbox-guest, 5.0.24, 4.4.0-31-generic, x86_64: installed (WARNING! Diff between built and installed module!) (WARNING! Diff between built and installed module!) (WARNING! Diff between built and installed module!)
GraphicsCard: InnoTek Systemberatung GmbH VirtualBox Graphics Adapter [80ee:beef] (prog-if 00 [VGA controller])
InstallationDate: Installed on 2016-01-19 (181 days ago)
InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Release amd64 (20151021)
Lsusb:
 Bus 001 Device 002: ID 80ee:0021 VirtualBox USB Tablet
 Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
MachineType: innotek GmbH VirtualBox
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-31-generic root=UUID=63196bec-f88c-4760-9aec-2a72b6da8b80 ro quiet splash
Renderer: Software
SourcePackage: unity
UpgradeStatus: Upgraded to xenial on 2016-05-24 (56 days ago)
dmi.bios.date: 12/01/2006
dmi.bios.vendor: innotek GmbH
dmi.bios.version: VirtualBox
dmi.board.name: VirtualBox
dmi.board.vendor: Oracle Corporation
dmi.board.version: 1.2
dmi.chassis.type: 1
dmi.chassis.vendor: Oracle Corporation
dmi.modalias: dmi:bvninnotekGmbH:bvrVirtualBox:bd12/01/2006:svninnotekGmbH:pnVirtualBox:pvr1.2:rvnOracleCorporation:rnVirtualBox:rvr1.2:cvnOracleCorporation:ct1:cvr:
dmi.product.name: VirtualBox
dmi.product.version: 1.2
dmi.sys.vendor: innotek GmbH
version.compiz: compiz 1:0.9.12.2+16.04.20160714-0ubuntu1
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.67-1ubuntu0.16.04.1
version.libgl1-mesa-dri: libgl1-mesa-dri 11.2.0-1ubuntu2
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 11.2.0-1ubuntu2
version.xserver-xorg-core: xserver-xorg-core 2:1.18.3-1ubuntu2.2
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.10.1-1ubuntu2
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.7.0-1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917+git20160325-1ubuntu1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.12-1build2
xserver.bootTime: Tue Jul 19 10:00:26 2016
xserver.configfile: default
xserver.errors:
 modeset(0): glamor initialization failed
 AIGLX: reverting to software rendering
xserver.logfile: /var/log/Xorg.0.log
xserver.version: 2:1.18.3-1ubuntu2.2
xserver.video_driver: modeset

Revision history for this message
Chuck England (chuckeng) wrote :
Andrea Azzarone (azzar1)
no longer affects: unity (Ubuntu)
Revision history for this message
Chuck England (chuckeng) wrote :

What does that mean, "no longer affects"?

This is still an issue unless something has changed that has not made it out as a fix. I pull updates daily.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.