Feed Advanced Search

May 26 2020

davidedmundson closed D29332: [xwl] Update to kwaylandserver changes.
May 26 2020, 9:13 AM · KWin
bport updated the diff for D29272: Add support to keyboard shortcuts inhibitor.

Remove unused include

May 26 2020, 8:04 AM · KWin

May 25 2020

apol added a comment to T12863: Use PipeWire for screen casting.

The biggest problem with sharing the dmabuf buffers it that its memory management becomes quite complex (and I'm unsure it's really doable).
PipeWire has mechanisms to create the buffers it's going to need, juggling this with passing the buffer from the app/output and making sure it stays relevant feels messy and error-prone.
Copying from dmabuf->dmabuf shouldn't be very expensive though, as it shouldn't go through the buses (AFAIK, that is).

May 25 2020, 1:05 PM · Plasma on Wayland, KWin
zzag added inline comments to D29272: Add support to keyboard shortcuts inhibitor.
May 25 2020, 10:04 AM · KWin
zzag added inline comments to D29272: Add support to keyboard shortcuts inhibitor.
May 25 2020, 10:03 AM · KWin
zzag added inline comments to D29272: Add support to keyboard shortcuts inhibitor.
May 25 2020, 10:02 AM · KWin

May 23 2020

niccolove added a comment to D27439: Replaced isDock check with !hasDecoration.

Moved and finished (now works) here: https://invent.kde.org/plasma/kwin/-/merge_requests/17

May 23 2020, 2:32 PM · KWin

May 22 2020

ndavis added a comment to D29477: Change CommandAllKey to Meta.

Resuming this on invent

link ?

May 22 2020, 10:29 PM · KWin
abetts added a comment to D29459: Scripting: Make client.activities writable.

Hey man, can you join our vdg team on Telegram? Here is the link: https://t.me/vdgmainroom

May 22 2020, 6:41 PM · KWin
meven accepted D29683: screenshot: use QImage to decode the received screenshot image.
May 22 2020, 2:45 PM · KWin
apol added a comment to D29683: screenshot: use QImage to decode the received screenshot image.

Ping?

May 22 2020, 2:44 PM · KWin
ngraham closed D29263: Position OSD a bit farther down.
May 22 2020, 2:38 PM · KWin
zzag accepted D29263: Position OSD a bit farther down.
May 22 2020, 2:37 PM · KWin
zzag added inline comments to D29263: Position OSD a bit farther down.
May 22 2020, 2:37 PM · KWin
ngraham updated the diff for D29263: Position OSD a bit farther down.

don't need to include cmath anymore

May 22 2020, 2:37 PM · KWin
ngraham updated the diff for D29263: Position OSD a bit farther down.

Address review feedback

May 22 2020, 2:36 PM · KWin
broulik updated the diff for D29035: Install service files for kwin.
  • Use After instead of Wants
May 22 2020, 9:23 AM · KWin

May 21 2020

zzag added a comment to D29263: Position OSD a bit farther down.

The existing magic number is also totally random, and does not even match

May 21 2020, 6:50 AM · KWin
zzag closed D29786: Scripting: Provides methods to create and remove virtual desktops.
May 21 2020, 6:16 AM · KWin
zzag accepted D29786: Scripting: Provides methods to create and remove virtual desktops.
May 21 2020, 5:50 AM · KWin

May 20 2020

tcorreabr updated the diff for D29786: Scripting: Provides methods to create and remove virtual desktops.

Zero based position parameters.

May 20 2020, 10:48 PM · KWin
kkofler added a comment to T13026: Port kwin to new kwaylandserver repo.

And the actual rationale appears to be: https://mail.kde.org/pipermail/kde-frameworks-devel/2020-March/105081.html

May 20 2020, 5:09 PM · KWin
kkofler added a comment to T13026: Port kwin to new kwaylandserver repo.

If, like me, you land here (after discovering the new dependency) and miss the rationale, see:

