内容简介:We have been busy recently on the Wayland Goal.A few of those points were already highlight onThe changes I mention here will be present in Plasma 5.19, but they are exhaustive.
We have been busy recently on the Wayland Goal.
A few of those points were already highlight on Nate's excellent blog . But some were missing, and I wanted to highlight those dedicated to Wayland with more context.
The changes I mention here will be present in Plasma 5.19, but they are exhaustive.
KWin and architecture changes
Thanks to Aleix Pol, KWin Wayland in Plasma 5.19 now has Wayland tablet protocol support meaning we have tablet touch and pen pressure. Kwin patch and KWayland patch
Vlad improved subsurface clipping , it means the compositor can do less work and better figure out what to paint and not to paint. It is most visible for applications like Firefox that uses a lot of Wayland surfaces. D29131 kwin!5
With D29250 the resizing of XWayland windows has become smoother and matches X experience. This still needs next version of XWayland 1.21 to work though.
And KWin has had more changes under the surface.
The KWayland library has been split library into two libraries. One KWayland contains the regular KWayland::Client stuff but the new kwayland-server contains now the KWayland::Server part.
Because KWayland is part of KDE frameworks it is released monthly, independently of Plasma releases, and we have to care about not breaking the API when making changes. But on the other hand KWayland::Server is only ever used by KWin, so it added some churn to the development of KWayland::Server which was not needed. Now KWayland-server will have a Plasma release cycle same as KWin, and will simplify our workflow evolving our Wayland compositor implementation. New depot is at https://invent.kde.org/plasma/kwayland-server .
Plasma
The global application menu has is now working in Wayland thanks to Carson Black patch serie: D27464 , D28168 , D28150 , D28112 , D27959 , D27818 and D28146 , bug . This is typical Wayland work : make new APIs because old ones were X specific or could not work with Wayland, add some wiring code and then use the new one in programs using. This most often end up in better code architecture, better decoupled.
The task manager can now bring forward multiple windows of the same program and remembering in which order they are stacked together bug patch 1 patch 2 patch 3 and patch 4 .
KRunner is better positioned .
Kscreen Osd are now usable, allowing you to to setup a newly connected screen and identify your plugged-in screen bug D28817 D28818 D28916
Bugfixes
Quite a few crash KWin were resolved : D28668 D28858 D28889 D27536 kwin!9 kwin!8
And drkonqi got a couple fix : D28692 D28832 .
Plasma Wayland specific features
Thanks to the way Wayland is architectured, we can add features than are impossible with X server. For instance in plasma 5.19 in Wayland you will be able to setup a scrolling speed for mice and touchpads. D28331 D28310
But our journey is far from over.
Our goal is in part to make Plasma run in Wayland by default allowing pixel perfection, real security in the display server, better performance and overall better architecture.
The road is still long to reach feature parity with the venerable X based sessions. So we need as much people to help whether it is for testing, hacking code or reporting bugs.
There is a Plasma virtual Sprint starting right now spawning two weeks, where a lot of people involved in the Goal will participate. I invite you to join-in : Plasma virtual sprint 2020 .
Also Drew DeVault released a great book about Wayland you can read at https://wayland-book.com/ to better understand Wayland inner-workings.
以上所述就是小编给大家介绍的《Wayland Status update for Plasma 5.19》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!
本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
Python标准库
Doug Hellmann / 刘炽 / 机械工业出版社华章公司 / 2012-6-15 / 139.00元
本书由资深Python专家亲自执笔,Python语言的核心开发人员作序推荐,权威性毋庸置疑。 对于程序员而言,标准库与语言本身同样重要,它好比一个百宝箱,能为各种常见的任务提供完美的解决方案,所以本书是所有Python程序员都必备的工具书!本书以案例驱动的方式讲解了标准库中一百多个模块的使用方法(如何工作)和工作原理(为什么要这样工作),比标准库的官方文档更容易理解(一个简单的示例比一份手册......一起来看看 《Python标准库》 这本书的介绍吧!