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

ksnapshot window remains hidden

Tags: None
(comma "," separated)
User avatar
frasty
Registered Member
Posts
125
Karma
0
OS

ksnapshot window remains hidden

Fri Apr 12, 2013 12:18 pm
Hi, whenever I try to get a snapshot of the screen, ksnapshot window gets hidden and doesn't reappear after the snapshot is taken.
I have this misbehavior only if I use a three monitor setup. If monitors are only two, ksnapshot behaves normally. Do you know any workaround?


Fedora 32
Plasma 5.19.2
User avatar
frasty
Registered Member
Posts
125
Karma
0
OS

Re: ksnapshot window remains hidden

Fri Apr 12, 2013 12:24 pm
frasty wrote:Hi, whenever I try to get a snapshot of the screen, ksnapshot window gets hidden and doesn't reappear after the snapshot is taken.
I have this misbehavior only if I use a three monitor setup. If monitors are only two, ksnapshot behaves normally. Do you know any workaround?


actually kgrab works without problems :)


Fedora 32
Plasma 5.19.2
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: ksnapshot window remains hidden

Sun Apr 14, 2013 7:31 am
Does the window appear in Alt + Tab or any other list of windows? It could be minimized.
Also, please check on other virtual desktops or activities as it could be hiding there instead.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
frasty
Registered Member
Posts
125
Karma
0
OS

Re: ksnapshot window remains hidden

Tue Apr 16, 2013 10:34 pm
bcooksley wrote:Does the window appear in Alt + Tab or any other list of windows? It could be minimized.
Also, please check on other virtual desktops or activities as it could be hiding there instead.


No, there isn't in either places.
It does appear listed in the running windows of krunner, but if I click over "activate running window on desktop 1" it actually doesn't do anything.


Fedora 32
Plasma 5.19.2
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: ksnapshot window remains hidden

Wed Apr 17, 2013 3:20 am
That is quite unusual. This seems to be a KWin issue as such, so i'm going to move this to the KWin forum.
Can you please provide some information on the layout of your desktop, particularly in regard to the value of "$DISPLAY" from a terminal run on each screen, and the output of "qdbus org.kde.KWin /KWin supportInformation"?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
luebking
Karma
0

Re: ksnapshot window remains hidden

Wed Apr 17, 2013 9:04 pm
cause ksnapshot to be hidden.
next from konsole run
Code: Select all
xwininfo -tree -root | grep KSnapshot

This will (hopefully) print a line like
0x16005f7 "image.jpg [modified] – KSnapshot": ("ksnapshot" "Ksnapshot") 382x504+0+0 +449+367

post the output of
Code: Select all
xwininfo -id 0x16005f7
(replace 0x16005f7 with the actual value)
User avatar
frasty
Registered Member
Posts
125
Karma
0
OS

Re: ksnapshot window remains hidden

Tue Apr 23, 2013 11:22 am
ksnapshot window currently hidden:
Code: Select all
$ xwininfo -tree -root|grep -i ksnapshot
     0x1e02e12 "ksnapshot": ("ksnapshot" "Ksnapshot")  960x480+0+0  +0+0
     0x1e01c39 (has no name): ("ksnapshot" "Ksnapshot")  451x102+897+1754  +897+1754
     0x1e00147 "ksnapshot": ("ksnapshot" "Ksnapshot")  960x480+-10000+-10000  +-10000+-10000
     0x1e00132 "ksnapshot": ("ksnapshot" "Ksnapshot")  960x480+0+0  +0+0
     0x1e0012b "ksnapshot": ("ksnapshot" "Ksnapshot")  960x480+0+0  +0+0
           0x46f5a7d "ksnapshot window remains hidden • KDE Community Forums - Chromium": ("chromium-browser" "Chromium-browser")  1920x1145+0+0  +0+1100
           0x1e00142 "pfsense-states9.png [modificato] – KSnapshot": ("ksnapshot" "Ksnapshot")  941x742+0+0  +489+1301

Code: Select all
$ xwininfo -id 0x1e00142

xwininfo: Window id: 0x1e00142 "pfsense-states9.png [modificato] – KSnapshot"

  Absolute upper-left X:  489
  Absolute upper-left Y:  1301
  Relative upper-left X:  0
  Relative upper-left Y:  0
  Width: 941
  Height: 742
  Depth: 24
  Visual: 0x23
  Visual Class: TrueColor
  Border width: 0
  Class: InputOutput
  Colormap: 0x20 (installed)
  Bit Gravity State: NorthWestGravity
  Window Gravity State: NorthWestGravity
  Backing Store State: NotUseful
  Save Under State: no
  Map State: IsViewable
  Override Redirect State: no
  Corners:  +489+1301  -1540+1301  -1540-437  +489-437
  -geometry 941x742+487+1278


