24856 Commits (381de13973c8f72f0746e68c96518b45c015f6b4)
 

Author SHA1 Message Date
ivan tkachenko 417a7f3601 kcms/scripts: Move footer actions to the page header
…to avoid the "two stacked rows of buttons" effect.

Changes "Get New" button text to avoid redundancy because title already
contains the "Script" word in it.
1 year ago
ivan tkachenko ae11658e0c kcms/scripts: Always set spacing property on Row & Column layouts
Default value of 5 does not visually align with anything in our HIG.
1 year ago
l10n daemon script 2542662dc9 GIT_SILENT Sync po/docbooks with svn 1 year ago
ivan tkachenko bef357db5b
kcms/scripts: Replace magic number with named enum member of NewStuff events 1 year ago
ivan tkachenko 5de83e78cc
kcms/scripts: Use ellipses instead of triple period
A real ellipsis character is better for accessibility, as screen readers
will describe it appropriately.
1 year ago
l10n daemon script d63bbd4329 GIT_SILENT Sync po/docbooks with svn 1 year ago
Laurent Montel 9ebc3e298f We use qt6 now 1 year ago
Xaver Hugl 10c1e7892e backends/drm: use max frame average brightness instead of max brightness in HDR metadata
Using the peak maximum brightness can cause displays to do more agressive tone mapping, which
overall darkens the image without any reason. Instead, send the max fame average brightness,
which the display can always do over the whole screen
1 year ago
Xaver Hugl e6d2607fe3 scene/itemrendereropengl: don't do colorspace conversions if not needed
There was a check for this in the shader before, but it got lost. It's better
to completely compile it out of the shader anyways
1 year ago
Xaver Hugl 242fce56b6 libkwineffects/kwinglutils: replace random eotf integers with named constants 1 year ago
Xaver Hugl 6272d1d9f3 libkwineffects/kwinglutils: fix saturation calculation with wide color gamut and document it 1 year ago
Xaver Hugl 84ce4751d9 libkwineffects/kwinglutils: replace output string with a temporary variable
Dragging the output string through the whole shader is annoying. The use
of a temporary variable makes the shader code more readable
1 year ago
l10n daemon script 91b709fdbe GIT_SILENT Sync po/docbooks with svn 1 year ago
l10n daemon script 7bef0374d0 GIT_SILENT Sync po/docbooks with svn 1 year ago
l10n daemon script 24a5290ed2 SVN_SILENT made messages (.desktop file) - always resolve ours
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"
1 year ago
l10n daemon script a710ddbbe1 GIT_SILENT Sync po/docbooks with svn 1 year ago
David Edmundson 982e409319 scripting: Use a better path for scripts
Currently we create objects at the path /0 /1 and so on. This isn't very
well namespaced
1 year ago
Vlad Zahorodnii 8b4afa0ee5 Remove null window checks in restacking requests
Restacking null windows make no sense. If a window can be null, it
should be guarded by the user. However, in practice, it shouldn't
matter.
1 year ago
David Edmundson 3ccf560252 workspace: Add asserts to check double window insertion
We have a few crash reports that point to m_windows getting out of sync
with reality. Add some additional checks in the hope they point to
something useful.
1 year ago
Vlad Zahorodnii b42919e875 Add closed window checks in restacking requests
If a closed window is restacked, it will be reintroduced to the stack
and it will be left dangling, which will eventually result in a crash.
1 year ago
Vlad Zahorodnii 07a6b500c8 Add closed window checks in some window activation code paths
A closed window cannot be activated, so guard relevant code paths to
ensure that we don't hit this unexpected case.

CCBUG: 438315
1 year ago
Vlad Zahorodnii 71e8fad1f6 Delegate screen edge reservation error handling to user
Window screen edge reservation relies on Window::showOnScreenEdge()
getting called when the screen edge can't be reserved. That makes screen
edge code not easy to follow.

This change makes ScreenEdges::reserve() indicate if a screen edge has
been successfully reserved and delegate error handling to the user.

In most cases, if a screen edge has not been successfully hidden, you
just need to avoid calling hideClient() and wait until the next moment
when the window can be hidden again. Note that it differs from the
current behavior but it's for a good reason. If the panel can't be
hidden now, the panel has no idea how to handle it; only the compositor
knows when it can be hidden again.
1 year ago
Vlad Zahorodnii 687415076f x11: Drop support for "let windows cover panel" mode in _KDE_NET_WM_SCREEN_EDGE_SHOW
This seems really hacky and plasmashell dropped "let windows cover panel" mode.
1 year ago
David Edmundson cf2410f631 Guard updateLayer for deleted windows
When a window is deleted it all "set" operations should no-op.

