-
Notifications
You must be signed in to change notification settings - Fork 135
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
Refactor Window Manager interaction (Qt 6 version) #2029
Conversation
Fixes CMake error
a777aff
to
ea6c1ab
Compare
@stefonarch I've made some testing on KWin Wayland. This is the desktop file I'm using:
Named It works putting in one of these locations:
Editing the autostart file inside Please test again just to make sure you don't have a typo in your file |
Done, negative. There has to be some hidden difference somewhere. I'll test on the other Vm with the dev edition later. |
Do you launch it with dolphin? I always used pcmanfm and removed dolphin, at least on the VM with stable. |
Test launching from:
Qt Creator and Konsole are opened from plasma application launcher |
Also in my .desktop the Exec path is /usr/local vecause that's where CMake installs by default. Did you change install location? |
Did some more tests. Apparently Exec path must be absolute for it to work.
will not work and taskbar will be empty. I also tried setting desktop file in application start with:
but it doesn't seem to change anything. KDE has |
Also putting
Fixes the problem. |
Now on the dev edition VM, tried everything except QtCreator, I can't still reproduce what happens at your side. |
Oooops, looks like I'm on wayland_taskbar branch.... recompiling |
No wait. |
Yep, I see, this panel from the PR here dumps core with default config on wayland ;) and without config I didn't find it (transparent in middle of the screen I guess). It's a pity, thought I found the reason... |
This is interesting. How can I reproduce?
It depends on compositor. Right now:
|
Openbox session, make sure to be able to open konsole from right click on desktop:
without config it works, But I disabled all plugins which won't work anyway on wayland. But it should segfault on plasma session too I think. |
We are talking about |
I need porting the Done! |
ea6c1ab
to
a5d6b81
Compare
Yes, and switch to
Yes, but disabled all those which won't work on wayland plus statusnotifier and sysstat too. No issue on openbox, crashes in Plasma-session too. If [taskbar] section |
@stefonarch
Contents of
Contents of
Tests:
|
I'll test later this evening. What about dbusmenu-lxqt? |
OpenBox test:
|
So which plugins have you enabled now exactly?
This PR is not about wayland. |
a5d6b81
to
b3d93fb
Compare
Rechecked, was my window rule in kwin. Too many DE configured ;) |
Built with no changes to the PR, all plugins enabled and no error. But coredump when adding a taskbar under wayland is still the same. Without [taskbar] in panel.conf no issue. Under X11 all good.
|
I cannot reproduce. Can you put a breakpoint when settingsChanged() is emitted. Anyway you are running Xcb panel under wayland, why you don't hit the assert on X11 display? |
It happens on both machines here... another diff?
No, the panel runs always in xdg-shell if started on wayland. Usually I use an openbox session with a |
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
This new window propery flag is needed to notify geometry changes
- It is now a global instance
This will be used to avoid crashing panel in case no backend could be created. A warning message will be printed in this case.
65ea434
to
4b7cfd5
Compare
- Clarify desktop index range
TODO: this will disable changing desktop names
Replaced by #2041 |
Depends on #2024 (Qt6 port)
This is a replacement for #2007 rebased on Qt6 port
Main differences with initial idea:
ILXQtTaskbarAbstractBackend
is stored globally insideLXQtPanelApplication
(infact I should drop "taskbar" part of the name)TODO: port other plugins which currently directly use X11 to use this abstract interface