May 20 2020, 5:00 PM · KWin
ngraham added a comment to D29263: Position OSD a bit farther down.
In D29263#673249, @zzag wrote:

In the absence of a way for the Global Theme or (proposed-but-not-yet-existing OSD themes) to set a custom OSD position, are KWin people okay with this patch to improve the positioning of the new OSD?

Speaking for myself, I'm not. I don't like 0.37 because it's not based on anything. Why not 0.39 or 0.4242?

May 20 2020, 3:17 PM · KWin
zzag added a comment to D29263: Position OSD a bit farther down.

In the absence of a way for the Global Theme or (proposed-but-not-yet-existing OSD themes) to set a custom OSD position, are KWin people okay with this patch to improve the positioning of the new OSD?

May 20 2020, 3:04 PM · KWin
meven added a comment to D29263: Position OSD a bit farther down.

LGTM :)

May 20 2020, 2:56 PM · KWin
ndavis accepted D29263: Position OSD a bit farther down.
May 20 2020, 2:43 PM · KWin
ngraham added a comment to D28781: Allow configuring click behavior in Desktop Grid effect.

You can update users' config filed with a kconf update script (see https://techbase.kde.org/Development/Tools/Using_kconf_update) or avoid changing the config file key names in the first place.

May 20 2020, 1:43 PM · KWin
meven added a comment to D29407: ScreenshotEffect: Use Service Property to authorize screenshot without confirmation.

So this should be good for merging @apol after spectacle D29408 has been rebased and D29487 has landed

May 20 2020, 10:00 AM · KWin
meven added a comment to D29263: Position OSD a bit farther down.

In the absence of a way for the Global Theme or (proposed-but-not-yet-existing OSD themes) to set a custom OSD position, are KWin people okay with this patch to improve the positioning of the new OSD?

May 20 2020, 9:24 AM · KWin
meven added a comment to D29477: Change CommandAllKey to Meta.

Resuming this on invent

May 20 2020, 9:07 AM · KWin
filipf added a comment to D29263: Position OSD a bit farther down.

I'm a bit confused. Aren't we changing the size for third party global themes as well? Do all global themes set their size?

May 20 2020, 7:02 AM · KWin
ksmanis added inline comments to D28781: Allow configuring click behavior in Desktop Grid effect.
May 20 2020, 6:28 AM · KWin
niccolove added a comment to D29263: Position OSD a bit farther down.

I'm a bit confused. Aren't we changing the size for third party global themes as well? Do all global themes set their size?

May 20 2020, 6:10 AM · KWin

May 19 2020

ndavis requested changes to D29263: Position OSD a bit farther down.
May 19 2020, 9:06 PM · KWin
ngraham added a comment to D29263: Position OSD a bit farther down.

How do you think about putting it horizontally centered at the top of the screen? Maybe even avoiding panels, if possible?
I'd be fine both with "floating a bit under the panel" and "merged with screen/panel top" like krunner.

I don't think it's a problem to change this even for non-breeze themes.

May 19 2020, 9:00 PM · KWin
ndavis added a comment to D29263: Position OSD a bit farther down.

It might be best not to change anything about the position until we can come up with a significantly better solution.

May 19 2020, 8:57 PM · KWin
niccolove added a comment to D29263: Position OSD a bit farther down.

How do you think about putting it horizontally centered at the top of the screen? Maybe even avoiding panels, if possible?
I'd be fine both with "floating a bit under the panel" and "merged with screen/panel top" like krunner.

May 19 2020, 8:55 PM · KWin
ndavis added a comment to D29263: Position OSD a bit farther down.

In the absence of a way for the Global Theme or (proposed-but-not-yet-existing OSD themes) to set a custom OSD position, are KWin people okay with this patch to improve the positioning of the new OSD?

May 19 2020, 8:52 PM · KWin
ngraham added a comment to D29263: Position OSD a bit farther down.

