This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Active windows corner not working for top left

Tags: None
(comma "," separated)
luebking
Karma
0
The touchpad issue is unrelated, the usercode doesn't care from what device the inputs come - it just deals them.
The problem here is probably a large timeout and you're running out of touchpad area or the touchpad removes the pointer when you stop using it (hard to say w/o the HW)

As for the panel/active corner conflict: yes that one is known.
We'll ultimately need a protocol for electric borders, a global daemon to provide them and applications act as clients to it (so more than one application can allocate one corner, but since the plasma panel autohide proxies are rather large, you also might just hit and fire the electric border from kwin when before the panel timeout fires)
ashmikuz
Registered Member
Posts
9
Karma
0
OS
Wow you're right, plugging the mouse in seems to fix the problem, so the issue is trackpad-related....
luebking
Karma
0
iirc at least for synaptics pads there at least used to be a config option for that behavior (but i could just as well be wrong on this)
K4LiN
Registered Member
Posts
2
Karma
0
luebking: I'm using touchpad on other edges just fine. Only left side have problem. The same desk switch as middle left edge action button. No matter if I have panel on bottom/left without autohide or on any state. I think I was using switching whith the hidding panel on the left side before whith no problem.

I've noticed one more thing. If I go to left edge by touchpad, and it's not work, then I try move mouse to the left and it's still don't work until I move mouse to the right and then go back.

I've also noticed that sometimes autohiding panel won't show when i turn on edge desktop change. no matter on what edge it is. I can't reproduce that after relogin.

luebking: what config option?


EDIT: Hey! It's work when i try touch left edge in short moves enough times. So it has to be somehow related whith that tracking activity if i understand it corectly.

EDIT: When moving windows there's no problem, but autohide panel sometimes show's on the right edge of the window ;] but that's other issue
luebking
Karma
0
dirkbester
Registered Member
Posts
3
Karma
0
It is not only a trackpad issue, I get this issue often on my desktop (with mouse) as well: hot corners that do "Desktop Grid" or "Present Windows" stops and starts working for no apparant reason.

A quickfix is running:

Code: Select all
kwin --replace &


Which replace salready-running ICCCM2.0-compliant window manager (from kwin --help). It also doesn't require root privileges. :)
Remember to add the "&", otherwise the window manager will crash when you close the terminal you used for the command.


My system:
Ubuntu 14.10
Qt: 4.8.6
KDE Development Platform: 4.14.1
kde4-config: 1.0
Kernel: 3.16.0-29-generic

This is my first post ever and I just want to put it out there that I am infatuated with KDE. Seriously. ;D
luebking
Karma
0
That'd be a different issue.
Touchpads cause this because warping the cursor fails for some.

Does simply suspending/resuming the compositor (shadows etc.) work as well?
(Press Shift+Alt+F12 to toggle it)

The electric corner could be covered by some other window, eg. an autohiding panel proxy (ie. an input-only window that notices that you want to see the panel)

If this happens the next time, run (from konsole) "xwininfo" and move the cursor (which has now a "+" shape) to the relevant corner and click (once) - then post the printed output.
dirkbester
Registered Member
Posts
3
Karma
0
It happened again today, and I followed your instructions:

Does simply suspending/resuming the compositor (shadows etc.) work as well?
(Press Shift+Alt+F12 to toggle it)


No, that does not fix the issue.

If this happens the next time, run (from konsole) "xwininfo" and move the cursor (which has now a "+" shape) to the relevant corner and click (once) - then post the printed output.


Here is the output:

Code: Select all
 
xwininfo: Window id: 0x1c41126 (has no name)

Absolute upper-left X:  0
  Absolute upper-left Y:  0
  Relative upper-left X:  0
  Relative upper-left Y:  0
  Width: 1
  Height: 1
  Depth: 0
  Visual: 0x21
  Visual Class: TrueColor
  Border width: 0
  Class: InputOnly
  Colormap: 0x0 (not installed)
  Bit Gravity State: ForgetGravity
  Window Gravity State: NorthWestGravity
  Backing Store State: NotUseful
  Save Under State: no
  Map State: IsViewable
  Override Redirect State: yes
  Corners:  +0+0  -3839+0  -3839-1079  +0-1079
  -geometry 1x1+0+0


After runing
Code: Select all
kwin --replace &
the ouput if the above action is:

Code: Select all
xwininfo: Window id: 0x3c002ea (has no name)

  Absolute upper-left X:  0
  Absolute upper-left Y:  0
  Relative upper-left X:  0
  Relative upper-left Y:  0                                                                                                         
  Width: 1                                                                                                                           
  Height: 1                                                                                                                         
  Depth: 0                                                                                                                           
  Visual: 0x21                                                                                                                       
  Visual Class: TrueColor                                                                                                           
  Border width: 0                                                                                                                   
  Class: InputOnly                                                                                                                   
  Colormap: 0x0 (not installed)                                                                                                     
  Bit Gravity State: ForgetGravity                                                                                                   
  Window Gravity State: NorthWestGravity                                                                                             
  Backing Store State: NotUseful                                                                                                     
  Save Under State: no                                                                                                               
  Map State: IsViewable                                                                                                             
  Override Redirect State: yes                                                                                                       
  Corners:  +0+0  -3839+0  -3839-1079  +0-1079                                                                                       
  -geometry 1x1+0+0                                                                                                                 
luebking
Karma
0
That looks much like an active corner 1x1 window ("good")

