https://bugs.kde.org/show_bug.cgi?id=514758
--- Comment #2 from Kisaragi Hiu <[email protected]> --- This doesn't seem to be a wine issue, since Wine seems to simply map Windows's API function for removing an item from the taskbar directly to setting that window's skipTaskbar to true on X https://gitlab.winehq.org/wine/wine/-/blob/905be521d322c85bb63b34ab9230b4bab791fb0b/dlls/winex11.drv/window.c#L3508 https://gitlab.winehq.org/search?search=DELETE_TAB&nav_source=navbar&project_id=5&group_id=10&search_code=true https://learn.microsoft.com/en-us/windows/win32/api/shobjidl_core/nf-shobjidl_core-itaskbarlist-deletetab Note how the parent window has a minimum and maximum size of 1x1. I tried the first app from BUG 240517 and it does have the same issue (even now, 16 years later). (If anyone else wants to decide whether to keep this bug, or close this one in favor of reopening that one, I'm fine either way; but I'll keep investigating here for now.) That app has the same behavior: parent window is skipTaskbar, 1x1 in size, isn't actually visible; child window is visible but is hidden in taskbar because it's treated as a transient window. Seeing how there are several Win32 apps that are like this, this seems to be a bit of a convention, and it'd be nice if this is worked around. I tried out a workaround patch that only excludes a window with a parent from the taskbar if that parent is not 1x1 in size, and it does help put the apps in the taskbar, but then the taskbar doesn't highlight them as active even when they appear to be. The change to waylandtasksmodel.cpp (in WaylandTasksModel::data): } else if (role == SkipTaskbar) { // before: // return window->windowState.testFlag(PlasmaWindow::state::state_skiptaskbar) // || d->transients.contains(window); return window->windowState.testFlag(PlasmaWindow::state::state_skiptaskbar) || (d->transients.contains(window) // and not a 1x1 window && !(d->transients.value(window)->geometry.height() == 1 && d->transients.value(window)->geometry.width() == 1)); -- You are receiving this mail because: You are watching all bug changes.