In the absence of a way for the Global Theme or (proposed-but-not-yet-existing OSD themes) to set a custom OSD position, are KWin people okay with this patch to improve the positioning of the new OSD?

May 19 2020, 8:33 PM · KWin
ngraham added inline comments to D29263: Position OSD a bit farther down.
May 19 2020, 8:30 PM · KWin
cblack abandoned D29685: Grant keyboard focus to popups on popup.
May 19 2020, 7:53 PM · KWin
ndavis abandoned D29477: Change CommandAllKey to Meta.

Resuming this on invent

May 19 2020, 7:52 PM · KWin
ndavis added inline comments to D29263: Position OSD a bit farther down.
May 19 2020, 6:57 PM · KWin
ndavis accepted D29263: Position OSD a bit farther down.
May 19 2020, 6:55 PM · KWin
ngraham added a comment to D29263: Position OSD a bit farther down.

I'm feeling pretty lukewarm about this idea. It's maybe slightly better in some situations, but with the smaller size, I think it'll also be easier to miss if it's not in the center. Since the OSD is smaller, being exactly in the center isn't such a huge problem either. Although, I suppose it would still get in the way of crosshairs if the user was playing a shooter game.

May 19 2020, 6:44 PM · KWin
ndavis added a comment to D29263: Position OSD a bit farther down.

I'm feeling pretty lukewarm about this idea. It's maybe slightly better in some situations, but with the smaller size, I think it'll also be easier to miss if it's not in the center. Since the OSD is smaller, being exactly in the center isn't such a huge problem either. Although, I suppose it would still get in the way of crosshairs if the user was playing a shooter game.

May 19 2020, 6:27 PM · KWin
ngraham added a comment to D29263: Position OSD a bit farther down.

Ping. I think this is a mild improvement

May 19 2020, 6:17 PM · KWin
niccolove added a comment to D29263: Position OSD a bit farther down.

With the smaller appearance, I'm feeling a bit like it just floats there... for no reason... it gives me the impression than there's no visual connection with anything. It's a bit like it's in a random position, maybe because it's not vertically centered. Could be fine anyway, but I was wondering if there's another place where it would better fit. Maybe top left? Can it avoid panels?

May 19 2020, 6:00 PM · KWin
ngraham added a dependent revision for D29263: Position OSD a bit farther down: D20569: Use more compact OSD.
May 19 2020, 5:47 PM · KWin
meven added inline comments to D28781: Allow configuring click behavior in Desktop Grid effect.
May 19 2020, 4:40 PM · KWin
ngraham added a comment to D28781: Allow configuring click behavior in Desktop Grid effect.

KWin @zzag @davidedmundson ping.

May 19 2020, 4:07 PM · KWin
davidedmundson updated the task description for T13027: Create higher level wrapper in KWindowSystem for PlasmaShell.
May 19 2020, 11:45 AM · KWin
apol updated the diff for D27788: Implement EGL_KHR_partial_update and EGL_EXT_swap_buffers_with_damage.

Account for software rotation

May 19 2020, 11:02 AM · KWin
zzag added inline comments to D29786: Scripting: Provides methods to create and remove virtual desktops.
May 19 2020, 10:02 AM · KWin
zzag accepted D29332: [xwl] Update to kwaylandserver changes.
May 19 2020, 9:42 AM · KWin
bshah added a comment to D27788: Implement EGL_KHR_partial_update and EGL_EXT_swap_buffers_with_damage.

Does it work fine with software screen rotation?

May 19 2020, 7:53 AM · KWin
zzag added a comment to D27788: Implement EGL_KHR_partial_update and EGL_EXT_swap_buffers_with_damage.

Alright I tested latest version on PlaMo and seems to work perfectly fine now!

May 19 2020, 7:43 AM · KWin
zzag abandoned D27861: [wayland] Rework xdg-shell implementation.

Will move the code review to GitLab.

May 19 2020, 7:38 AM · KWin
ksmanis added a comment to D28781: Allow configuring click behavior in Desktop Grid effect.

