Bug 380005 - Not detecting Windows Edge on first try
Summary: Not detecting Windows Edge on first try
Status: RESOLVED DUPLICATE of bug 376104
Alias: None
Product: kwin
Classification: Plasma
Component: core (show other bugs)
Version: 5.9.5
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-19 11:36 UTC by Richard Llom
Modified: 2017-09-29 14:57 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Llom 2017-05-19 11:36:39 UTC
When I open kwrite and drag on the titlebar to any screen edge, I see the preview for half/quarter screen, however on LMB release the window is not placed accordingly. Instead it is resized in the same position (upper left corner).
On second and subsequent drags it is always working.

This almost always happens on first try, ~ 98% of the time.
Happens also with other apps, konversation, kolourpaint, kate.

If needed I can also do a screencast of said behavior.



graphics info:
$ inxi -G
Graphics:  Card: Advanced Micro Devices [AMD/ATI] Fiji [Radeon R9 NANO]
           Display Server: X.Org 1.17.4 driver: amdgpu Resolution: 2560x1440@144hz
           GLX Renderer: Gallium 0.4 on AMD FIJI (DRM 3.3.0 / 4.8.6-1-CHAKRA, LLVM 3.9.1)
           GLX Version: 3.0 Mesa 13.0.2
Comment 1 Martin Flöser 2017-05-19 13:48:57 UTC
please provide output of qdbus org.kde.KWin /KWin supportInformation
Comment 2 Richard Llom 2017-05-19 15:16:47 UTC
$ qdbus org.kde.KWin /KWin supportInformation
KWin Support Information:
The following information should be used when requesting support on e.g. http://forum.kde.org.
It provides information about the currently running instance, which options are used,
what OpenGL driver and which effects are running.
Please post the information provided underneath this introductory text to a paste bin service
like http://paste.kde.org instead of pasting into support threads.

==========================

Version
=======
KWin version: 5.9.5
Qt Version: 5.8.0
Qt compile version: 5.8.0
XCB compile version: 1.12

Operation Mode: X11 only

Build Options
=============
KWIN_BUILD_DECORATIONS: yes
KWIN_BUILD_TABBOX: yes
KWIN_BUILD_ACTIVITIES: yes
HAVE_INPUT: yes
HAVE_DRM: yes
HAVE_GBM: yes
HAVE_X11_XCB: yes
HAVE_EPOXY_GLX: yes
HAVE_WAYLAND_EGL: yes

X11
===
Vendor: The X.Org Foundation
Vendor Release: 11704000                                                                                                                                                                                                                                                                                          
Protocol Version/Revision: 11/0                                                                                                                                                                                                                                                                                   
SHAPE: yes; Version: 0x11                                                                                                                                                                                                                                                                                         
RANDR: yes; Version: 0x14                                                                                                                                                                                                                                                                                         
DAMAGE: yes; Version: 0x11                                                                                                                                                                                                                                                                                        
Composite: yes; Version: 0x4                                                                                                                                                                                                                                                                                      
RENDER: yes; Version: 0xb                                                                                                                                                                                                                                                                                         
XFIXES: yes; Version: 0x50                                                                                                                                                                                                                                                                                        
SYNC: yes; Version: 0x31                                                                                                                                                                                                                                                                                          
GLX: yes; Version: 0x0                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                  
Decoration                                                                                                                                                                                                                                                                                                        
==========                                                                                                                                                                                                                                                                                                        
Plugin: org.kde.breeze                                                                                                                                                                                                                                                                                            
Theme:                                                                                                                                                                                                                                                                                                            
Blur: 0
onAllDesktopsAvailable: true
alphaChannelSupported: true
closeOnDoubleClickOnMenu: false
decorationButtonsLeft: 0, 2
decorationButtonsRight: 7, 9, 6, 3, 4, 5
borderSize: 0
gridUnit: 10
font: Noto Sans,10,-1,0,50,0,0,0,0,0
smallSpacing: 2
largeSpacing: 10