can you please post the "Screen Edges" section of the output of
Code: Select all
qdbus org.kde.KWin /KWin supportInformation
dirkbester
Registered Member
Posts
3
Karma
0
Sure, here is the output. It is quite long.

Code: Select all
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: 4.11.12
KDE SC version (runtime): 4.14.1
KDE SC version (compile): 4.14.1
Qt Version: 4.8.6

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
showDesktopIsMinimizeAll: false
rollOverDesktops: false
focusStealingPreventionLevel: 1
legacyFullscreenSupport: false
operationTitlebarDblClick:
commandActiveTitlebar1: 0
commandActiveTitlebar2: 30
commandActiveTitlebar3: 2
commandInactiveTitlebar1: 4
commandInactiveTitlebar2: 30
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: 1
unredirectFullscreen: false
glSmoothScale: 2
colorCorrected: false
xrenderSmoothScale: false
maxFpsInterval: 16666666
refreshRate: 0
vBlankTime: 6000000
glDirect: true
glStrictBinding: false
glStrictBindingFollowsDriver: true
glLegacy: false
glCoreProfile: false
glPreferBufferSwap: 101

Screen Edges
============
desktopSwitching: false
desktopSwitchingMovingClients: false
cursorPushBackDistance:
timeThreshold: 0
reActivateThreshold: 100
actionTopLeft: 0
actionTop: 0
actionTopRight: 0
actionRight: 0
actionBottomRight: 0
actionBottom: 0
actionBottomLeft: 0
actionLeft: 0

Screens
=======
Multi-Head: no
Active screen follows mouse:  yes
Number of Screens: 2
Screen 0 Geometry: 0,0,1920x1080
Screen 1 Geometry: 1920,0,1920x1080

Decoration
==========
Current Plugin: kwin3_aurorae
Shadows: yes
Alpha: yes
Announces Alpha: yes
Tabbing: no
Frame Overlap: yes
Blur Behind: yes

Compositing
===========
Qt Graphics System: raster
Compositing is active
Compositing Type: OpenGL
OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD TURKS
OpenGL version string: 3.0 Mesa 10.3.2
OpenGL shading language version string: 1.30
Driver: R600G
GPU class: NI
OpenGL version: 3.0
GLSL version: 1.30
Mesa version: 10.3.2
X server version: 1.16
Linux kernel version: 3.16
Direct rendering: yes
Requires strict binding: no
GLSL shaders:  yes
Texture NPOT support:  yes
Virtual Machine:  no
OpenGL 2 Shaders are used
Painting blocks for vertical retrace:  no

Loaded Effects:
---------------
kwin4_effect_zoom
kwin4_effect_slidingpopups
kwin4_effect_login
kwin4_effect_minimizeanimation
kwin4_effect_screenshot
kwin4_effect_slide
kwin4_effect_desktopgrid
kwin4_effect_translucency
kwin4_effect_maximize
kwin4_effect_fade
kwin4_effect_highlightwindow
kwin4_effect_taskbarthumbnail
kwin4_effect_dialogparent
kwin4_effect_presentwindows
kwin4_effect_blur
kwin4_effect_logout
kwin4_effect_dashboard
kwin4_effect_screenedge
kwin4_effect_startupfeedback
kwin4_effect_kscreen

Currently Active Effects:
-------------------------
kwin4_effect_blur

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

kwin4_effect_slidingpopups:
fadeInTime: 250
fadeOutTime: 250

kwin4_effect_login:

kwin4_effect_minimizeanimation:

kwin4_effect_screenshot:

kwin4_effect_slide:

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

kwin4_effect_translucency:

kwin4_effect_maximize:

kwin4_effect_fade:

kwin4_effect_highlightwindow:

kwin4_effect_taskbarthumbnail:

kwin4_effect_dialogparent:

kwin4_effect_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
dragToClose: false

kwin4_effect_blur:
blurRadius: 12
cacheTexture: true

kwin4_effect_logout:
useBlur: true

kwin4_effect_dashboard:
brightness: 0.5
saturation: 0.5
blur: false

kwin4_effect_screenedge:

kwin4_effect_startupfeedback:

kwin4_effect_kscreen:
luebking
Karma
0
> reActivateThreshold: 100

run "kcmshell4 kwinscreenedges" and increase the reactivation delay (eg. to 300ms > the activation delay value)
The effects toggle from this corner so if the cursor re-enters the corner within 100ms while you're pushing it (what can easily happen, 100ms is not much time) they will deactivate again immediately (and as result, things look like nothing happened)
mganji
Registered Member
Posts
3
Karma
0
hello . i have a problem with hot corners.
present windows in inactive for select.
http://workupload.com/file/7EDfQzv

please help me
quatchis
Registered Member
Posts
1
Karma
0
Restarting Plasma/Kwin didn't work for me. I just experienced this issue with Debian 9 + Plasma and I was able to fix it by switching OpenGL from 3.1 back to 2.0 and it worked. When I switched back to 3.1 it still worked. Weird bug.
michaljanousek
Registered Member
Posts
6
Karma
0
OS
I agree I use Plasma 5.16 Manajro and do not work so in 4K monitor Samsung. Some times it works when you switch between rendering support layers, as written above. So the solution is to use just the right side of the monitor. Fortunately, the grid view also displays a selection of windows.
Now it works again maybe your left side takes a break sometimes :-)


Bookmarks



Who is online

Registered users: abc72656, Bing [Bot], daret, Google [Bot], Sogou [Bot], Yahoo [Bot]