-
-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pull KWin patches (2024-01-10 - 2024-05-23) #25
Commits on May 23, 2024
-
feat(input): remove the terminate server shortcut
Accidentally pressing any shortcut shouldn't take down the whole session. If a compositor isn't reponsive but can still process shortcuts for some reason, you can still switch to a different virtual terminal to explicitly kill it from there.
Configuration menu - View commit details
-
Copy full SHA for c31e0f5 - Browse repository at this point
Copy the full SHA c31e0f5View commit details
Commits on May 28, 2024
-
Configuration menu - View commit details
-
Copy full SHA for b772bf7 - Browse repository at this point
Copy the full SHA b772bf7View commit details
Commits on May 29, 2024
-
feat: drop "<N>" window caption suffix
The current implementation of the `<N>` suffix is still buggy and its benefits are doubtful. One could argue that visual aids such as window thumbnails or highlighting the windows are better. On its own, these numbers don't have strong connections to the windows and can change on a whim. Co-authored-by: Roman Gilg <subdiff@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 0fe01b0 - Browse repository at this point
Copy the full SHA 0fe01b0View commit details -
refactor: make NETRootInfo initialization reasonable
The documentation of NETRootInfo::activate() says that it should be called after creating the NETRootInfo object to read properties. However, it's called in two places: VirtualDesktopManager::setRows() and Workspace::initializeX11(). At quick glance, there's no justifying reason to call activate() in setRows(), it doesn't fit the purpose of setRows(). This change re-arranges NETRootInfo initialization code so it makes more sense.
Configuration menu - View commit details
-
Copy full SHA for 6d00df0 - Browse repository at this point
Copy the full SHA 6d00df0View commit details -
fix: prevent including "show desktop" entry if there are no other win…
…dows BUG: 419408
Configuration menu - View commit details
-
Copy full SHA for 14c07fb - Browse repository at this point
Copy the full SHA 14c07fbView commit details
Commits on May 30, 2024
-
Explicitly discard the return value. This is an error otherwise with GCC.
Configuration menu - View commit details
-
Copy full SHA for 26e375b - Browse repository at this point
Copy the full SHA 26e375bView commit details -
test: add workaround for race condition
Needs to be further investigated. Only fails with release builds.
Configuration menu - View commit details
-
Copy full SHA for 628e951 - Browse repository at this point
Copy the full SHA 628e951View commit details -
feat: add a placeholder message in the thumbnails grid switcher
It improves the visuals of the switcher when there are no entries to display.
Configuration menu - View commit details
-
Copy full SHA for 277584a - Browse repository at this point
Copy the full SHA 277584aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 424e549 - Browse repository at this point
Copy the full SHA 424e549View commit details -
The KF6::ConfigWidget dependency can be replaced with smaller ones.
Configuration menu - View commit details
-
Copy full SHA for 9026e93 - Browse repository at this point
Copy the full SHA 9026e93View commit details -
feat: implement new overview layout algorithm
Replace old "closest" and "natural" layout algorithms with new layout algorithm. The new layout algorithm tries to - use screen space efficiently, given diverse geometries of windows - be aesthetically pleasing - and minimize movement of windows from initial positions. More concretely, find a layered layout, where each layer, or strip, is a row or column. Ensure that different strips have similar widths, and use binary search to find a packing with similar aspect ratio to the layout area. Within each strip, minimize horizontal movement (for rows) or vertical movement (for columns) of windows. Run time is O(n) (up to log factors), where n is the number of windows. CCBUG: 453749 BUG: 450263 BUG: 477833 BUG: 478097 BUG: 477830
Configuration menu - View commit details
-
Copy full SHA for af3caec - Browse repository at this point
Copy the full SHA af3caecView commit details -
fix: don't build SPI support if Qt wasn't build with it
Signed-off-by: Falko Becker <falko.becker@mbition.io>
Configuration menu - View commit details
-
Copy full SHA for d2b39ef - Browse repository at this point
Copy the full SHA d2b39efView commit details -
Configuration menu - View commit details
-
Copy full SHA for a5348ab - Browse repository at this point
Copy the full SHA a5348abView commit details -
Configuration menu - View commit details
-
Copy full SHA for eb1f12a - Browse repository at this point
Copy the full SHA eb1f12aView commit details -
feat: adds a border around hovered and selected desktop in desktopGrid
Currently desktop grid view is missing the selection rectangle when hovered over a desktop. This adds the selection rectangle on hover, since it used to be there before three-state design. Currently selected desktop has thinner and different colored border. ![image](/uploads/ad1f2f7acbe602fb7b9479ce859026b7/image.png) ![image](/uploads/9fa50bac4b81958da0b8926f8d2518ba/image.png) ![image](/uploads/3e46c1f5a740c40bbf18a5d887f31d39/image.png) BUG:481812
Configuration menu - View commit details
-
Copy full SHA for 8b47439 - Browse repository at this point
Copy the full SHA 8b47439View commit details -
Configuration menu - View commit details
-
Copy full SHA for 196bed4 - Browse repository at this point
Copy the full SHA 196bed4View commit details -
fix: use correct enum value for
PointerDevice
BUG: 482191
Configuration menu - View commit details
-
Copy full SHA for 6bb35d9 - Browse repository at this point
Copy the full SHA 6bb35d9View commit details -
Configuration menu - View commit details
-
Copy full SHA for a10342a - Browse repository at this point
Copy the full SHA a10342aView commit details -
fix(plugin): fix autohidden panels blinking when plasmashell launches
The autohidden panels "blink" because this effect animates their opacity. The dock windows are animated because, as the comment says, the old effect animated almost every window. Conceptually, animating docks doesn't align with the purpose of this effect.
Configuration menu - View commit details
-
Copy full SHA for 91425cf - Browse repository at this point
Copy the full SHA 91425cfView commit details -
fix: do not take ownership of QuickEffect::delegate
QuickEffect::setDelegate is exposed QML API. The lifespan of assigned objects is therefore managed by the QML engine, and we should be watching for deletion not actually deleting it.
Configuration menu - View commit details
-
Copy full SHA for 0d476aa - Browse repository at this point
Copy the full SHA 0d476aaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2b3e7b5 - Browse repository at this point
Copy the full SHA 2b3e7b5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 13048ce - Browse repository at this point
Copy the full SHA 13048ceView commit details -
By design, these categories of content can run arbitrary code on the system. This makes them security-sensitive and risky, so we need to inform the user about it. Depends on https://invent.kde.org/frameworks/knewstuff/-/merge_requests/309
Configuration menu - View commit details
-
Copy full SHA for 5df5385 - Browse repository at this point
Copy the full SHA 5df5385View commit details -
refactor: round all the things consistently
Now that we have Kirigami.Units.cornerRadius, there's a central source of truth for corner radius so don't have to use random numbers for these anymore. Part of https://invent.kde.org/teams/vdg/issues/-/issues/45.
Configuration menu - View commit details
-
Copy full SHA for 3394617 - Browse repository at this point
Copy the full SHA 3394617View commit details
Commits on Jun 18, 2024
-
feat(plugin): remove middle click to close virtual desktop
This is a hidden destructive action[1] in a context where users are not primed to expect it. It's also largely unnecessary since the delegates already show a delete button on hover, and deleting virtual desktops isn't such a common task that it benefits from an accelerator. Let's remove it for safety. [1] It's destructive because user-created state on the deleted virtual desktop is lost--with no confirmation or undo, to boot. BUG: 484999 FIXED-IN: 6.1
Configuration menu - View commit details
-
Copy full SHA for c8cd868 - Browse repository at this point
Copy the full SHA c8cd868View commit details -
fix: clarify strings for inhibition
To clarify that the toggle action merely temporarily disables the blue light filter, rather than turning the schedule off permanently like the "Disbaled" setting in the KCM does, use "suspend/resume" terminology instead of "off/on" in the keyboard shortcut and OSD. Follow-up on plasma-workspace!4262 CCBUG: 486647
Configuration menu - View commit details
-
Copy full SHA for 0e865d2 - Browse repository at this point
Copy the full SHA 0e865d2View commit details -
refactor: optimize saving discarded rules to config
After porting to KConfigXT settings some time ago, there was still an inefficient and error-prone codepath between the `RuleBook` (which keeps the runtime list of `Rules`) and the `RuleBookSettings` (responsible for config reads and saves), in the form of the `setRules()` method. We can eliminate the `setRules()` codepath, reducing unnecessary runtime process and file access operations, and instead: - Keep track of the config `id` in the `Rules` objects - Keep a single `RuleBookSettings` object as a member - Modify or delete the discarded rules settings directly - Save when necessary This also fixes two bugs/pitfalls of the previous solution: - the config group id for each rule is now preserved instead of creating new ones - no leftovers on the config file for the discarded groups and entries Setting custom configs for the integration tests still works unchanged. BUG: 446381 FIXED-IN: 6.1 Co-authored-by: Roman Gilg <subdiff@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for bb085c7 - Browse repository at this point
Copy the full SHA bb085c7View commit details