-
Notifications
You must be signed in to change notification settings - Fork 134
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
[WIP] TaskBar plugin refactor #2007
Conversation
9b6ae3f
to
8916fe6
Compare
|
We could use this code also for Desktop Switch plugin |
Ok. I tryed making a wayland backend but first we need perting to Qt 6 and for layer shell we need Qt 6.6 which has some important improvments |
@gfgit, your work is very appreciated. |
Compiles fine here too, no issues found atm. |
I did some heavy testing of most taskbar features and settings, didn't find any regression (just noticed how much I really miss this plugin under wayland). |
@stefonarch I've pushed wayland branch on my fork. |
About this PR, I think this backend class should be not specific to taskbar but a global, stored inside LXQtApplication class. |
Nice, will test tomorrow morning, but where can I get layer-shell-qt v.6 on Neon? |
I'm using neon developer edition which basically is neon unstable. |
Reading their git log it seems LayerShellQt 5.91.0 already contains the popup fix and requires Qt 6.6 |
Needed
But testing in a kwin_wayland session it didn't show open applications, I thought maybe it needs some plasma stuff or env vars too, but the taskbar doesn't show apps in plasma too, but exclusive zone works (fullscreen pcmanfm-qt in screenshot). For some reason changing from bottom to top panel was applied only after some window changes. But as plasma-wayland freezes all the time I can't test much on plasma, better in nested |
Besides taskbar I found:
But really nice all, just wonder why the taskbar doesn't work. Maybe because it's neon unstable and not developer. kwin_taskbar6.mp4EDIT: Exclusive zone and placement is working fine also on labwc. Note that using
|
Put the desktop in /usr/share instead of local folder inside your home. |
Also how do you make these small videos/gifs? |
Only working in labwc/sway ecc:
then I switch to the desktop with the VM. Until some months ago GH sayd there were corrupted, wf-recorder is updated. In plasma no idea, bu
Will try that, although now the VM has some troubles. |
Didn't help moving it to The video here was 3,2Mb |
Also use it to get window icon
- Don't rely on global screen coordinates - This will be needed for future Wayland port, Where we don't have global screen coordinates - Keep compatible behavior on X11
TODO: properly setup CMake filse
This new window propery flag is needed to notify geometry changes
- It is now a global instance
@stefonarch sometimes I hit this error:
Cleaning build directory and doing a full build seems to fix it temporarily |
Fired up a developer edition, but got the same results (and quite tired from Neon/Plasma freezes): taskbar no,exclusive zone yes. |
I think the Qt6 port should take priority, but I also like to see your refactoring in the next release. In the end, it depends on which PR is reviewed first. When KF6 comes to Manjaro Testing, I'll start to review your Qt6 PRs. Thanks for the hard work! |
e923744
to
3aee064
Compare
Maybe you didn't see, it's announced: https://alternativeto.net/news/2024/2/lxqt-2-0-will-transition-entirely-to-qt6-with-initial-wayland-compatibility/ taken from here: Other linux news sites have cited more poorly and written about more wayland support, but who knows if we finish even in time for Qt6 in April, but I've good feeling :) |
Ok great. Than I'll close this and keep only #2029 |
Equivalent to #2029 but for Qt5
It should be easy to rebase Qt6 port on top of this