- 14 Mar, 2018 1 commit
-
-
Vlad Zahorodnii authored
Summary: Seems like this override/assignment was introduced in edb0751c. Following that commit, 450be6a3 introduced `levels` param so we could tell whether mipmaps are going to be used. And it seems like this assignment hadn't been deleted in that commit. Reviewers: #kwin, fredrik Reviewed By: fredrik Subscribers: kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D11301
-
- 11 Mar, 2018 1 commit
-
-
Martin Flöser authored
Summary: The window rules dialog did not properly detect the wayland windows. So I investigated what ICCCM writes about the WM_CLASS property (which is the base for window rule matching) and checked how ShellClient maps to it. Basically name and class was swapped and the reason for the detection not working properly. As we don't have a proper name, the code is adjusted to generate a name by using the executable name. This is also what WM_CLASS should be filled with, according to ICCCM. Test Plan: Rules dialog detects the name and class correctly Reviewers: #kwin, #plasma Subscribers: kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D11023
-
- 10 Mar, 2018 1 commit
-
-
Friedrich W. H. Kossebau authored
-
- 06 Mar, 2018 2 commits
-
-
Bhushan Shah authored
-
Bhushan Shah authored
Summary: qopengl.h redeclares the functions defined in the epoxy/gl.h and it results in the build error. this is similar to other .cpp files where epoxy/gl.h is used. See: https://build.neon.kde.org/job/xenial_unstable_plasma_kwin_bin_armhf/157 Reviewers: #plasma, graesslin Reviewed By: #plasma, graesslin Subscribers: plasma-devel, kwin, #kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D10762
-
- 05 Mar, 2018 5 commits
-
-
Fabian Vogt authored
-
Fabian Vogt authored
Summary: The Qt Wayland support for subsurfaces is broken in many ways, producing graphical glitches and crashes: https://bugreports.qt.io/browse/QTBUG-54888 for instance. Using a QQuickWidget instead of a QQuickView avoids those issues, with the additional benefit of a nicer API. Test Plan: Opened the KCM with kcmshell and systemsettings, no subsurfaces used anymore. Reviewers: #plasma, graesslin, davidedmundson Reviewed By: #plasma, graesslin, davidedmundson Subscribers: kwin, plasma-devel, #kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D11066
-
Martin Flöser authored
-
Martin Flöser authored
Summary: When one uses: * breeze as of 5.12 * wobbly windows * shaded window * a distribution building with assert enabled and starts to move a shaded window, KWin asserts. The root cause for this is that WindowQuad::makeSubQuad has an assert for y1 being smaller than y2. With the combination listed above this is not guaranteed. For the left shadow quad the y1 and y2 are identical and thus trying to split it, results in the assert condition. The problem of the shadow quad having an invalid size might be addressed as well with D10811. Due to that the generation of the quads is not touched. Instead a sanity check is introduced to not try to split already invalid sized quads. BUG: 390953 FIXED-IN: 5.12.3 Test Plan: Added unit test hit the assert, now doesn't hit it any more Reviewers: #kwin, #plasma Subscribers: kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D11015
-
Fabian Vogt authored
Summary: Quickly fix it before anyone relies on this typo. Test Plan: None. Yes, really untested. Reviewers: #plasma, graesslin, davidedmundson Reviewed By: #plasma, davidedmundson Subscribers: kwin, plasma-devel, #kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D11047
-
- 04 Mar, 2018 6 commits
-
-
Martin Flöser authored
Got disabled in 5.12 branch, but is functional in master.
-
Martin Flöser authored
-
Martin Flöser authored
-
Martin Flöser authored
Summary: The detect functionality is still extremely bound to X11 and results in a crash when clicked. Thus it's better to disable it completely in 5.12 on Wayland. Test Plan: Button disabled on Wayland, enabled on X11 Reviewers: #kwin, #plasma Subscribers: plasma-devel, kwin Tags: #plasma Differential Revision: https://phabricator.kde.org/D10642
-
Martin Flöser authored
Summary: If the cursor theme failed to create KWin crashed due to an endless recursion. There are two reasons for this fault: 1) When the physical size does not exist we perform a division by 0 which results in an invalid size going into wl_cursor_theme_load 2) We emit the signal that the cursor theme changed even if it didn't change thus creating an endless recursion This change addresses both problems: it checks that the size is not 0 and changes the handling for theme update to only destroy the previous theme if the new theme could be created and only emits the signal if things change. BUG: 390314 FIXED-IN: 5.12.3 Test Plan: Added a new test case which crashed with old code Reviewers: #kwin, #plasma Subscribers: plasma-devel, kwin Tags: #plasma Differential Revision: https://phabricator.kde.org/D10549
-
Martin Flöser authored
Summary: This fixes the problem that alt+lmb did not start unrestricted move resize for the Debug Console. BUG: 374880 FIXED-IN: 5.12.3 Test Plan: New test case and manual testing whether alt+lmb/rmb works Reviewers: #kwin, #plasma Subscribers: plasma-devel, kwin Tags: #plasma Differential Revision: https://phabricator.kde.org/D10440
-
- 03 Mar, 2018 1 commit
-
-
Script Kiddy authored
In case of conflict in i18n, keep the version of the branch "ours" To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
-
- 01 Mar, 2018 1 commit
-
-
Fabian Vogt authored
-
- 28 Feb, 2018 1 commit
-
-
Fabian Vogt authored
-
- 27 Feb, 2018 2 commits
-
-
Martin Flöser authored
-
Martin Flöser authored
This is an attempt to get some tests failing on the CI due to not finding icons fixed. See T8082
-
- 25 Feb, 2018 6 commits
-
-
Martin Flöser authored
Summary: This call is added for the window rules kcm which has a detect functionality. As that detect functionality cannot query any Wayland windows we need to have some functionality in KWin core. Furthermore this allows to simplify the code in the kcm as all the custom X11 interaction can be removed. KWin internally has the functionality to find a window at a given position. From a security perspective adding this dbus method is fine as the user stays in control of the functionality. It requires active click to select a window. The new dbus call is already used in the rules kcm replacing the X11 based detect functionality. That a detect is now able to get information for both X11 and Wayland windows. So far only X11 windows on X11 were supported. So this fills an important gap in the Wayland offerings. It should now be possible to create rules for Wayland windows (though may not be fully functional). Test Plan: Run the kwin_rules_dialog and it detected the window correctly Reviewers: #kwin, #plasma Subscribers: plasma-devel, kwin Tags: #plasma Differential Revision: https://phabricator.kde.org/D10490
-
Martin Flöser authored
-
Martin Flöser authored
Summary: On touch down a first hover motion is sent to the decoration. Thus e.g. a button enters the hovered state. On touch release so far the decoration did not get a leave event resulting in the button still being hovered. This change ensures the leave event is sent or if the pointer is also on the decoration a motion to the pointer position is sent. BUG: 386231 FIXED-IN: 5.12.3 Test Plan: New test case and manual testing to verify that the maximize button is no longer hovered after touch down/up on it Reviewers: #kwin, #plasma Subscribers: plasma-devel, kwin Tags: #plasma Differential Revision: https://phabricator.kde.org/D10308
-
Martin Flöser authored
Summary: If the window never provides the appId, we would not get an icon for the window. This happens for example for KWin's internal windows which don't set the app id as KWin also doesn't have a desktop file. With this change the DebugConsole has a window icon in the decoration. Test Plan: Extended tests and manual verification of DebugConsole Reviewers: #kwin, #plasma Subscribers: plasma-devel, kwin Tags: #plasma Differential Revision: https://phabricator.kde.org/D10294
-
Script Kiddy authored
In case of conflict in i18n, keep the version of the branch "ours" To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
-
Script Kiddy authored
In case of conflict in i18n, keep the version of the branch "ours" To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
-
- 22 Feb, 2018 2 commits
-
-
Script Kiddy authored
In case of conflict in i18n, keep the version of the branch "ours" To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
-
Script Kiddy authored
In case of conflict in i18n, keep the version of the branch "ours" To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
-
- 21 Feb, 2018 3 commits
-
-
Martin Flöser authored
-
Martin Flöser authored
Summary: The window rule detection is too bound to X11 for it to work for Wayland windows. In fact it results in the config module just crashing. Thus it's better to just disable the items in the menu. As it's only for X11 windows we can also enforce platform xcb for the rules dialog. Test Plan: Menu disabled on Wayland window, menu enabled on Xwayland window Reviewers: #kwin, #plasma Subscribers: plasma-devel, kwin Tags: #plasma Differential Revision: https://phabricator.kde.org/D10594
-
Martin Flöser authored
Summary: When a window was being moved the touch handling performed the wrong interaction. Due to that it was possible to move the window, but KWin did not enter the correct code paths, thus quick tiling was for example not functional. BUG: 390113 FIXED-IN: 5.12.3 Test Plan: New test case added and manual test in nested KWin Reviewers: #kwin, #plasma Subscribers: plasma-devel, kwin Tags: #plasma Differential Revision: https://phabricator.kde.org/D10431
-
- 20 Feb, 2018 1 commit
-
-
Jonathan Esk-Riddell authored
GIT_SILENT
-
- 19 Feb, 2018 1 commit
-
-
Martin Flöser authored
I incorrectly assumed we have a bug when no mode is requested. The test case shows it works correctly.
-
- 16 Feb, 2018 1 commit
-
-
Vlad Zahorodnii authored
Summary: The new slide effect tries to separate each virtual desktop as much as possible. This separation makes the new slide effect more intuitive than the old one. Test Plan: * switch between virtual desktops * or, move a window to another virtual desktop Reviewers: #vdg, #kwin, #plasma, graesslin, ngraham Reviewed By: #kwin, #plasma, graesslin Subscribers: mart, graesslin, abetts, ngraham, plasma-devel, kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D9638
-
- 15 Feb, 2018 1 commit
-
-
Marco Martin authored
Summary: some drivers, like Mali have EGL_KHR_platform_gbm but not EGL_MESA_platform_gbm Test Plan: pending a test on rock64 board Reviewers: #kwin, #plasma, davidedmundson, graesslin Reviewed By: #kwin, #plasma, graesslin Subscribers: graesslin, garg, davidedmundson, plasma-devel, kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D10346
-
- 14 Feb, 2018 1 commit
-
-
Summary: `QImage::Format_ARGB6666_Premultiplied` was missing from the image format table. This might have caused some bugs later on. See: http://doc.qt.io/qt-5/qimage.html#Format-enum Reviewers: fredrik, #kwin Reviewed By: fredrik Subscribers: cfeck, kwin, #kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D10497
-
- 13 Feb, 2018 2 commits
-
-
Summary: Added the option to turn on noise behind the blurred area. The lowest strength value disables it completely, so it is optional and is disabled by default. Test Plan: Edit: this new screenshot shows the updated noise generation. Edit2: separated the screenshots so you can flick through them to clearly see the differences {F5694024} {F5694031} {F5694025} {F5694028} Reviewers: #kwin, #vdg, fredrik Reviewed By: #vdg, fredrik Subscribers: davidedmundson, matheusm, romangg, ivan, zzag, ngraham, kwin, #kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D10281
-
Jonathan Esk-Riddell authored
GIT_SILENT
-
- 12 Feb, 2018 1 commit
-
-
Script Kiddy authored
In case of conflict in i18n, keep the version of the branch "ours" To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
-