Skip to content

GTK4 minimize/maximize icons are bigger than the one built on Linux/MSYS #1763

@foriequal0

Description

@foriequal0

Hi, I'm building a GTK4 / libadwaita app.

I noticed that minimize/maximize icons are bigger on the Windows build.

(gvsbuild 2026.4.1, GTK 4.22.2, libadwaita 1.9, Rust 1.95-msvc)
Image

I thought it was GTK's problem, but the problem is gone if I build it on MSYS, so I am reporting it on here.

(MSYS2, mingw-w64-x86_64-gtk4-4.22.3-1, mingw-w64-x86_64-libadwaita-1.9.0-1, Rust 1.95-gnu)
Image

Here are the cropped images:

(gvsbuild 2026.4.1, GTK 4.22.2, libadwaita 1.9)
Image

(gvsbuild 2026.4.1, GTK 4.22.2)
Image

use gtk::{ApplicationWindow, HeaderBar};
use gtk::Application;
use gtk::prelude::*;
use gtk::glib;

fn main() -> glib::ExitCode {
    let app = Application::builder().application_id("io.github.foriequal0.Test").build();
    app.connect_activate(|_| {
        let window = ApplicationWindow::new(app);
        let headerbar = HeaderBar::new();
        headerbar.set_parent(&window);
        window.present();
    });
    app.run()
}

(MSYS2, mingw-w64-x86_64-gtk4-4.22.3-1, mingw-w64-x86_64-libadwaita-1.9.0-1)
Image

(Linux, GTK 4.22, HiDPI 200%)
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions