kwin-scripts / kwin-tiling

Tiling script for kwin
GNU General Public License v2.0
1.1k stars 68 forks source link

Turning kwin-tiling on makes KWin crash often #15

Closed piotr-dobrogost closed 10 years ago

piotr-dobrogost commented 10 years ago

After I turned kwin-tiling on Kwin keeps crashing often. Although I installed all available debug symbols ([Install Debug Symbols] button in Crash Reporting Assistant) I can't report issue as I get This crash information is not useful enougth (…) error. I'm attaching traceback I have at the end of this post.

In addition, after turning kwin-tiling on, KDE/Plasma/KWin becomes unresponsive for quite long periods (from a few to several seconds) and generally desktop becomes unusable due to windows not refreshing and/or not changing size properly.

kwin-tiling 1.4 KDE 4.12.2 Fedora 20

I have one desktop and two monitors.

Traceback which is shown in CRA looks like this:

Application: KWin (kwin), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
81  T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7fbaac2d5900 (LWP 1903))]

Thread 2 (Thread 0x7fba9d80e700 (LWP 1909)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x0000003ed6d8f09b in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x3ed708df00 <QTWTF::pageheap_memory>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x0000003ed6d8f0d9 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x0000003eb7207f33 in start_thread (arg=0x7fba9d80e700) at pthread_create.c:309
#4  0x0000003eb6af4ded in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7fbaac2d5900 (LWP 1903)):
[KCrash Handler]
#6  KWin::Client::layoutDecorationRects (this=0x0, left=..., top=..., right=..., bottom=..., mode=mode@entry=KWin::Client::DecorationRelative) at /usr/src/debug/kde-workspace-4.11.6/kwin/client.cpp:554
#7  0x00000032870ffb93 in KWin::PaintRedirector::resizePixmaps (this=0x1711740) at /usr/src/debug/kde-workspace-4.11.6/kwin/paintredirector.cpp:228
#8  0x0000003287069aa0 in KWin::Client::resizeDecoration (this=this@entry=0x19276e0, s=...) at /usr/src/debug/kde-workspace-4.11.6/kwin/client.cpp:670
#9  0x00000032870ae3a8 in KWin::Client::setGeometry (this=this@entry=0x19276e0, x=0, y=0, w=0, h=0, force=force@entry=KWin::NormalGeometrySet) at /usr/src/debug/kde-workspace-4.11.6/kwin/geometry.cpp:1931
#10 0x000000328706c9fb in setGeometry (force=KWin::NormalGeometrySet, r=..., this=0x19276e0) at /usr/src/debug/kde-workspace-4.11.6/kwin/client.h:1216
#11 KWin::Client::qt_metacall (this=0x19276e0, _c=QMetaObject::WriteProperty, _id=7, _a=0x7fff52f8ad60) at /usr/src/debug/kde-workspace-4.11.6/x86_64-redhat-linux-gnu/kwin/client.moc:381
#12 0x0000003ebff8e404 in QMetaProperty::write (this=this@entry=0x7fff52f8ae90, object=object@entry=0x19276e0, value=...) at kernel/qmetaobject.cpp:2364
#13 0x0000003ed6df94aa in QScript::QtPropertyFunction::execute (this=this@entry=0x7fba9c61bf80, exec=exec@entry=0x7fba9c680608, thisValue=..., thisValue@entry=..., args=...) at bridge/qscriptqobject.cpp:1130
#14 0x0000003ed6df96c9 in QScript::QtPropertyFunction::call (exec=0x7fba9c680608, callee=0x7fba9c61bf80, thisValue=..., args=...) at bridge/qscriptqobject.cpp:1065
#15 0x0000003ed6cfdfb0 in QTJSC::NativeFuncWrapper::operator() (this=this@entry=0x7fff52f8b050, exec=exec@entry=0x7fba9c680608, jsobj=0x7fba9c61bf80, thisValue=..., argList=...) at ../3rdparty/javascriptcore/JavaScriptCore/runtime/CallData.cpp:46
#16 0x0000003ed6cfdfff in QTJSC::call (exec=exec@entry=0x7fba9c680608, functionObject=..., callType=<optimized out>, callData=..., thisValue=..., thisValue@entry=..., args=...) at ../3rdparty/javascriptcore/JavaScriptCore/runtime/CallData.cpp:59
#17 0x0000003ed6e027a8 in QScript::QObjectDelegate::put (this=0x1953080, object=0x7fba9c6182c0, exec=0x7fba9c680608, propertyName=..., value=..., slot=...) at bridge/qscriptqobject.cpp:1495
#18 0x0000003ed6cd96df in put (slot=..., value=..., propertyName=..., exec=0x7fba9c680608, this=0x7fff52f8b0f0) at ../3rdparty/javascriptcore/JavaScriptCore/runtime/JSObject.h:658
#19 QTJSC::cti_op_put_by_id_generic (args=0x7fff52f8b140) at ../3rdparty/javascriptcore/JavaScriptCore/jit/JITStubs.cpp:1224
#20 0x00007fba1003d857 in ?? ()
#21 0x00007fba9c680398 in ?? ()
#22 0x00007fba9c6182c0 in ?? ()
#23 0x00007fba0fcfbf90 in ?? ()
#24 0x0000000000000002 in ?? ()
#25 0x00007fba0d7f4ec0 in ?? ()
#26 0x00007fba9c680398 in ?? ()
#27 0x00007fba9cf16688 in ?? ()
#28 0xffff000000000000 in ?? ()
#29 0xffff000000000002 in ?? ()
#30 0x00007fba10060fd0 in ?? ()
#31 0x00007fba9cf3a858 in ?? ()
#32 0x00007fba9c680608 in ?? ()
#33 0x00007fba9cf16688 in ?? ()
#34 0x0000003ed708ddc8 in QTJSC::ExecutableAllocator::pageSize () from /lib64/libQtScript.so.4
#35 0x00007fba9cf15400 in ?? ()
#36 0x00007fff52f8b2e8 in ?? ()
#37 0x00007fff52f8b2e8 in ?? ()
#38 0xffff000000000000 in ?? ()
#39 0x00007fba9cf16688 in ?? ()
#40 0x0000003ed708ddc8 in QTJSC::ExecutableAllocator::pageSize () from /lib64/libQtScript.so.4
#41 0x00007fba9cf3a840 in ?? ()
#42 0x0000003ed6c92a91 in QTJSC::Interpreter::execute (this=0x7fff52f8b1e0, closure=..., exception=0x7fba9c680608) at ../3rdparty/javascriptcore/JavaScriptCore/jit/JITCode.h:79
#43 0x0000003ed6cf935c in call (this=0x7fff52f8b2c0) at ../3rdparty/javascriptcore/JavaScriptCore/interpreter/CachedCall.h:51
#44 QTJSC::arrayProtoFuncForEach (exec=0x7fba9c680398, thisValue=..., args=...) at ../3rdparty/javascriptcore/JavaScriptCore/runtime/ArrayPrototype.cpp:807
#45 0x00007fba100041b4 in ?? ()
#46 0x00007fba9c680350 in ?? ()
#47 0x0000000000000001 in ?? ()
#48 0x00007fba9c680200 in ?? ()
#49 0x00007fba0fdb7310 in ?? ()
#50 0x00007fba00000001 in ?? ()
#51 0x00007fba00000002 in ?? ()
#52 0x00007fba0d7f4e00 in ?? ()
#53 0x00007fba9c680200 in ?? ()
#54 0x00007fba9cf16688 in ?? ()
#55 0xffff000000000000 in ?? ()
#56 0xffff000000000002 in ?? ()
#57 0x00007fba1000ef20 in ?? ()
#58 0x00007fba9cf3a858 in ?? ()
#59 0x00007fba9c680330 in ?? ()
#60 0x00007fba9cf16688 in ?? ()
#61 0x0000003ed708ddc8 in QTJSC::ExecutableAllocator::pageSize () from /lib64/libQtScript.so.4
#62 0x00007fba9cf15400 in ?? ()
#63 0x00007fff52f8b5a8 in ?? ()
#64 0x00007fff52f8b5a8 in ?? ()
#65 0xffff000000000000 in ?? ()
#66 0x00007fba9cf16688 in ?? ()
#67 0x0000003ed708ddc8 in QTJSC::ExecutableAllocator::pageSize () from /lib64/libQtScript.so.4
#68 0x00007fba9cf3a840 in ?? ()
#69 0x0000003ed6c92a91 in QTJSC::Interpreter::execute (this=0x7fff52f8b4a0, closure=..., exception=0x7fba9c680398) at ../3rdparty/javascriptcore/JavaScriptCore/jit/JITCode.h:79
#70 0x0000003ed6cf935c in call (this=0x7fff52f8b580) at ../3rdparty/javascriptcore/JavaScriptCore/interpreter/CachedCall.h:51
#71 QTJSC::arrayProtoFuncForEach (exec=0x7fba9c680200, thisValue=..., args=...) at ../3rdparty/javascriptcore/JavaScriptCore/runtime/ArrayPrototype.cpp:807
#72 0x00007fba100041b4 in ?? ()
#73 0x00007fba9c6801b8 in ?? ()
#74 0x0000000000000001 in ?? ()
#75 0x00007fff52f8b6d0 in ?? ()
#76 0x00007fba0fcf7b60 in ?? ()
#77 0x00007fba100606c8 in ?? ()
#78 0x0000000000000002 in ?? ()
#79 0x00007fff52f8b780 in ?? ()
#80 0x00007fff52f8b720 in ?? ()
#81 0x00007fff52f8b730 in ?? ()
#82 0x0000003ebfe71c2a in ~QByteArray (this=0x7fff52f8b710, __in_chrg=<optimized out>) at ../../src/corelib/tools/qbytearray.h:401
#83 qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=511, msg=0x7fba100606c8 "I\211E\020\351\023\374\377\377H\211\347L\211l$XI\273 \252\315\326>", ap=0x7fba9c680200) at global/qglobal.cpp:2369
#84 0x00007fba9c61a080 in ?? ()
#85 0x00007fba9cf15400 in ?? ()
#86 0x0000000000000018 in ?? ()
#87 0x0000000000000000 in ?? ()
faho commented 10 years ago

I'll have a look at it tomorrow. In the meantime, please don't report this to kwin upstream, I have an idea what it might be caused by and it would be my fault, not theirs.

faho commented 10 years ago

So, this is probably caused by one of three things:

Can you please try the latter?

piotr-dobrogost commented 10 years ago

Do I have to restart anything after installing new version of the script?

faho commented 10 years ago

Yes - kwin --replace should suffice.

piotr-dobrogost commented 10 years ago

After installing 9b8b91a things got better. I did have a few crashes but they are much more seldom. Also windows are more responsive now. If you want I can send traceback next time KWin crashes again.

faho commented 10 years ago

Tracebacks would be nice, but I'll close this issue once I merge the 15 branch as I think the new crashes are unrelated - can you test the new HEAD of that?

piotr-dobrogost commented 10 years ago

I can test whatever you need to be tested. However I'm not sure which head you you refer to.

faho commented 10 years ago

Oops forgot to push - I'm referring to 0dd06bb67da0aa3194186d86798bbd49cad346ec (now in master as I merged already). This one has an attempted fix for what the removed hack tried: Prevent clients (like vlc) from becoming corrupted when their min/maxSize is violated.

piotr-dobrogost commented 10 years ago

And what steps are needed to verify the fix?

faho commented 10 years ago

See that it's no worse than 9b8b91a. If you want to do something extra, see that it does what it's supposed to do:

See that Firefox doesn't size weirdly (i.e. not filling the entire screen) when launched

See that vlc, when playing a video, then switching to no-interface (CTRL+H), resizing it to something small and switching the interface back on (CTRL+H) doesn't "hang" (i.e. not change the display) unless resized back to an "acceptable" size.

piotr-dobrogost commented 10 years ago

Start situation: Firefox maximized and occupies whole screen.

  1. Launch vlc; Firefox is being resized and takes left half of the screen, vlc takes right half of the screen.
  2. Start playback in vlc; vlc resizes itself to fit the video format, elapsed time is stuck at 00:00 and there's only audio (no vision).
  3. Maximize vlc and restore it; now it takes right half of the screen again, and video is shown in the center.
  4. Press ctrl+h, grab lower right corner of vlc window to resize, resize to small size; the moment left mouse button is released vlc window resizes back to half of the screen.
[piotr@demon ~]$ kwin --version
Qt: 4.8.5
KDE Development Platform: 4.12.2
KWin: 4.11.6
[piotr@demon ~]$ vlc --version
VLC media player 2.1.3 Rincewind (revision 2.1.3-0-ge6a71cc)
VLC version 2.1.3 Rincewind (2.1.3-0-ge6a71cc)
(…)
faho commented 10 years ago

vlc resizes itself to fit the video format

Well, I think this is an option that's kinda against tiling, so I'd be okay with breaking it if the only option is breaking numerous other cases.

the moment left mouse button is released vlc window resizes back to half of the screen.

Oh, you'll need to resize another window as KWin won't allow resizing below minSize - I'm not sure what to do about that, though.

In summary: This fixes your crashes and retains the same behaviour as the previous hack, so I'm calling it fixed for now (in git, I may do a release sometime soon).

piotr-dobrogost commented 10 years ago

Oh, you'll need to resize another window as KWin won't allow resizing below minSize - I'm not sure what to do about that, though.

How do you know I resized below minSize? Is minSize global or per window? If the latter do you know minSize value for vlc?

In summary: This fixes your crashes and retains the same behaviour as the previous hack, so I'm calling it fixed for now (in git, I may do a release sometime soon).

Thank you for fixing this.

faho commented 10 years ago

Is minSize global or per window?

Per-window. It's something the client can request.

If the latter do you know minSize value for vlc?

xprop, click open vlc window, see something like

program specified minimum size: 613 by 81

though it could also change and depend on e.g. the video being played.

Thank you for fixing this.

Unfortunately, I just found out that it doesn't quite fix the corruption (see small dolphin windows), though corrupt windows are better than crashes.

faho commented 10 years ago

So, it seems like there is more to this than I initially thought.

Can you give me the following things:

and any other information you might think useful.

faho commented 10 years ago

Please try 1aded34cb6376eb01aaff2427b27. My new suspicion is that violating min/maxSize is breaks kwin, so this commit changes it so we don't do that anymore.

faho commented 10 years ago

Can you confirm that v1.5 (i.e. 1aded34) doesn't have this anymore?

piotr-dobrogost commented 10 years ago

I remember about this issue and will test it later today. Sorry for delay.

piotr-dobrogost commented 10 years ago

Well from the quick look it seems like things do not look ok and I managed to get a crash too. I see pretty wired behavior in some circumstances and need more time to describe them here. Btw, I think it would help if we could start gathering some test scenarios so that we know what we really test. This would allow for testing regressions, too. It would be best to find some tool to automate these tests…

faho commented 10 years ago

Well from the quick look it seems like things do not look ok and I managed to get a crash too.

Ah crap. I've run this version for two weeks without problems, including occasional torturing.

Is it the same crash (i.e. in KWin::Client::layoutDecorationRects)? What's your window decoration?

This would allow for testing regressions, too. It would be best to find some tool to automate these tests…

I've thought about it, but I'm not quite sure how it's supposed to work. Just launching clients wouldn't be enough, we'd need a tool to essentially "robotize" X11, something like autokey might suffice.

piotr-dobrogost commented 10 years ago

Is it the same crash (i.e. in KWin::Client::layoutDecorationRects)? What's your window decoration?

Yes, it's the same. I have default window decoration – Oxygen.

Answering your earlier question about contents of kwinrc:

$ cat $(kde4-config --localprefix)share/config/kwinrc
[$Version]
update_info=kwin_remove_effects.upd:kwin4.7_effects

[Compositing]
AnimationSpeed=2
Backend=OpenGL
Enabled=true
GLColorCorrection=false
GLCore=true
GLLegacy=false
GLPreferBufferSwap=a
GLTextureFilter=2
GraphicsSystem=native
HiddenPreviews=5
OpenGLIsUnsafe=false
UnredirectFullscreen=false
XRenderSmoothScale=false

[Desktops]
Number=2
Rows=1

[Effect-BoxSwitch]
TabBox=false
TabBoxAlternative=false

[Effect-CoverSwitch]
TabBox=false
TabBoxAlternative=false

[Effect-Cube]
BorderActivate=9
BorderActivateCylinder=9
BorderActivateSphere=9

[Effect-DesktopGrid]
BorderActivate=1,3

[Effect-FlipSwitch]
TabBox=false
TabBoxAlternative=false

[Effect-PresentWindows]
BorderActivate=9
BorderActivateAll=7
BorderActivateClass=9

[Effect-Zoom]
InitialZoom=1

[ElectricBorders]
Bottom=None
BottomLeft=ShowDesktop
BottomRight=None
Left=None
Right=None
Top=None
TopLeft=None
TopRight=None

[MouseBindings]
CommandActiveTitlebar1=Raise
CommandActiveTitlebar2=Start window tab drag
CommandActiveTitlebar3=Operations menu
CommandAll1=Move
CommandAll2=Toggle raise and lower
CommandAll3=Resize
CommandAllKey=Alt
CommandAllWheel=Nothing
CommandInactiveTitlebar1=Activate and raise
CommandInactiveTitlebar2=Start window tab drag
CommandInactiveTitlebar3=Operations menu
CommandTitlebarWheel=Switch to Window Tab to the Left/Right
CommandWindow1=Activate, raise and pass click
CommandWindow2=Activate and pass click
CommandWindow3=Activate and pass click
CommandWindowWheel=Scroll

[Plugins]
desktopchangeosdEnabled=true
kwin-script-tilingEnabled=true
kwin4_effect_blurEnabled=true
kwin4_effect_coverswitchEnabled=true
kwin4_effect_cubeEnabled=false
kwin4_effect_cubeslideEnabled=false
kwin4_effect_dashboardEnabled=true
kwin4_effect_desktopgridEnabled=true
kwin4_effect_dialogparentEnabled=true
kwin4_effect_diminactiveEnabled=false
kwin4_effect_dimscreenEnabled=false
kwin4_effect_fadeEnabled=true
kwin4_effect_fadedesktopEnabled=false
kwin4_effect_fallapartEnabled=false
kwin4_effect_flipswitchEnabled=true
kwin4_effect_glideEnabled=false
kwin4_effect_highlightwindowEnabled=true
kwin4_effect_invertEnabled=false
kwin4_effect_kscreenEnabled=true
kwin4_effect_loginEnabled=true
kwin4_effect_logoutEnabled=true
kwin4_effect_lookingglassEnabled=false
kwin4_effect_magiclampEnabled=false
kwin4_effect_magnifierEnabled=false
kwin4_effect_maximizeEnabled=true
kwin4_effect_minimizeanimationEnabled=true
kwin4_effect_mouseclickEnabled=false
kwin4_effect_mousemarkEnabled=false
kwin4_effect_presentwindowsEnabled=true
kwin4_effect_resizeEnabled=false
kwin4_effect_scaleinEnabled=false
kwin4_effect_screenedgeEnabled=true
kwin4_effect_screenshotEnabled=true
kwin4_effect_sheetEnabled=false
kwin4_effect_showfpsEnabled=false
kwin4_effect_showpaintEnabled=false
kwin4_effect_slideEnabled=false
kwin4_effect_slidebackEnabled=false
kwin4_effect_slidingpopupsEnabled=true
kwin4_effect_snaphelperEnabled=false
kwin4_effect_startupfeedbackEnabled=true
kwin4_effect_taskbarthumbnailEnabled=true
kwin4_effect_thumbnailasideEnabled=false
kwin4_effect_trackmouseEnabled=false
kwin4_effect_translucencyEnabled=true
kwin4_effect_windowgeometryEnabled=false
kwin4_effect_wobblywindowsEnabled=false
kwin4_effect_zoomEnabled=true
synchronizeskipswitcherEnabled=false
videowallEnabled=false

[Script-desktopchangeosd]
PopupHideDelay=1000
TextOnly=true

[SubSession: c86ab620-8fbc-45dd-a7eb-720a33493976]
active=-1
activities1=c86ab620-8fbc-45dd-a7eb-720a33493976
activities2=c86ab620-8fbc-45dd-a7eb-720a33493976
count=2
desktop1=1
desktop2=1
fsrestore1=0,0,0,0
fsrestore2=0,0,0,0
fullscreen1=0
fullscreen2=0
geometry1=2520,0,836,988
geometry2=1680,0,840,995
iconified1=true
iconified2=true
keepBelow1=true
keepBelow2=true
maximize1=1
maximize2=3
opacity1=1
opacity2=1
resourceClass1=krusader
resourceClass2=konsole
resourceName1=krusader
resourceName2=konsole
restore1=1680,0,1680,1015
restore2=1680,0,844,1022
sessionId1=10d2656d6f000139301054200000014460025
sessionId2=10d2656d6f000139301055400000014460026
shaded1=false
shaded2=false
shortcut1=
shortcut2=
skipPager1=false
skipPager2=false
skipSwitcher1=false
skipSwitcher2=false
skipTaskbar1=false
skipTaskbar2=false
stackingOrder1=3
stackingOrder2=2
staysOnTop1=false
staysOnTop2=false
sticky1=false
sticky2=false
tabGroup1=0
tabGroup2=0
userNoBorder1=false
userNoBorder2=false
windowRole1=mainwindow#1
windowRole2=mainwindow#1
windowType1=Normal
windowType2=Normal
wmCommand1=/usr/bin/krusader
wmCommand2=/usr/bin/konsole

[TabBox]
ActivitiesMode=1
ApplicationsMode=0
BorderActivate=9
BorderAlternativeActivate=9
DesktopMode=1
HighlightWindows=true
LayoutName=present_windows
ListMode=0
MinimizedMode=0
MultiScreenMode=0
ShowDesktopMode=0
ShowTabBox=false
SwitchingMode=0

[TabBoxAlternative]
ActivitiesMode=1
ApplicationsMode=0
DesktopMode=1
HighlightWindows=true
LayoutName=thumbnails
MinimizedMode=0
MultiScreenMode=0
ShowDesktopMode=0
ShowTabBox=true
SwitchingMode=0

[Windows]
ActiveMouseScreen=false
AutoRaise=false
AutogroupInForeground=true
AutogroupSimilarWindows=false
CenterSnapZone=0
ClickRaise=true
DelayFocusInterval=300
ElectricBorderCooldown=350
ElectricBorderCornerRatio=0.25
ElectricBorderDelay=150
ElectricBorderMaximize=true
ElectricBorderTiling=true
ElectricBorders=1
FocusStealingPreventionLevel=1
GeometryTip=false
HideUtilityWindowsForInactive=true
InactiveTabsSkipTaskbar=false
MaximizeButtonLeftClickCommand=Maximize
MaximizeButtonMiddleClickCommand=Maximize (vertical only)
MaximizeButtonRightClickCommand=Maximize (horizontal only)
NextFocusPrefersMouse=false
Placement=Smart
RollOverDesktops=true
SeparateScreenFocus=false
ShadeHover=false
ShadeHoverInterval=250
SnapOnlyWhenOverlapping=false
TitlebarDoubleClickCommand=Maximize

As to videodriver I do not know how to check this.

faho commented 10 years ago

Okay, it works for me with your kwinrc (and I also use Oxygen).

Did you specify any kwin rules (i.e. is there anything in kwinrulesrc?)

As to videodriver I do not know how to check this.

lspci -vnn, look for "VGA compatible controller" and the line "Kernel driver in use".

For the record, this is my kwinrc:

[Compositing]
AnimationSpeed=2
Backend=OpenGL
Enabled=true
GLColorCorrection=false
GLCore=false
GLLegacy=false
GLPreferBufferSwap=a
GLTextureFilter=0
GLVSync=true
GraphicsSystem=native
HiddenPreviews=5
OpenGLIsUnsafe=false
UnredirectFullscreen=false
XRenderSmoothScale=false

[Desktops]
Name_1=alfa
Name_2=bravo
Name_3=charlie
Name_4=delta
Name_5=echo
Name_6=foxtrot
Name_7=golf
Name_8=hotel
Number=8
Rows=4

[Effect-CoverSwitch]
TabBox=false
TabBoxAlternative=false

[Effect-Cube]
BorderActivate=9
BorderActivateCylinder=9
BorderActivateSphere=9

[Effect-DesktopGrid]
BorderActivate=7

[Effect-DimInactive]
Strength=20

[Effect-FlipSwitch]
TabBox=false
TabBoxAlternative=false

[Effect-PresentWindows]
BorderActivate=9
BorderActivateAll=9
BorderActivateClass=9

[Effect-Zoom]
InitialZoom=1

[Effect-kwin4_effect_translucency]
MoveResize=88

[ElectricBorders]
Bottom=None
BottomLeft=None
BottomRight=None
Left=None
Right=None
Top=None
TopLeft=None
TopRight=None

[MouseBindings]
CommandActiveTitlebar1=Raise
CommandActiveTitlebar2=Start window tab drag
CommandActiveTitlebar3=Operations menu
CommandAll1=Move
CommandAll2=Toggle raise and lower
CommandAll3=Resize
CommandAllKey=Alt
CommandAllWheel=Nothing
CommandInactiveTitlebar1=Activate and raise
CommandInactiveTitlebar2=Start window tab drag
CommandInactiveTitlebar3=Operations menu
CommandTitlebarWheel=Switch to Window Tab to the Left/Right
CommandWindow1=Activate, raise and pass click
CommandWindow2=Activate and pass click
CommandWindow3=Activate and pass click
CommandWindowWheel=Scroll

[Plugins]
ShimmerEnabled=true
clientArea-testEnabled=false
demandsattentioncurrentdesktopEnabled=true
desktopchangeosdEnabled=false
gamemodeEnabled=false
kwin-script-tilingEnabled=true
kwin4_effect_blurEnabled=false
kwin4_effect_boxswitchEnabled=false
kwin4_effect_coverswitchEnabled=true
kwin4_effect_cubeEnabled=false
kwin4_effect_cubeslideEnabled=false
kwin4_effect_dashboardEnabled=false
kwin4_effect_desktopgridEnabled=true
kwin4_effect_dialogparentEnabled=true
kwin4_effect_diminactiveEnabled=false
kwin4_effect_dimscreenEnabled=false
kwin4_effect_explosionEnabled=false
kwin4_effect_fadeEnabled=false
kwin4_effect_fadedesktopEnabled=false
kwin4_effect_fallapartEnabled=false
kwin4_effect_flipswitchEnabled=false
kwin4_effect_glideEnabled=false
kwin4_effect_highlightwindowEnabled=true
kwin4_effect_invertEnabled=false
kwin4_effect_kscreenEnabled=true
kwin4_effect_loginEnabled=false
kwin4_effect_logoutEnabled=false
kwin4_effect_lookingglassEnabled=false
kwin4_effect_magiclampEnabled=false
kwin4_effect_magnifierEnabled=false
kwin4_effect_maximizeEnabled=false
kwin4_effect_minimizeanimationEnabled=false
kwin4_effect_mouseclickEnabled=false
kwin4_effect_mousemarkEnabled=false
kwin4_effect_outlineEnabled=true
kwin4_effect_presentwindowsEnabled=true
kwin4_effect_resizeEnabled=false
kwin4_effect_scaleinEnabled=false
kwin4_effect_screenedgeEnabled=true
kwin4_effect_screenshotEnabled=false
kwin4_effect_sheetEnabled=false
kwin4_effect_showfpsEnabled=false
kwin4_effect_showpaintEnabled=false
kwin4_effect_slideEnabled=false
kwin4_effect_slidebackEnabled=false
kwin4_effect_slidingpopupsEnabled=true
kwin4_effect_snaphelperEnabled=false
kwin4_effect_startupfeedbackEnabled=false
kwin4_effect_taskbarthumbnailEnabled=true
kwin4_effect_thumbnailasideEnabled=false
kwin4_effect_trackmouseEnabled=false
kwin4_effect_translucencyEnabled=true
kwin4_effect_windowgeometryEnabled=false
kwin4_effect_wobblywindowsEnabled=false
kwin4_effect_zoomEnabled=true
lowerActiveWindowEnabled=false
ministackEnabled=true
steadyScreenEnabled=false
synchronizeskipswitcherEnabled=false
tilingEnabled=false
videowallEnabled=false
workflowEnabled=false

[Script-Shimmer]
shimmerApp=konsole

[Script-desktopchangeosd]
PopupHideDelay=1000
TextOnly=false

[Script-kwin-script-tiling]
defaultLayouts=1:SpiralLayout,2:HalfLayout,-8:
floaters=Plasma-desktop,klipper,WormsReloaded.bin.x86,yakuake,krunner,Plasma,plasma-desktop,plugin-container,Wine
layouts=3:BladeLayout,1:HalfLayout,-8:

[Style]
BorderSize=1
ButtonsOnLeft=NM
ButtonsOnRight=IA_X
CustomButtonPositions=true
PluginLib=kwin3_oxygen
ShowToolTips=true

[TabBox]
ActivitiesMode=1
ApplicationsMode=0
BorderActivate=9
BorderAlternativeActivate=9
DesktopMode=0
HighlightWindows=false
LayoutMode=0
LayoutName=presentwindowsclone
MinHeight=20
MinWidth=20
MinimizedMode=0
MultiScreenMode=0
SelectedLayoutName=Text
ShowDesktopMode=0
ShowOutline=false
ShowTabBox=true
SwitchingMode=1

[TabBoxAlternative]
ActivitiesMode=1
ApplicationsMode=0
DesktopMode=1
HighlightWindows=true
LayoutMode=0
LayoutName=thumbnails
MinHeight=20
MinWidth=20
MinimizedMode=0
MultiScreenMode=0
SelectedLayoutName=Text
ShowDesktopMode=0
ShowOutline=true
ShowTabBox=true
SwitchingMode=0

[Windows]
ActiveMouseScreen=true
AutoRaise=false
AutoRaiseInterval=50
AutogroupInForeground=false
AutogroupSimilarWindows=false
BorderSnapZone=0
CenterSnapZone=0
ClickRaise=false
DelayFocusInterval=0
ElectricBorderCooldown=350
ElectricBorderCornerRatio=0.25
ElectricBorderDelay=200
ElectricBorderMaximize=false
ElectricBorderTiling=false
ElectricBorders=1
FocusPolicy=FocusFollowsMouse
FocusStealingPreventionLevel=0
GeometryTip=false
HideUtilityWindowsForInactive=false
InactiveTabsSkipTaskbar=false
MaximizeButtonLeftClickCommand=Maximize
MaximizeButtonMiddleClickCommand=Maximize (vertical only)
MaximizeButtonRightClickCommand=Maximize (horizontal only)
MoveResizeMaximizedWindows=false
NextFocusPrefersMouse=true
Placement=Smart
RollOverDesktops=true
SeparateScreenFocus=false
ShadeHover=false
ShadeHoverInterval=250
SnapOnlyWhenOverlapping=false
TilingDefaultLayout=0
TilingOn=false
TilingRaisePolicy=0
TitlebarDoubleClickCommand=Maximize
WindowSnapZone=0
faho commented 10 years ago

Bump?

How's current git master (i.e. f60457f4e28d92629d9fd50f8bbb619a8c0e22f9)?

greeny277 commented 10 years ago

Sometimes when I click on maximize/minimize button in tiling mode kwin freezes. Where can i find traceback on another tty. Kwin dont show any error messages after restarting lightdm. Accordingly to this i didn't find any usable messages in /var/log/* or ~/.xsession-errors.

faho commented 10 years ago

So, first of all, that's a different bug (freezing vs crashing). Please file a new issue.

Secondly, you should enable all debug output in kdebugdialog and then check .xsession-errors again. I'd also like to know your kwin version (kwin --version) and distribution, graphics hardware etc. (Unfortunately freezes are the kind of thing where it's likely that you won't get any output)

Since I haven't seen any more indication that crashes are happening and haven't been able to reproduce it myself, I'll close this bug. (Of course, if you get crashes, feel free to reopen this one or file a new one).