Code: Select all
$qdbus org.kde.KWin /KWin supportInformation
Version
=======
KWin version: 4.10.2
KDE SC version (runtime): 4.10.2
KDE SC version (compile): 4.10.2
Qt Version: 4.8.3

Options
=======
focusPolicy: 1
nextFocusPrefersMouse: true
clickRaise: true
autoRaise: false
autoRaiseInterval: 750
delayFocusInterval: 550
shadeHover: false
shadeHoverInterval: 250
separateScreenFocus: true
activeMouseScreen: true
placement: 8
focusPolicyIsReasonable: true
borderSnapZone: 10
windowSnapZone: 10
centerSnapZone: 0
snapOnlyWhenOverlapping: false
showDesktopIsMinimizeAll: false
rollOverDesktops: true
focusStealingPreventionLevel: 1
legacyFullscreenSupport: false
operationTitlebarDblClick:
commandActiveTitlebar1: 0
commandActiveTitlebar2: 3
commandActiveTitlebar3: 2
commandInactiveTitlebar1: 4
commandInactiveTitlebar2: 3
commandInactiveTitlebar3: 2
commandWindow1: 7
commandWindow2: 6
commandWindow3: 8
commandWindowWheel: 31
commandAll1: 10
commandAll2: 3
commandAll3: 14
keyCmdAllModKey: 16777251
showGeometryTip: false
condensedTitle: false
electricBorders: false
electricBorderDelay: 150
electricBorderCooldown: 350
electricBorderPushbackPixels: 1
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: true
glSmoothScale: 1
glVSync: false
colorCorrected: true
xrenderSmoothScale: false
maxFpsInterval: 17
refreshRate: 0
vBlankTime: 6144
glDirect: false
glStrictBinding: true
glStrictBindingFollowsDriver: true
glLegacy: true

Screens
=======
Multi-Head: no
Number of Screens: 3
Screen 0 Geometry: 0,1080,1920x1200
Screen 1 Geometry: 0,0,1920x1080
Screen 2 Geometry: 1920,800,1050x1680
Compositing is active
Compositing Type: OpenGL
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: ATI Radeon HD 5700 Series
OpenGL version string: 2.1 (4.2.11995 Compatibility Profile Context)
Driver: Catalyst
Driver version: 2.1
GPU class: EVERGREEN
OpenGL version: 2.1
X server version: 1.13
Linux kernel version: 3.5
Direct rendering: no
Requires strict binding: yes
GLSL shaders:  no
Texture NPOT support:  yes
Virtual Machine:  no
OpenGL 2 Shaders are not used. Legacy OpenGL 1.x code path is used.

Loaded Effects:
---------------
kwin4_effect_mousemark
kwin4_effect_zoom
kwin4_effect_dimscreen
kwin4_effect_login
kwin4_effect_slidingpopups
kwin4_effect_wobblywindows
kwin4_effect_slideback
kwin4_effect_slide
kwin4_effect_coverswitch
kwin4_effect_boxswitch
kwin4_effect_screenshot
kwin4_effect_translucency
kwin4_effect_minimizeanimation
kwin4_effect_desktopgrid
kwin4_effect_flipswitch
kwin4_effect_maximize
kwin4_effect_resize
kwin4_effect_dialogparent
kwin4_effect_taskbarthumbnail
kwin4_effect_highlightwindow
kwin4_effect_presentwindows
kwin4_effect_dashboard
kwin4_effect_logout
kwin4_effect_startupfeedback
kwin4_effect_outline

Currently Active Effects:
kwin4_effect_mousemark

Effect Settings:
----------------
kwin4_effect_mousemark:
width: 3
color: #ff0000

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

kwin4_effect_dimscreen:

kwin4_effect_login:
fadeToBlack: false

kwin4_effect_slidingpopups:
fadeInTime: 250
fadeOutTime: 250

kwin4_effect_wobblywindows:
stiffness: 0.15
drag: 0.8
moveFactor: 0.1
xTesselation: 20
yTesselation: 20
minVelocity: 0
maxVelocity: 1000
stopVelocity: 0.5
minAcceleration: 0
maxAcceleration: 1000
stopAcceleration: 0.5
moveEffectEnabled: true
openEffectEnabled: false
closeEffectEnabled: false
moveWobble: true
resizeWobble: true

