Chris Holland
Chris Holland
Wait nvm, I need to scale KWin not the app itself. I can use the Qt scaling env vars when restarting kwin to test it hopefully... Or just double the...
Oh ya, it's easy to just move the window to the bottom of the screen. It looks like the menu will open up the 2nd top level menu if you...
* https://doc.qt.io/qt-6/qguiapplication.html#nativeInterface * https://doc.qt.io/qt-6/qnativeinterface-qx11application.html There's a `connection()` function. Do I need `display() => Display` then `XGetXCBConnection(Display) => xcb_connection_t`? There shouldn't be multiple connections for each display right? ----- Here's how...
TODO: I need to add `#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)` check to use `#include `. https://invent.kde.org/plasma/breeze/-/commit/59142d5b800703986c1f4f71ab150bf4b4b23f3a#0f8721806070aa2f5fd1a8c2d4f6c865f35f96ab_27_27 ```cpp #if BREEZE_HAVE_QTX11EXTRAS #if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0) #include #else #include #endif...
https://doc.qt.io/qt-6/extras-changes-qt6.html#changes-to-qt-x11-extras
Apparently there's no fade out animations ATM since the current fg/bg color is based on the current hover/pressed state. I'll need to rethink my button animation code to support these...
This would makes sense to add as this is the look most mac top panels have. However most window captions are really long. I'd probably need to draw the application...
`AbstractClient::iconFromDesktopFile` has a good example of reading the `Icon` from the desktop file which we can use as an example to get the name. * https://invent.kde.org/plasma/kwin/-/blob/master/src/abstract_client.cpp#L2642 * https://api.kde.org/frameworks/kconfig/html/classKDesktopFile.html
Openining `virt-manager` appears to be fine. However closing it to the system tray, then opening it again causes it to not display the menu. The Reveal on Hover animation is...
Did a little debugging. * Run `xprop` + click Sublime Text window. * `_KDE_NET_WM_APPMENU_OBJECT_PATH(STRING) = "/MenuBar/320"` * `_KDE_NET_WM_APPMENU_SERVICE_NAME(STRING) = "org.kde.plasma.gmenu_dbusmenu_proxy"` * Run `qdbusviewer` * `org.kde.plasma.gmenu_dbusmenu_proxy` => `/MenuBar` => `/320` *...