Options
=======
focusPolicy: 0
nextFocusPrefersMouse: false
clickRaise: true
autoRaise: false
autoRaiseInterval: 0
delayFocusInterval: 0
shadeHover: false
shadeHoverInterval: 250
separateScreenFocus: false
placement: 4
focusPolicyIsReasonable: true
borderSnapZone: 10
windowSnapZone: 10
centerSnapZone: 0
snapOnlyWhenOverlapping: false
rollOverDesktops: true
focusStealingPreventionLevel: 1
legacyFullscreenSupport: false
operationTitlebarDblClick: 5000
operationMaxButtonLeftClick: 5000
operationMaxButtonMiddleClick: 5015
operationMaxButtonRightClick: 5014
commandActiveTitlebar1: 0
commandActiveTitlebar2: 3
commandActiveTitlebar3: 2
commandInactiveTitlebar1: 4
commandInactiveTitlebar2: 3
commandInactiveTitlebar3: 2
commandWindow1: 7
commandWindow2: 8
commandWindow3: 8
commandWindowWheel: 31
commandAll1: 10
commandAll2: 3
commandAll3: 14
keyCmdAllModKey: 16777251
showGeometryTip: false
condensedTitle: false
electricBorderMaximize: true
electricBorderTiling: true
electricBorderCornerRatio: 0.25
borderlessMaximizedWindows: false
killPingTimeout: 5000
hideUtilityWindowsForInactive: true
inactiveTabsSkipTaskbar: false
autogroupSimilarWindows: false
autogroupInForeground: true
compositingMode: 1
useCompositing: true
compositingInitialized: true
hiddenPreviews: 2
glSmoothScale: 2
xrenderSmoothScale: false
maxFpsInterval: 16666666
refreshRate: 0
vBlankTime: 6000000
glStrictBinding: true
glStrictBindingFollowsDriver: true
glCoreProfile: true
glPreferBufferSwap: 101
glPlatformInterface: 1
windowsBlockCompositing: true

Screen Edges
============
desktopSwitching: false
desktopSwitchingMovingClients: false
cursorPushBackDistance: 1x1
timeThreshold: 150
reActivateThreshold: 350
actionTopLeft: 0
actionTop: 0
actionTopRight: 0
actionRight: 0
actionBottomRight: 0
actionBottom: 0
actionBottomLeft: 1
actionLeft: 0

Screens
=======
Multi-Head: no
Active screen follows mouse:  no
Number of Screens: 1

Screen 0:
---------
Name: DisplayPort-0
Geometry: 0,0,2560x1440
Refresh Rate: 143.856


Compositing
===========
Compositing is active
Compositing Type: OpenGL
OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD FIJI (DRM 3.3.0 / 4.8.6-1-CHAKRA, LLVM 3.9.1)
OpenGL version string: 4.3 (Core Profile) Mesa 13.0.2
OpenGL platform interface: GLX
OpenGL shading language version string: 4.30
Driver: Unknown
GPU class: Unknown
OpenGL version: 4.3
GLSL version: 4.30
Mesa version: 13.0.2
X server version: 1.17.4
Linux kernel version: 4.8.6
Direct rendering: Requires strict binding: yes
GLSL shaders:  yes
Texture NPOT support:  yes
Virtual Machine:  no
OpenGL 2 Shaders are used
Painting blocks for vertical retrace:  no

Loaded Effects:
---------------
zoom
slidingpopups
kwin4_effect_login
slide
kwin4_effect_windowaperture
screenshot
kwin4_effect_translucency
minimizeanimation
desktopgrid
colorpicker
kwin4_effect_maximize
kwin4_effect_fade
kwin4_effect_morphingpopups
presentwindows
kwin4_effect_dialogparent
highlightwindow
blur
contrast
startupfeedback
screenedge
kscreen

Currently Active Effects:
-------------------------
blur
contrast

Effect Settings:
----------------
zoom:
zoomFactor: 1.2
mousePointer: 0
mouseTracking: 0
enableFocusTracking: false
followFocus: true
focusDelay: 350
moveFactor: 20
targetZoom: 1

slidingpopups:
fadeInTime: 150
fadeOutTime: 250

kwin4_effect_login:

slide:

kwin4_effect_windowaperture:

screenshot:

kwin4_effect_translucency:

minimizeanimation:

desktopgrid:
zoomDuration: 300
border: 10
desktopNameAlignment: 0
layoutMode: 0
customLayoutRows: 2
usePresentWindows: true

colorpicker:

kwin4_effect_maximize:

kwin4_effect_fade:

kwin4_effect_morphingpopups:

presentwindows:
layoutMode: 0
showCaptions: true
showIcons: true
doNotCloseWindows: false
ignoreMinimized: false
accuracy: 20
fillGaps: true
fadeDuration: 150
showPanel: false
leftButtonWindow: 1
rightButtonWindow: 2
middleButtonWindow: 0
leftButtonDesktop: 2
middleButtonDesktop: 0
rightButtonDesktop: 0

kwin4_effect_dialogparent:

highlightwindow:

blur:
blurRadius: 12
cacheTexture: true

contrast:

startupfeedback:
type: 1

screenedge:

kscreen:
Comment 3 Martin Flöser 2017-05-19 15:29:48 UTC
Does it make a difference whether the window is maximized?
Comment 4 Richard Llom 2017-05-20 18:48:32 UTC
(In reply to Martin Flöser from comment #3)
> Does it make a difference whether the window is maximized?

Yes, if the windows starts up maximized it always seems to work on first try.
Comment 5 Martin Flöser 2017-06-17 12:00:51 UTC
Sounds a lot like the regression introduces with 5.9

*** This bug has been marked as a duplicate of bug 376155 ***
Comment 6 Nate Graham 2017-09-29 14:57:19 UTC

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