-
Notifications
You must be signed in to change notification settings - Fork 55
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
The applet doesn't work 100% identically compared to the buttons on a normal window #64
Comments
Interestingly enough, it worked for me until I restarted latte (including the update to kupiqu/SierraBreezeEnhanced#56). Perhaps some heuristic failed? |
The window buttons applet is a different case than the decorations preview kcm. So @trmdi you must describe me what your code is doing and I can tell you afterwards what is happening. I have not found any way to draw real deoration2 in the applet. It is not possible because a real decoration draws also the window title background. |
I just override the virtual function in the Decoration class. |
I don't think that can work with the applet |
Maybe, I'm about to tell you that when debugging I found that all buttons created by the applet has the same decoration which is a Breeze::Decoration object. |
Didn't work. |
I don't know, I try adding a |
me neither, it should just work like all the rest signals |
Ah, it is the value of "e " which you send to decoration() is not true.
Some numbers:
|
how about:
|
Not work.
|
Hmm, the problem is the geometry and layout are very different between the applet and the normal Decoration. So we can't send a right event to the decoration. |
Send me a PR with what you are describing in order to test it out |
I don't know, but apply those 2 patches I've just sent fix all issues. |
As far as I can see, kupiqu/SierraBreezeEnhanced#58 only affects the window buttons applet and depends on #68 to be merged here. So before I merge kupiqu/SierraBreezeEnhanced#58 I would like to know if you are planning to merge #68. Thank you |
I think what @psifidotos needs to know (correct me if wrong) is if #68 builds on top of d7b466e or if it is independent, in which case such commit (d7b466e) can be reverted. As I didn't test #68, neither kupiqu/SierraBreezeEnhanced#58 I cannot really answer that question... EDIT: I made what I think could be reverted (d7b466e) more explicit |
I found this from this patch: kupiqu/SierraBreezeEnhanced#56
It still works correctly with normal KWin windows as well as the preview window in SystemSettings.
The text was updated successfully, but these errors were encountered: