You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Linux] Verify: reports carried over from window_manager #79
These were reported against window_manager 0.5.x, whose platform code is gone: window_manager 0.6.0 is rebuilt on nativeapi. Each item has been fixed, tested, or audited against nativeapi (see #100 and the closing comment below).
All 9 carried-over Linux items have been addressed via #100 (8988ba0, merged as fce83bf), prior Linux windowing fixes, and audit against current nativeapi-core:
#179 (transparent background renders black) — Fixed in Fix Linux GtkHeaderBar title sync/layout and locale-safe translucent background CSS #100 (8988ba0: pre-realize RGBA visual + gtk_widget_set_app_paintable, locale-safe g_ascii_formatd, single replaced GtkCssProvider, plus runtime fl_view_set_background_color) and 7247fcb (transparent shadow gutters under KDE GTK theme overrides).
Covered by existing Linux implementation & tests / audited
#167 (full screen doesn't work) — Window::SetFullScreen handles both X11 and pre-map Wayland (ApplyPendingFullscreen on map, saving/restoring pre-map size), covered by tests/window_startup_state_linux_test.cpp; WindowMovedEvent is deduplicated and not spuriously fired on Wayland (x=y=0).
#535 (fullscreen hide/show shifts window) — nativeapiWindow::Hide() / Show() use gtk_widget_hide() / PresentWindow() directly without saving/re-applying gtk_window_get_position() → gtk_window_move() (which accumulated CSD/shadow offsets in window_manager 0.5.x), and window_shadow_linux.h suppresses shadow gutters in kFittedStates (covered by tests/window_shadow_remap_linux_test.cpp).
#411 (setSize has no effect) — Window::SetContentSize applies gtk_window_set_default_size, gdk_window_resize, and gtk_window_resize before mapping and updates default_size for non-resizable windows (covered by tests/window_resizable_linux_test.cpp and tests/window_shadow_remap_linux_test.cpp). Note: tiling compositors like Hyprland enforce tile sizes by compositor policy for non-floating windows.
#427 (onWindowResize endless loop) — on_configure_emission_hook in window_manager_linux.cpp strictly deduplicates by comparing (width, height) against g_window_geometry[widget], and RefreshGeometryHints / ApplyWindowControls only mutate hints/layout when values actually change.
#497 (window repositions on start) — Window::SetPosition uses gtk_window_move() (preserved across initial map on X11) and GetContentSize() returns requested_content_size_ pre-map so Center() positions before first map (paired with SetWillShowHook). On Wayland, global window placement is compositor-controlled by protocol.
#519 (black window in GTK_PLUG mode just from dependency) — Obsolete under nativeapi: window_manager 0.6+ no longer registers a Linux Flutter C++ plugin at startup, and cnativeapi performs no window mutations until explicitly invoked.
#561 (title bar glitches with min/max size or setResizable on KDE Plasma 6 Wayland / NVIDIA) — nativeapi replaces legacy gtk_window_set_geometry_hints with child-requisition MinimumSizeRequest, deferred idle RefreshGeometryHints, and size-preserving SetResizable (18d2a41, covered by tests/window_size_constraints_linux_test.cpp, tests/window_resizable_linux_test.cpp, and KWin 6 Wayland verification in tools/gui/window_minimum_restore_verification.md; NVIDIA-specific compositor glitches were not tested on NVIDIA hardware and remain upstream).
10/10 CI runs are green on main (6b179a9). Closing this legacy tracking issue; if any item still reproduces with current nativeapi / window_manager 0.6+, please open a focused issue with environment details and a minimal reproduction.
Activity
lijy91 commentedon Nov 22, 2026
All 9 carried-over Linux items have been addressed via #100 (
8988ba0, merged asfce83bf), prior Linux windowing fixes, and audit against currentnativeapi-core:Fixed in
nativeapi-core8988ba0):Window::SetTitlenow syncsgtk_header_bar_set_title()and callsgtk_widget_queue_resize(titlebar)when aGtkHeaderBaris installed.8988ba0: pre-realize RGBA visual +gtk_widget_set_app_paintable, locale-safeg_ascii_formatd, single replacedGtkCssProvider, plus runtimefl_view_set_background_color) and7247fcb(transparent shadow gutters under KDE GTK theme overrides).Covered by existing Linux implementation & tests / audited
Window::SetFullScreenhandles both X11 and pre-map Wayland (ApplyPendingFullscreenonmap, saving/restoring pre-map size), covered bytests/window_startup_state_linux_test.cpp;WindowMovedEventis deduplicated and not spuriously fired on Wayland (x=y=0).nativeapiWindow::Hide()/Show()usegtk_widget_hide()/PresentWindow()directly without saving/re-applyinggtk_window_get_position()→gtk_window_move()(which accumulated CSD/shadow offsets inwindow_manager0.5.x), andwindow_shadow_linux.hsuppresses shadow gutters inkFittedStates(covered bytests/window_shadow_remap_linux_test.cpp).setSizehas no effect) —Window::SetContentSizeappliesgtk_window_set_default_size,gdk_window_resize, andgtk_window_resizebefore mapping and updatesdefault_sizefor non-resizable windows (covered bytests/window_resizable_linux_test.cppandtests/window_shadow_remap_linux_test.cpp). Note: tiling compositors like Hyprland enforce tile sizes by compositor policy for non-floating windows.onWindowResizeendless loop) —on_configure_emission_hookinwindow_manager_linux.cppstrictly deduplicates by comparing(width, height)againstg_window_geometry[widget], andRefreshGeometryHints/ApplyWindowControlsonly mutate hints/layout when values actually change.Window::SetPositionusesgtk_window_move()(preserved across initial map on X11) andGetContentSize()returnsrequested_content_size_pre-map soCenter()positions before first map (paired withSetWillShowHook). On Wayland, global window placement is compositor-controlled by protocol.GTK_PLUGmode just from dependency) — Obsolete undernativeapi:window_manager0.6+ no longer registers a Linux Flutter C++ plugin at startup, andcnativeapiperforms no window mutations until explicitly invoked.setResizableon KDE Plasma 6 Wayland / NVIDIA) —nativeapireplaces legacygtk_window_set_geometry_hintswith child-requisitionMinimumSizeRequest, deferred idleRefreshGeometryHints, and size-preservingSetResizable(18d2a41, covered bytests/window_size_constraints_linux_test.cpp,tests/window_resizable_linux_test.cpp, and KWin 6 Wayland verification intools/gui/window_minimum_restore_verification.md; NVIDIA-specific compositor glitches were not tested on NVIDIA hardware and remain upstream).10/10 CI runs are green on
main(6b179a9). Closing this legacy tracking issue; if any item still reproduces with currentnativeapi/window_manager0.6+, please open a focused issue with environment details and a minimal reproduction.