- 31 Aug, 2018 5 commits
-
-
Roman Gilg authored
Summary: At least one test requires the physical size to be set. Test Plan: Lock screen screen edges test is passing again. Without the change the corner offset in the ScreenEdges class is not calculated correctly via the physicalDpiX() and physicalDpiY() values of an auxilliary QWidget. Reviewers: #kwin, davidedmundson Reviewed By: #kwin, davidedmundson Subscribers: davidedmundson, kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D15183
-
Roman Gilg authored
Summary: With the new Output class we can set the gamma directly here. This is also a stepping stone to adjust individual output gamma adjustment later on. This means any future backend, which aims to support the color correction frontend needs to use the Output class. Test Plan: Night Color test still passes. Reviewers: #kwin Subscribers: kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D11803
-
Roman Gilg authored
Summary: Let VirtualOutput be a child class of the new generic class Output. This allows code sharing and a very similar behavior of the Virtual backend in comparision to the Drm backend. Test Plan: Autotests succesful with two exceptions: The decoration input test fails on testDoubleTap, row topLeft. This is to be expected because now the ScreenEdgeInputFilter captures the event at position (0,0) before the DecorationEventFilter can capture it. The autotest was adapted to take this special case into account. Also the lockscreen test fails, because the virtual output is currently missing the physical size yet. Reviewers: #kwin Subscribers: kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D11789
-
Roman Gilg authored
Summary: Lift high-level properties into new Screens child class for platform plugins using the Output class. Directly make DrmScreens a child class of OutputScreens. Test Plan: Manually and auto tests with 94%. Reviewers: #kwin Differential Revision: https://phabricator.kde.org/D11782
-
Roman Gilg authored
Summary: In order to separate high-level properties of individual outputs from hardware-specific ones and access these, introduce a new generic class Output. Also make the DrmOutput class directly a child class of this generic class. The long-term goal is to get rid of the Screens global object on Wayland and instead directly work with Output objects on compositing level. This should enable us long-term to do direct scanout to hardware planes, what I predict needs this generic output representation at one point. Test Plan: Manually. Reviewers: #kwin Subscribers: kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D11781
-
- 30 Aug, 2018 8 commits
-
-
David Edmundson authored
Test Plan: Won't make a practical difference, anything that used before would have crashed. Only now it's tidier. Unit tests still pass Reviewers: #kwin Subscribers: kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D15171
-
David Edmundson authored
Summary: In loading tests. Effects are deleted in a deleteLater potentially outside the scope of our test. Our MockEffectsHandler (which contains the global static "effects") has the lifespan of the test. Fixes failing unit test. Test Plan: Ran test Reviewers: #kwin Subscribers: kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D15167
-
Kai Uwe Broulik authored
-
Kai Uwe Broulik authored
-
Kai Uwe Broulik authored
Otherwise we call i18n without a QCoreApplication Differential Revision: https://phabricator.kde.org/D15163 (cherry picked from commit 0fd93942)
-
Summary: While BuiltInEffects has effectData() function, many functions repeat s_effectData.at(index(effect)), which is what effectData() is doing. By using effectData(), we'll get rid of those repetitions and maybe make easier transition to other underlying data structure that stores metadata for builtin effects. Test Plan: Compiles, all enabled builtin effects are loaded and working. Reviewers: #kwin, davidedmundson Reviewed By: #kwin, davidedmundson Subscribers: kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D13587 (cherry picked from commit 7bfaa6e9)
-
Kai Uwe Broulik authored
Otherwise we call i18n without a QCoreApplication Differential Revision: https://phabricator.kde.org/D15163
-
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"
-
- 29 Aug, 2018 1 commit
-
-
Yuri Chornoivan authored
-
- 27 Aug, 2018 3 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"
-
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"
-
- 26 Aug, 2018 3 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"
-
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"
-
- 25 Aug, 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"
-
- 22 Aug, 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"
-
- 21 Aug, 2018 3 commits
-
-
Vlad Zahorodnii authored
Summary: The Dim Inactive effect sees the world a little bit differently. m_activeWindow is currently active window that can be dimmed later on. In most cases, it's the same as effects->activeWindow(). In rare cases, it can be nullptr, even when effects->activeWindow() is not equal to nullptr (e.g. when active window is a context menu popup). canDimWindow is a helper that returns true if a given window should be dimmed, otherwise it returns false. It has one special case: if a given window is equal to m_activeWindow, return false. I.e. don't dim active windows. Currently, if user changes config of this effect, active window becomes dimmed. The reason for that is we hit that special case when deciding whether effects->activeWindow() should be m_activeWindow. This change addresses that problem by resetting m_activeWindow so we don't hit that special case. Test Plan: * Opened KCM of this effect; * Changed strength; * (the KCM window stayed bright after I clicked "Apply" button). (everything else works as expected) Reviewers: #kwin, davidedmundson Reviewed By: #kwin, davidedmundson Subscribers: kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D14973
-
Vlad Zahorodnii authored
Summary: The Dim Inactive effect was rewritten mostly to fix most of issues with it, e.g. after leaving a full screen effect(e.g. Desktop Grid) windows sometimes are not dimmed back, or when a window becomes inactive there is no smooth transition, etc. {F5956124} //Before: the window is not smoothly dimmed.// {F5956127} //After: the window is smoothly dimmed.// In combination with an effect that animates the disappearing of windows, e.g. Glide, the rewritten Dim Inactive effect doesn't "flash" windows. If an active window has been closed, it will stay bright. If an inactive window has been closed, it will stay dimmed. Among other changes, the KCM has been re-designed to follow common KCM design in Plasma: {F5956128, layout=center, size=full} The way the rewritten Dim Inactive effect handles flashing/flickering problem can be reused in the Dialog Parent effect. ### Demo {F5959885} //Before: dimming of a window group.// {F5959886} //After: Dimming of a window group.// Depends on D13740 CCBUG: 359251 Test Plan: Test plan #1 * Activated the Desktop Grid effect * Dimmed windows smoothly brightened * Left desktop grid * Windows dimmed back Test plan #2 * Opened Dolphin and its Preferences window * Clicked on desktop, both Dolphin and the Preferences window dimmed * Clicked on Dolphin, both windows smoothly brightened back Reviewers: #kwin, #plasma, #vdg, davidedmundson Reviewed By: #kwin, #plasma, #vdg, davidedmundson Subscribers: davidedmundson, abetts, ngraham, kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D13720
-
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"
-
- 20 Aug, 2018 1 commit
-
-
David Edmundson authored
stackingOrder is an interesting property which needed special handling in the port. Add an explicit test. Test Plan: #kwin Reviewers: broulik Reviewed By: broulik Subscribers: zzag, kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D14533
-
- 19 Aug, 2018 2 commits
-
-
Vlad Zahorodnii authored
Summary: On Wayland session, the logout screen has "ksmserver-logout-greeter ksmserver-logout-greet" window class, so let's animate it too. Test Plan: * Started Wayland session; * Pressed Ctrl+Alt+Del; * (the logout screen smoothly faded in); * Clicked the Cancel button; * (the logout screen smoothly faded out) * Started X11 session; * Pressed Ctrl+Alt+Del; * (the logout screen smoothly faded in); * Clicked the Cancel button; * (the logout screen smoothly faded out) Reviewers: #kwin, #plasma, davidedmundson Reviewed By: #kwin, #plasma, davidedmundson Subscribers: davidedmundson, abetts, kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D14848
-
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"
-
- 18 Aug, 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"
-
- 17 Aug, 2018 2 commits
-
-
Vlad Zahorodnii authored
Summary: * Slightly improve readability; * Check that offset and location have been passed; * Sanitize slide in/out duration (if any of those is equal to 0, KWin will crash). Test Plan: * Launched Yakuake; * Pressed F12 several times (Yakuake still slides in/out). Reviewers: #kwin, davidedmundson Reviewed By: #kwin, davidedmundson Subscribers: davidedmundson, kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D14862
-
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"
-
- 16 Aug, 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"
-
- 15 Aug, 2018 7 commits
-
-
Vlad Zahorodnii authored
Summary: Comments like "// Call the next effect." are sort of // Add 1 to foo. foo += 1 they don't give any useful information and it would be better without them. Test Plan: Still compiles. Reviewers: #kwin Subscribers: davidedmundson, kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D14728
-
Vlad Zahorodnii authored
Summary: Depends on D14765 Reviewers: #kwin, #plasma, davidedmundson Reviewed By: #kwin, #plasma, davidedmundson Subscribers: kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D14766
-
Vlad Zahorodnii authored
Summary: We don't have anymore the following effects: * Box Switch (was removed in 4.11); * Explosion (was removed in 4.11); * Outline (was removed in 4.11); * Scale In (will be removed in 5.14); * Taskbar Thumbnails (was removed in 4.95). So, keywords for those effects should not be among search suggestions in System Settings. Reviewers: #kwin, #plasma, davidedmundson Reviewed By: #kwin, #plasma, davidedmundson Subscribers: kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D14765
-
Vlad Zahorodnii authored
-
Vlad Zahorodnii authored
-
Summary: Using QtQuick.Controls for Label and TextField can result in blurry font rendering for a fractional scaling (e.g. 1,5). There is a work around for QtQuick.Controls 2.x therefore using QtQuick.Controls 2.0 for Label and TextField resolves the problem BUG: 366451 Reviewers: #kwin, davidedmundson Reviewed By: #kwin, davidedmundson Subscribers: ngraham, zzag, davidedmundson, kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D14495
-
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"
-