As for the bug specifically, we have an effect that keeps the desktop
alive. If a user calls showDesktop not only do we not update the
stacking order, we also call updateLayer when the client closes this is
after the window is in the deleted state.

BUG: 470067
1 year ago
l10n daemon script 1a883f7626 GIT_SILENT Sync po/docbooks with svn 1 year ago
Xaver Hugl 4cb4be2e64 libkwineffects/kwingltexture: clarify ownership and remove immutability 1 year ago
Xaver Hugl 20b4f26045 libkwineffects: simplify gltexture
Instead of using custom private classes for taking care of backend specific
stuff, store that directly in the GLTexture subclasses
1 year ago
Xaver Hugl 16fb2848ed libkwineffects: handle GLTexture upload failures
This is required for properly dealing with GPU resets
1 year ago
Xaver Hugl 572bc75de4 libkwineffects: handle GLTexture allocation failures
This is required for properly dealing with GPU resets
1 year ago
Xaver Hugl bfc8bcb24a libkwineffects: use std::unique_ptr in GLTexture
The implicit internal sharing stuff wasn't used in KWin, and the way the
d pointer was initialized was horrible
1 year ago
Xaver Hugl 3eb5f18861 libkwineffects: make GLVertexBuffer::map safer
This ensures that in the event of a GPU reset, failure to map the vbo is
always handled without crashing
1 year ago
David Edmundson 3ea701743e screen edge: Emit cleanup signals if needed on teardown
The Effects API has one signal screenEdgeApproaching with effects
monitoring the last signal to stay in sync.

If an Edge is destroyed whilst visible, effects currently do not get
notified and it can stay there forever.

This patch emits screenEdgeApproaching if appropriate with a factor of 0
when an edge is destroyed.

BUG: 403354
1 year ago
David Edmundson db10a85efc screenedge: Remove outdated line of documentation
This moved to X11Window at some point
1 year ago
Joshua Goins 6eff561234 useractions: Add separator above the "Close" action
This matches other places in Plasma e.g. the task manager, where
there is a similarly placed separator.
1 year ago
Xaver Hugl cdafbbbd6f backends/drm: always do color management on NVidia GPUs
This comes with a small performance hit but ensures that night color works

BUG: 450327
BUG: 468895
1 year ago
l10n daemon script 964254e2a5 GIT_SILENT Sync po/docbooks with svn 1 year ago
Xaver Hugl f1536973d4 introduce ColorDescription and fix screen casting with color management 1 year ago
Xaver Hugl 7fa12ee4a6 utils/edid: use the common Colorimetry class instead of a separate struct 1 year ago
Vlad Zahorodnii ebf6bd3a33 autotests: Move plasmashell bits from testMoveResizeWindow to testPlasmaSurface
Move the plasmashell specific bits to testPlasmaSurface so it's all
encapsulated and easy to drop in the future.
1 year ago
Vlad Zahorodnii 1c87a804f0 autotests: Port testShowingDesktop to layer-shell 1 year ago
Vlad Zahorodnii 05695d7f1b autotests: Avoid binding plasmashell global in tests that don't use it 1 year ago
Bharadwaj Raju 539b6bb6ac XdgPopupWindow: Allow position to be set by Plasma
This lets Plasma itself control the position of popup windows such as
Plasma tooltips. transientPlacement() now returns the position set by Plasma
if available.

BUG: 463272
1 year ago
Vlad Zahorodnii 2aba3deca4 wayland: Drop screen edge support in XdgToplevelWindow
Use kde_screen_edge_v1 + layer surface instead.
1 year ago
Vlad Zahorodnii cdb8887a15 wayland: Drop strut support in XdgToplevelWindow
Use layer_surface.set_exclusive_zone instead.
1 year ago
Vlad Zahorodnii 9d0bb1bff7 autotests: Remove incorrect test
StrutsTest::testLeftScreenSmallerBottomAligned() used to pass because
one of the previous tests changes the maximize policy to maximize.

A window will be maximized only if it's larger than the maximize area
but smaller than the screen area. That's not the case and the test makes
an incorrect assumption about how X11Windows are placed.
1 year ago
Vlad Zahorodnii 006ab40e44 wayland: Make LinuxDmaBufV1ClientBuffer private
dmabuf related code can rely on DmaBufAttributes instead, so let's make
LinuxDmaBufV1ClientBuffer private to make graphics buffer handling
generic.
1 year ago
Vlad Zahorodnii 6b2f46ca1f autotests: Remove unused outputbackend.h includes 1 year ago
Vlad Zahorodnii cab0765947 autotests: Use layer-shell based panels 1 year ago
Mouse Zhang f3e4495e44 plugins/qpa: initialize buffer in backingstore
BUG: 437062
1 year ago
l10n daemon script 79fd2a4937 GIT_SILENT Sync po/docbooks with svn 1 year ago