Profile

Cover photo
Martin Gräßlin
Attended Ruprecht Karl University of Heidelberg
3,205 followers|4,242,646 views
AboutPosts

Stream

Martin Gräßlin

Shared publicly  - 
 
KWin no longer requires KService framework for finding it's plugins. It's all either KPluginLoader or KPackage. So no more sycoca and with that comes a faster startup.
30
Albert Astals Cid's profile photoMark Gaiser's profile photoSolerman Kaplon's profile photo
3 comments
 
Cache helps if what you're caching is slower to get at than the cache itself (including cache sync overhead) && (you have more than one access || you can prefetch without stealling precious cyles/memory) :)
Add a comment...

Martin Gräßlin

Shared publicly  - 
 
kdeconnect goes Wayland - input from your smartphone to a kwin_wayland server.

I honestly feel a little bit dirty about the interface I added for that.
Please note: this currently depends on unpushed changes in KWayland and KWin. It's an early review and needs some more testing on a full Wayland session. Also key events are not yet implemented - will probably not happen in first version as my knowledge about keys on Wayland is still too limited ...
40
Bernhard Friedreich (friesoft)'s profile photoAlexander Patrakov's profile photoMartin Gräßlin's profile photo
5 comments
 
+Alexander Patrakov we already added support for emulating mouse clicks if you have touch events and the application doesn't accept touch events.
Add a comment...

Martin Gräßlin

Shared publicly  - 
 
today on IRC: "I propose to rename kwin do kwind because it swallows all features duck and run"
-- by +Kai Uwe b 
64
4
Torsten Schommer's profile photoHarald Sitter's profile photoKai Uwe b's profile photoAbhishek Rawal's profile photo
10 comments
 
It's not like I'm still maintaining kglobalshortcuts, but I like what you are doing. Just take this advice: Do not make blocking DBus calls without serious consideration. If I had known that at the time, we wouldn't have had that horrible bug where global shortcuts could freeze most of your desktop. Listening to global shortcuts was moved into its own process as a workaround at the time. Now you're moving it into KWin, you should know what kind of egg you put into your nest as we approximately say in German ;)
Add a comment...

Martin Gräßlin

Shared publicly  - 
 
A new blog post about the latest state of Plasma session on Wayland. Yes the screenshot in that preview is a Plasma session on Wayland!
102
4
Sebastian Kügler's profile photoJens Reuterberg's profile photoPrasad Murthy's profile photoShkarlat Andrey's profile photo
14 comments
 
Ideally users should be able to run us on whichever compositor they want. LXQt is just a bunch of qt apps tied together.
Add a comment...

Martin Gräßlin

Shared publicly  - 
 
This screenshot illustrates a new feature I worked on this morning: global shortcut handling in kwin_wayland. The yakuake window, which was used to do this screenshot, got opened through the global shortcut triggered by KWin.

Global shortcut handling on Wayland needs a different architecture. kglobalaccel5 on X11 is basically a global keylogger. This is an architecture we do not want to support anymore for obvious security reasons. Thus the functionality needs to move into the compositor (in this case KWin) in a way that it doesn't allow to be used for key logging.
54
2
Boudhayan Gupta's profile photoMartin Gräßlin's profile photoIgor Gnatenko's profile photoJohann Philipp Strathausen's profile photo
9 comments
 
+Boudhayan Gupta no, only the one which saves a screenshot to /tmp. The one intended for KSnapshot is not working on Wayland.
Add a comment...

Martin Gräßlin

Shared publicly  - 
 
Yesterday my kwin_wayland learned another feature from X11 world: window placement. Given that Wayland windows are now placed using KWin's placement algorithm has some funny side-effects: e.g. popups or context menus being placed at the next suitable position. I think it's time to implement popup handling ;-)
65
Boudhayan Gupta's profile photoMartin Gräßlin's profile photoErica Clawson (Blargle Ragequit)'s profile photoValerio De Angelis's profile photo
10 comments
 
