Skip to content

v3: Window maximum width and height issues on Linux Wayland #4429

@VirxEC

Description

@VirxEC

Description

Same as #2431 but on Wails v3 - this previous issue was closed when #4047 was merged, but the PR only fixed the issue for Wails v2.

To Reproduce

Same as #2431

Expected behaviour

Same as #2431

Screenshots

Same as #2431

Attempted Fixes

No response

System Details

Wails (v3.0.0-alpha.10)  Wails Doctor 
                                                                                                                                                                                                                                                                                                                                                                           
# System 

┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
| Name         | Ubuntu                                                                                                               |
| Version      | 24.04                                                                                                                |
| ID           | ubuntu                                                                                                               |
| Branding     | 24.04.2 LTS (Noble Numbat)                                                                                           |
| Platform     | linux                                                                                                                |
| Architecture | amd64                                                                                                                |
| CPU          | AMD Ryzen 9 5900X 12-Core Processor                                                                                  |
| GPU 1        | Navi 22 [Radeon RX 6700/6700 XT/6750 XT / 6800M/6850M XT] (Advanced Micro Devices, Inc. [AMD/ATI]) - Driver: amdgpu  |
| Memory       | 32GB                                                                                                                 |
└─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘

# Build Environment 

┌────────────────────────────────┐
| Wails CLI    | v3.0.0-alpha.10 |
| Go Version   | go1.24.1        |
| -buildmode   | exe             |
| -compiler    | gc              |
| CGO_CFLAGS   |                 |
| CGO_CPPFLAGS |                 |
| CGO_CXXFLAGS |                 |
| CGO_ENABLED  | 1               |
| CGO_LDFLAGS  |                 |
| GOAMD64      | v1              |
| GOARCH       | amd64           |
| GOOS         | linux           |
└────────────────────────────────┘

# Dependencies 

┌──────────────────────────────────────┐
| gtk3       | 3.24.41-4ubuntu1.3      |
| npm        | 9.2.0                   |
| pkg-config | 1.8.1-2build1           |
| webkit2gtk | 2.48.3-0ubuntu0.24.04.1 |
| gcc        | 12.10ubuntu1            |
|                                      |
└────── * - Optional Dependency ───────┘

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't workingLinuxReady For TestingA fix is available and needs testingv3

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions