[GH-ISSUE #49] Bar is always on top #7057

Closed
opened 2026-05-23 02:52:12 +01:00 by JakeStanger · 4 comments
Owner

Originally created by @ghost on GitHub (Jan 4, 2023).
Original GitHub issue: https://github.com/JakeStanger/ironbar/issues/49

When I open some game or app in fullscreen, the bar still appears.

Originally created by @ghost on GitHub (Jan 4, 2023). Original GitHub issue: https://github.com/JakeStanger/ironbar/issues/49 When I open some game or app in fullscreen, the bar still appears.
Author
Owner

@JakeStanger commented on GitHub (Jan 4, 2023):

This isn't an issue I've ever faced. Could you please share some details so I can investigate? Config, distro, compositor, etc...

<!-- gh-comment-id:1370933276 --> @JakeStanger commented on GitHub (Jan 4, 2023): This isn't an issue I've ever faced. Could you please share some details so I can investigate? Config, distro, compositor, etc...
Author
Owner

@ghost commented on GitHub (Jan 4, 2023):

Config:
position = "bottom"
height = 42

[[start]]
type = "launcher"
favorites = ["xplr", "firefox"]

[[end]]
type = "tray"

[[end]]
type = "sys_info"
format = [
    "CPU {cpu_percent}%",
    "RAM {memory_used} / {memory_total} GB ({memory_percent}%)"
]

[[end]]
type = "clock"

[[end]]
class = 'power-menu'
type = 'custom'

[[end.bar]]
on_click = 'popup:toggle'
label = '⏻'
name = 'power-btn'
type = 'button'

[[end.popup]]
orientation = 'vertical'
type = 'box'

[[end.popup.widgets]]
label = 'Power menu'
name = 'header'
type = 'label'

[[end.popup.widgets]]
type = 'box'

[[end.popup.widgets.widgets]]
class = 'power-btn'
on_click = '!shutdown now'
label = '''<span font-size='40pt'>⏻</span>'''
type = 'button'

[[end.popup.widgets.widgets]]
class = 'power-btn'
on_click = '!reboot'
label = '''<span font-size='40pt'>↻</span>'''
type = 'button'

[[end.popup.widgets]]
label = '''Up: {{30000:uptime -p | cut -d ' ' -f2-}}'''
name = 'uptime'
type = 'label'

Distro: Arch Linux

Compositor: Labwc 0.5.3 (need to update to 0.6.0, I'm going to try again on that version)

<!-- gh-comment-id:1371002624 --> @ghost commented on GitHub (Jan 4, 2023): <details> <summary>Config:</summary> ``` position = "bottom" height = 42 [[start]] type = "launcher" favorites = ["xplr", "firefox"] [[end]] type = "tray" [[end]] type = "sys_info" format = [ "CPU {cpu_percent}%", "RAM {memory_used} / {memory_total} GB ({memory_percent}%)" ] [[end]] type = "clock" [[end]] class = 'power-menu' type = 'custom' [[end.bar]] on_click = 'popup:toggle' label = '⏻' name = 'power-btn' type = 'button' [[end.popup]] orientation = 'vertical' type = 'box' [[end.popup.widgets]] label = 'Power menu' name = 'header' type = 'label' [[end.popup.widgets]] type = 'box' [[end.popup.widgets.widgets]] class = 'power-btn' on_click = '!shutdown now' label = '''<span font-size='40pt'>⏻</span>''' type = 'button' [[end.popup.widgets.widgets]] class = 'power-btn' on_click = '!reboot' label = '''<span font-size='40pt'>↻</span>''' type = 'button' [[end.popup.widgets]] label = '''Up: {{30000:uptime -p | cut -d ' ' -f2-}}''' name = 'uptime' type = 'label' ``` </details> Distro: Arch Linux Compositor: Labwc 0.5.3 (need to update to 0.6.0, I'm going to try again on that version)
Author
Owner

@JakeStanger commented on GitHub (Jan 4, 2023):

Okay, please try again with the latest Labwc and let me know.

Since ironbar uses gtk-layer-shell, it basically requests a surface from the compositor, so that should be handling the fullscreen logic. That leads me to believe labwc is the likely culprit here, but I'll have to do some more testing to be sure. If you're able to see if the problem still occurs for you in sway/hyprland that'd be great.

<!-- gh-comment-id:1371223121 --> @JakeStanger commented on GitHub (Jan 4, 2023): Okay, please try again with the latest Labwc and let me know. Since ironbar uses gtk-layer-shell, it basically requests a surface from the compositor, so that should be handling the fullscreen logic. That leads me to believe labwc is the likely culprit here, but I'll have to do some more testing to be sure. If you're able to see if the problem still occurs for you in sway/hyprland that'd be great.
Author
Owner

@ghost commented on GitHub (Jan 4, 2023):

Yep, the issue was solved in the new version of Labwc, you was right. Thanks!

<!-- gh-comment-id:1371349188 --> @ghost commented on GitHub (Jan 4, 2023): Yep, the issue was solved in the new version of Labwc, you was right. Thanks!
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#7057
No description provided.