It's strange that nobody commented the rightfully choice to put a clock in the screenshot.
I'm afraid about the people begin to give that for discounted. It was an important achievement for all of us.
We must not forget the times when an army of screenshots were posted without a clock inside.
:-)
Add a comment...

Martin Gräßlin

Shared publicly  - 
 
Argh finally I understand why KWin (Wayland) freezes during startup. It starts kded5 and that blocks in dbus till the service is started. And what does kded5? It blocks in QWaylandDisplay::forceRoundTrip.

Looks like I need to better control the startup of kded or ensure that KWin doesn't need kded during startup...
32
David Edmundson's profile photoMartin Gräßlin's profile photoXuetian Weng's profile photoAndreas Hartmetz's profile photo
12 comments
 
It is IMO a major problem with QtDBus that it makes blocking calls the default and doesn't warn you about the dangers of blocking calls. Heck, why haven't I sent a change request for the documentation yet? I guess I should.
Add a comment...

Martin Gräßlin

Shared publicly  - 
 
The kglobalaccel change I blogged about the other day is now merged into kwin master!
41
Martin Gräßlin's profile photoValerio De Angelis's profile photoAndreas Sturmlechner's profile photoMartin Peres's profile photo
7 comments
 
+Andreas Sturmlechner, that was not my point, but I definitely agree!
Add a comment...

Martin Gräßlin

Shared publicly  - 
 
And another blog post about KGlobalAccel in Wayland. Something I worked on recently and where patches are currently under review (and to be merged soonish).
KDE Frameworks contain a framework called KGlobalAccel. This framework allows applications to register key bindings (e.g. Alt+Tab) for actions. When the key binding is triggered the action gets inv...
28
Add a comment...

Martin Gräßlin

Shared publicly  - 
 
This evening I did the huge mistake to look into kinit, kwrapper5, kded startup and ksmserver to see what needs changing to start a wayland session. Now I want to cry.
67
1
Nehemiah Dacres (dacresni)'s profile photoBenedict Yappy's profile photoMartin Gräßlin's profile photoCristian Rodriguez's profile photo
16 comments
 
+Benedict Yappy if Gentoo's KDE overlay has everything from master then it should be possible to run the Wayland bits we have ready.
Add a comment...

Martin Gräßlin

Shared publicly  - 
 
Slowly, slowly all the features become available.
117
2
Shkarlat Andrey's profile photoWilson Filho's profile photo
Add a comment...

Martin Gräßlin

Shared publicly  - 
 
I asked +Sebastian Kügler to video our Wayland progress. Stay tuned for more Wayland progress being shown at Akedemy next month.
 
Wayland progress! In this video, +Martin Gräßlin shows KDE's Plasma shell running natively on a Wayland display server implemented in KWin. This is now possible with the latest code from KDE's Git repositories -- and it's highly experimental. 

Martin also shows seamless integration of X11 apps. The Kwrite window you see in the demo is rendering using X11 (over the xwayland extension), Kwin on Wayland supports X11 clients transparently, so it's fully backwards compatible. 

You'll also notice a whole bunch of bugs, which is natural as this is work in progress. We're working hard on finishing the missing features and fixing bugs left and right.
5 comments on original post
84
3
Bhushan Shah's profile photoMichael Hall's profile photoMatteo De Carlo's profile photoDavide Ferrara (Picchio)'s profile photo
9 comments
 
Okay, thanks for heads up.. I've to update things first though.. :-D
Add a comment...
People
Work
Occupation
Software developer and engineer, KWin maintainer
Basic Information
Gender
Male
Other names
Martin Graesslin
Story
Tagline
Open Source Software Developer, Maintainer of KDE Plasma Compositor and Window Manager
Introduction
KDE Developer
Education
  • Ruprecht Karl University of Heidelberg
    Applied Computer Science (M.Sc.), 2007 - 2010
  • Berufsakademie Mannheim
    Applied Computer Science (B.Sc.), 2004 - 2007
Links
Other profiles
Contributor to