Ping?

May 19 2020, 7:25 AM · KWin
bshah accepted D27788: Implement EGL_KHR_partial_update and EGL_EXT_swap_buffers_with_damage.
May 19 2020, 7:17 AM · KWin
bshah added a comment to D27788: Implement EGL_KHR_partial_update and EGL_EXT_swap_buffers_with_damage.

Alright I tested latest version on PlaMo and seems to work perfectly fine now!

May 19 2020, 7:17 AM · KWin

May 18 2020

iasensio updated the test plan for D29791: [kcm/kwinrules] Detect also window complete class.
May 18 2020, 9:58 PM · KWin
iasensio updated the diff for D29791: [kcm/kwinrules] Detect also window complete class.
  • Keep previous line
May 18 2020, 9:55 PM · KWin
iasensio closed D29790: [kcm/kwinrules] Fix Placement setting.
May 18 2020, 6:38 PM · KWin
tcorreabr added inline comments to D29786: Scripting: Provides methods to create and remove virtual desktops.
May 18 2020, 3:45 PM · KWin
zzag added inline comments to D29786: Scripting: Provides methods to create and remove virtual desktops.
May 18 2020, 9:02 AM · KWin
zzag added inline comments to D29786: Scripting: Provides methods to create and remove virtual desktops.
May 18 2020, 9:01 AM · KWin
anthonyfieroni added inline comments to D29791: [kcm/kwinrules] Detect also window complete class.
May 18 2020, 9:00 AM · KWin
zzag added a comment to D29791: [kcm/kwinrules] Detect also window complete class.

As such, and introducing a new i18n string, I don't know whether it should be included in 5.19 or 5.20 release.

May 18 2020, 8:53 AM · KWin
zzag accepted D29790: [kcm/kwinrules] Fix Placement setting.

Okay, I see. We still probably need a kconf_update script, but it would be unrelated to what this change intends to do.

May 18 2020, 8:20 AM · KWin

May 16 2020

felixernst updated the task description for T13158: Define a reference appearance and help users have a consistent experience of on-screen object sizes.
May 16 2020, 1:53 PM · KWin, VDG
felixernst added a comment to T13158: Define a reference appearance and help users have a consistent experience of on-screen object sizes.

This sounds good to me overall. I am not that familiar with the technicalities of the different scaling methods (which seems to be quite a difficult subject) so I can't comment too much on this. To me it looks like proposal 3, 5 and 6 depend on proposal 4 e.g. the 135% scale factor in proposal 5 should normally be avoided AFAIK.

May 16 2020, 1:52 PM · KWin, VDG
iasensio updated the summary of D29790: [kcm/kwinrules] Fix Placement setting.
May 16 2020, 12:39 PM · KWin
meven added a member for KWin: meven.
May 16 2020, 12:03 PM
iasensio added a comment to D29790: [kcm/kwinrules] Fix Placement setting.

Sorry, I phrased it wrong. The change to use the enum instead of strings in the settigs was done before the new kcm, in the port to KconfigXT. This just updates the kcm to it since it's not working (it can not read/write the placement from the settings schema)

May 16 2020, 11:52 AM · KWin
zzag added a comment to D29790: [kcm/kwinrules] Fix Placement setting.

The setting "placement" is now stored usign the enum value, instead of a string equivalent

May 16 2020, 8:52 AM · KWin
iasensio updated the test plan for D29791: [kcm/kwinrules] Detect also window complete class.
May 16 2020, 1:14 AM · KWin
iasensio updated the diff for D29791: [kcm/kwinrules] Detect also window complete class.
  • Change assertion for simple check
May 16 2020, 1:13 AM · KWin
iasensio requested review of D29791: [kcm/kwinrules] Detect also window complete class.
May 16 2020, 1:03 AM · KWin
iasensio requested review of D29790: [kcm/kwinrules] Fix Placement setting.
May 16 2020, 12:29 AM · KWin