kwin4_effect_slideback:

kwin4_effect_slide:
:
kwin4_effect_coverswitch:
animationDuration: 200
animateSwitch: true
animateStart: true
animateStop: true
reflection: true
windowTitle: true
zPosition: 900
dynamicThumbnails: false
thumbnailWindows: 8
primaryTabBox: true
secondaryTabBox: false

kwin4_effect_boxswitch:

kwin4_effect_screenshot:

kwin4_effect_translucency:
decoration: 1
moveResize: 0.8
dialogs: 1
inactive: 1
comboboxPopups: 1
menus: 1
individualMenuConfig: false
dropDownMenus: 1
popupMenus: 1
tornOffMenus: 1

kwin4_effect_minimizeanimation:

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

kwin4_effect_flipswitch:
tabBox: false
tabBoxAlternative: false
duration: 200
angle: 30
xPosition: 0.330000013113022
yPosition: 1
windowTitle: true
yPosition: 1
windowTitle: true

kwin4_effect_maximize:

kwin4_effect_resize:
textureScale: true
outline: false

kwin4_effect_dialogparent:
changeTime: 300

kwin4_effect_taskbarthumbnail:

kwin4_effect_highlightwindow:

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_dashboard:
brightness: 0.5
saturation: 0.5
blur: false

kwin4_effect_logout:
useBlur: true

kwin4_effect_startupfeedback:

kwin4_effect_outline:



Code: Select all
$ xrandr
Screen 0: minimum 320 x 200, current 2970 x 2480, maximum 2970 x 2480
DFP1 connected 1920x1200+0+1080 (normal left inverted right x axis y axis) 518mm x 324mm
   1920x1200      60.0*+
   1920x1080      60.0 
   1600x1200      60.0 
   1680x1050      60.0 
   1400x1050      60.0 
   1600x900       60.0 
   1360x1024      60.0 
   1280x1024      60.0 
   1440x900       60.0 
   1280x960       60.0 
   1280x800       60.0 
   1280x768       60.0 
   1280x720       60.0 
   1024x768       60.0 
   800x600        60.3 
   640x480        59.9 
DFP2 disconnected (normal left inverted right x axis y axis)
DFP3 disconnected (normal left inverted right x axis y axis)
DFP4 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 510mm x 290mm
   1920x1080      60.0*+
   1680x1050      60.0 
   1400x1050      60.0 
   1600x900       60.0 
   1360x1024      60.0 
   1280x1024      60.0 
   1440x900       60.0 
   1280x960       60.0 
   1152x864       60.0 
   1280x768       60.0 
   1280x720       60.0 
   1024x768       60.0 
   800x600        60.3 
   640x480        59.9 
CRT1 disconnected (normal left inverted right x axis y axis)
CRT2 connected 1050x1680+1920+800 right (normal left inverted right x axis y axis) 450mm x 300mm
   1680x1050      60.0*+
   1400x1050      60.0 
   1600x900       60.0 
   1360x1024      60.0 
   1280x1024      75.0     60.0 
   1440x900       59.9 
   1280x960       60.0 
   1280x800       59.8 
   1152x864       60.0     75.0 
   1280x768       59.8 
   1280x720       59.8 
   1024x768       75.0     70.1     60.0 
   800x600        72.2     75.0     60.3     56.2 
   640x480        75.0     72.8     67.0     59.9 


Fedora 32
Plasma 5.19.2
User avatar
frasty
Registered Member
Posts
125
Karma
0
OS

Re: ksnapshot window remains hidden

Tue Apr 23, 2013 11:38 am
Anyhow, after deleting ksnapshotrc the hidden window problem is gone.


Fedora 32
Plasma 5.19.2
luebking
Karma
0

Re: ksnapshot window remains hidden

Tue Apr 23, 2013 12:01 pm
> xwininfo -id 0x1e00142
> Map State: IsViewable
> Override Redirect State: no
> -geometry 941x742+487+1278
The window should appear (and be managed) on DFP1
It still might explicitly or by rule bypass the tabbox, though.


-> Either the texture is void (try suspending compositing "Shift+Alt+F12", in case it happens again) or the window is falsely stacked below the desktop ("kquitapp plasma-desktop")


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot], q.ignora, watchstar