[GH-ISSUE #1169] Bar is way bigger out of nowhere on my HD Screen #8785

Open
opened 2026-05-23 03:54:18 +01:00 by JakeStanger · 10 comments
Owner

Originally created by @VeeFreak on GitHub (Sep 21, 2025).
Original GitHub issue: https://github.com/JakeStanger/ironbar/issues/1169

Hi! By the way im love the bar so much that im move from waybar.
I noticed that the bar seems to double its intended size out of nowhere and i don't know why.
Here is the screenshot:

Image

On the left there is my HD screen and on the right my QHD screen.
All my other screen seem to scale correctly.
When i log in even the HD screen is fine but then it suddenly doubles in size.

Here is my system information:

OS: Arch Linux x86_64
Kernel: 6.14.5-6.14.5
DE: wlroots
Terminal: alacritty
CPU: Intel Ultra 7 155U (14) @ 4.800GH
GPU: Intel Graphics

Here is my config.yaml:

anchor_to_edges: true
position: bottom
icon_theme: kora
height: 30
start:

  - type: "network_manager"
    icon_size: 24

  - type: "bluetooth"
    icon_size: 35

  - type: "volume"
    format: '<span size="xx-large">{icon}</span>'


center:

  - type: "launcher"
    show_icons: true
    icon_size: 35

  - type: "tray"
    direction: 'h'
    icon_size: 40




end:
  - type: "clock"



  - type: "battery"
    format: "{percentage}"
    thresholds:
      full: 100
      mid: 50
      low: 20

Thank you!

Originally created by @VeeFreak on GitHub (Sep 21, 2025). Original GitHub issue: https://github.com/JakeStanger/ironbar/issues/1169 Hi! By the way im love the bar so much that im move from [waybar.](url) I noticed that the bar seems to double its intended size out of nowhere and i don't know why. Here is the screenshot: <img width="4065" height="785" alt="Image" src="https://github.com/user-attachments/assets/cefb262c-1a2c-4162-b900-868731330f17" /> On the left there is my HD screen and on the right my QHD screen. All my other screen seem to scale correctly. When i log in even the HD screen is fine but then it suddenly doubles in size. Here is my system information: OS: Arch Linux x86_64 Kernel: 6.14.5-6.14.5 DE: wlroots Terminal: alacritty CPU: Intel Ultra 7 155U (14) @ 4.800GH GPU: Intel Graphics Here is my config.yaml: ```yaml anchor_to_edges: true position: bottom icon_theme: kora height: 30 start: - type: "network_manager" icon_size: 24 - type: "bluetooth" icon_size: 35 - type: "volume" format: '<span size="xx-large">{icon}</span>' center: - type: "launcher" show_icons: true icon_size: 35 - type: "tray" direction: 'h' icon_size: 40 end: - type: "clock" - type: "battery" format: "{percentage}" thresholds: full: 100 mid: 50 low: 20 ``` Thank you!
Author
Owner

@JakeStanger commented on GitHub (Sep 21, 2025):

GTK will stretch to fit content, which means if you set an icon size larger than the bar height, your bar will stretch to fit the icons.

I see you've got some pretty large icon sizes in your config. I'd try reducing those and see if that helps.

<!-- gh-comment-id:3316238725 --> @JakeStanger commented on GitHub (Sep 21, 2025): GTK will stretch to fit content, which means if you set an icon size larger than the bar height, your bar will stretch to fit the icons. I see you've got some pretty large icon sizes in your config. I'd try reducing those and see if that helps.
Author
Owner

@VeeFreak commented on GitHub (Sep 21, 2025):

I did what you suggested.
Even when the icons are small, the hd screen will always double the size of my other screen.
And then make the bar bigger only for that screen.
Its only the launcher icons that seem to make it do that.

<!-- gh-comment-id:3316256242 --> @VeeFreak commented on GitHub (Sep 21, 2025): I did what you suggested. Even when the icons are small, the hd screen will always double the size of my other screen. And then make the bar bigger only for that screen. Its only the launcher icons that seem to make it do that.
Author
Owner

@JakeStanger commented on GitHub (Sep 21, 2025):

Can you confirm what version of Ironbar you're running, which compositor you're using, and some more info about your monitors please? The resolution and scaling of each in particular.

<!-- gh-comment-id:3316280136 --> @JakeStanger commented on GitHub (Sep 21, 2025): Can you confirm what version of Ironbar you're running, which compositor you're using, and some more info about your monitors please? The resolution and scaling of each in particular.
Author
Owner

@VeeFreak commented on GitHub (Sep 26, 2025):

Here is my Ironbar Version: ironbar 0.17.0
My compositor is labwc.
DP-6 "ASUSTek COMPUTER INC ASUS VA27EHE MCLMTF254150 (DP-6)"
Make: ASUSTek COMPUTER INC
Model: ASUS VA27EHE
Serial: MCLMTF254150
Physical size: 600x340 mm
Enabled: yes
I noticed the the battery icon and the launcher icons double in size.
The reste of the bar grows because of that.
Here is how it looks on my normal display:

Image

On my HD display its fine when i login.
As soon as i open an app on my launcher widget it doubles in size like this:

Image
<!-- gh-comment-id:3340712033 --> @VeeFreak commented on GitHub (Sep 26, 2025): Here is my Ironbar Version: ironbar 0.17.0 My compositor is labwc. DP-6 "ASUSTek COMPUTER INC ASUS VA27EHE MCLMTF254150 (DP-6)" Make: ASUSTek COMPUTER INC Model: ASUS VA27EHE Serial: MCLMTF254150 Physical size: 600x340 mm Enabled: yes I noticed the the battery icon and the launcher icons double in size. The reste of the bar grows because of that. Here is how it looks on my normal display: <img width="2870" height="966" alt="Image" src="https://github.com/user-attachments/assets/c925c017-7161-4d4c-b42d-3bfa133fa2b8" /> On my HD display its fine when i login. As soon as i open an app on my launcher widget it doubles in size like this: <img width="2418" height="1101" alt="Image" src="https://github.com/user-attachments/assets/3f2d3515-9266-4002-9fc3-c0cbc7dc302b" />
Author
Owner

@JakeStanger commented on GitHub (Sep 27, 2025):

I still need the resolution and scale please

<!-- gh-comment-id:3341435909 --> @JakeStanger commented on GitHub (Sep 27, 2025): I still need the resolution and scale please
Author
Owner

@JakeStanger commented on GitHub (Sep 27, 2025):

I'd also be interested to know if this still occurs on the GTK4 branch too, actually.

<!-- gh-comment-id:3341458302 --> @JakeStanger commented on GitHub (Sep 27, 2025): I'd also be interested to know if this still occurs on the GTK4 branch too, actually.
Author
Owner

@VeeFreak commented on GitHub (Sep 28, 2025):

profile rearranged {

output "ASUSTek COMPUTER INC ASUS VA27EHE MCLMTF254150" {
    mode 1920x1080@74.986000
    position 0,0
}

DP-6 "ASUSTek COMPUTER INC ASUS VA27EHE MCLMTF254150 (DP-6)"
Make: ASUSTek COMPUTER INC
Model: ASUS VA27EHE
Serial: MCLMTF254150
Physical size: 600x340 mm
Enabled: yes
Modes:
1920x1080 px, 60.000000 Hz (preferred)
1920x1080 px, 74.986000 Hz (current)
1920x1080 px, 59.939999 Hz

Im sorry im not sure what you mean by the GTK4 Branch.
How would i test this

<!-- gh-comment-id:3343837648 --> @VeeFreak commented on GitHub (Sep 28, 2025): profile rearranged { output "ASUSTek COMPUTER INC ASUS VA27EHE MCLMTF254150" { mode 1920x1080@74.986000 position 0,0 } DP-6 "ASUSTek COMPUTER INC ASUS VA27EHE MCLMTF254150 (DP-6)" Make: ASUSTek COMPUTER INC Model: ASUS VA27EHE Serial: MCLMTF254150 Physical size: 600x340 mm Enabled: yes Modes: 1920x1080 px, 60.000000 Hz (preferred) 1920x1080 px, 74.986000 Hz (current) 1920x1080 px, 59.939999 Hz Im sorry im not sure what you mean by the GTK4 Branch. How would i test this
Author
Owner

@JakeStanger commented on GitHub (Sep 29, 2025):

I'm assuming since there's no mention of it that your scaling is 1x?

Im sorry im not sure what you mean by the GTK4 Branch.
How would i test this

There's ongoing work to port the bar over to GTK4, which I'm hoping to merge into master in a week or so. You can build from source for now:

git clone https://github.com/jakestanger/ironbar.git
cd ironbar
git checkout refactor/gtk-4
cargo run --release

# optional - you can install the produced binary to run elsewhere
# change path to wherever you want to install
install target/release/ironbar ~/.local/bin/ironbar

Make sure to follow the guide above to ensure all the build requirements are installed.

<!-- gh-comment-id:3346189490 --> @JakeStanger commented on GitHub (Sep 29, 2025): I'm assuming since there's no mention of it that your scaling is 1x? > Im sorry im not sure what you mean by the GTK4 Branch. > How would i test this There's ongoing work to port the bar over to GTK4, which I'm hoping to merge into master in a week or so. You can [build from source](https://github.com/JakeStanger/ironbar/wiki/compiling) for now: ```shell git clone https://github.com/jakestanger/ironbar.git cd ironbar git checkout refactor/gtk-4 cargo run --release # optional - you can install the produced binary to run elsewhere # change path to wherever you want to install install target/release/ironbar ~/.local/bin/ironbar ``` Make sure to follow the guide above to ensure all the build requirements are installed.
Author
Owner

@VeeFreak commented on GitHub (Oct 11, 2025):

Hello my friend.
I am now im GTK4 and i still have the problem.
Keep on the good work!

<!-- gh-comment-id:3393494480 --> @VeeFreak commented on GitHub (Oct 11, 2025): Hello my friend. I am now im GTK4 and i still have the problem. Keep on the good work!
Author
Owner

@Keyruu commented on GitHub (Nov 6, 2025):

I have a similar problem. I have an HD laptop screen and the icons are normal sized but on my 1.4 scaled 4k screen the icons are very tiny:

          outputs = [
            {
              criteria = "eDP-1";
              mode = "1920x1200@60Hz";
              position = "0,0";
              scale = 1.0;
            }
            {
              criteria = "LG Electronics LG HDR 4K 0x00073A91";
              mode = "3840x2160@59.997";
              position = "-411,-1543";
              scale = 1.4;
            }
          ];

But only some icons. only the battery icon and the focused icon.

<!-- gh-comment-id:3496880033 --> @Keyruu commented on GitHub (Nov 6, 2025): I have a similar problem. I have an HD laptop screen and the icons are normal sized but on my 1.4 scaled 4k screen the icons are very tiny: ``` outputs = [ { criteria = "eDP-1"; mode = "1920x1200@60Hz"; position = "0,0"; scale = 1.0; } { criteria = "LG Electronics LG HDR 4K 0x00073A91"; mode = "3840x2160@59.997"; position = "-411,-1543"; scale = 1.4; } ]; ``` But only some icons. only the `battery` icon and the `focused` icon.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
JakeStanger/ironbar#8785
No description provided.