May 15 2020

broulik planned changes to D29775: [kcmkwin/kwinrules] Create RulesModel on demand.
May 15 2020, 8:43 PM · KWin
tcorreabr retitled D29459: Scripting: Make client.activities writable from scripting: Make client.activities writable to Scripting: Make client.activities writable.
May 15 2020, 7:08 PM · KWin
tcorreabr requested review of D29786: Scripting: Provides methods to create and remove virtual desktops.
May 15 2020, 7:06 PM · KWin
iasensio closed D29764: [kcm/kwinrules] Fix size properties not being stored.
May 15 2020, 5:58 PM · KWin
iasensio closed D29783: [kcm/kwinrules] Fix placeholder message in RulesEditor.
May 15 2020, 5:58 PM · KWin
ngraham accepted D29783: [kcm/kwinrules] Fix placeholder message in RulesEditor.
May 15 2020, 5:51 PM · KWin
ngraham accepted D29764: [kcm/kwinrules] Fix size properties not being stored.
May 15 2020, 5:48 PM · KWin
iasensio updated the diff for D29783: [kcm/kwinrules] Fix placeholder message in RulesEditor.
  • Add comment
May 15 2020, 5:27 PM · KWin
iasensio updated the summary of D29764: [kcm/kwinrules] Fix size properties not being stored.
May 15 2020, 5:26 PM · KWin
ngraham accepted D29783: [kcm/kwinrules] Fix placeholder message in RulesEditor.

The problem with setting both top and bottom anchors (or using anchors.fill) is that it stretches the component and distorts the spacing between its internal items. However this instance doesn't have multiple items, so it's fine. However please add a comment mentioning this, should someone ever add a text label or an icon in the future.

May 15 2020, 4:51 PM · KWin
iasensio requested review of D29783: [kcm/kwinrules] Fix placeholder message in RulesEditor.
May 15 2020, 4:40 PM · KWin
iasensio added a comment to D29775: [kcmkwin/kwinrules] Create RulesModel on demand.

With ~20 rules I still can see a noticeable lag, although it's slightly better.

May 15 2020, 4:03 PM · KWin
meven added a comment to D29407: ScreenshotEffect: Use Service Property to authorize screenshot without confirmation.

It has been reminded me that this solution to have some security rest entirely on the guarantees offered by $XDG_DATA_DIRS.
Same can be said about X-KDE-Wayland-Interfaces.

But currently I believe this does not constitutes a strong security model.
A malicious executable could manufacture a fake $XDG_DATA_DIRS, add an application folder in it and a desktop file for its executable, trigger kbuildsyscoca5 and then use any of the restricted interfaces.
We would need further to restrict path for which we would consider the desktop file, for instance, like only root owned path.

May 15 2020, 2:58 PM · KWin
meven added inline comments to D29407: ScreenshotEffect: Use Service Property to authorize screenshot without confirmation.
May 15 2020, 2:55 PM · KWin
meven updated the diff for D29407: ScreenshotEffect: Use Service Property to authorize screenshot without confirmation.

Improve naming of fetchRequestedWaylandInterfaces

May 15 2020, 2:55 PM · KWin
meven removed a dependency for D29407: ScreenshotEffect: Use Service Property to authorize screenshot without confirmation: D29406: Add X-KDE-Original-Executable to Applications properties.
May 15 2020, 2:55 PM · KWin
meven added a dependency for D29407: ScreenshotEffect: Use Service Property to authorize screenshot without confirmation: D29774: Add X-KDE-DBUS-Restricted-Interfaces to Application desktop entry fields.
May 15 2020, 2:54 PM · KWin
broulik added inline comments to D29772: Don't compare string with empty string.
May 15 2020, 2:54 PM · KWin
iasensio added a comment to D29772: Don't compare string with empty string.

All the changes seem nice but this one. I've not yet figure out why

May 15 2020, 2:51 PM · KWin