mirror of
https://github.com/JakeStanger/ironbar.git
synced 2026-07-11 08:15:21 +01:00
[GH-ISSUE #1259] Popups can't be displayed if they exceed monitor height/width #3195
Labels
No labels
A:Build
A:CI
A:Client
A:Config
A:Core
A:Documentation
A:Documentation
A:IPC
A:Testing
A:UX/UI
blocked
BREAKING CHANGE
duplicate
good first issue
GTK4
help wanted
invalid
M:Battery
M:Battery
M:Bindmode
M:Bluetooth
M:Brightness
M:Cairo
M:Clipboard
M:Clock
M:Clock
M:Custom
M:Focused
M:Keyboard
M:Launcher
M:Menu
M:Music
M:Music
M:Music
M:Network Manager
M:Notifications
M:SysInfo
M:Tray
M:Volume
M:Workspaces
partially resolved
P:Critical
P:High
P:Low
P:Medium
pull-request
T:Bug
T:Bug
T:Core Enhancement
T:Module Enhancement
T:New Module
T:Question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
JakeStanger/ironbar#3195
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @postsolar on GitHub (Nov 25, 2025).
Original GitHub issue: https://github.com/JakeStanger/ironbar/issues/1259
Describe the bug
This is a regression, not sure how recent.
Popups won't display if their content exceeds monitor's height or width. This applies to (at least) the modules Custom and Clipboard.
To reproduce
Steps to reproduce the behavior:
ironbar var set bindmode-hints "$(seq 100)"ironbar var set bindmode-hints "$(seq 10)"Same for exceeding monitor width.
Expected behavior
Not sure if it should be:
I didn't think it through yet. I guess as a quick initial fix just exceeding (previous behavior) is fine.
System information:
Configuration
Additional context
Seems to be related to GTK4 rewrite and also #1248
Screenshots
@JakeStanger commented on GitHub (Nov 25, 2025):
Hm, this behaviour seems to come from GTK4 directly - the popover widget is told to popup but simply does not, and nothing's created in the widget tree.
I can't find anything about this in the docs or any open issues, other than potentially this: https://gitlab.com/inkscape/inkscape/-/issues/5870
Is this a scenario you're hitting often? It feels like if popups are getting that big, there's another issue at hand anyway.
@postsolar commented on GitHub (Nov 25, 2025):
Normally I never hit it. Just noticed it when testing Clipboard module.
But this would happen to, AFAIU, any module if the user has it unconfigured and module provides no defaults (off the top of my head: at least clipboard #1050, volume, bluetooth #1245).
I think checking for monitor width/height and force-adding a ScrolledWindow (non-configurable) is a sane default for any module, less confusing for sure.
@JakeStanger commented on GitHub (Nov 25, 2025):
It sounds like that would be the sensible approach. I'm not regarding this as a blocker for the port, and I'm treating it as a low priority issue, but if you want to tackle this yourself go for it.
I think it probably makes sense to tackle the modules first, in that they should have sensible defaults that prevent this from happening in the first place. The clipboard module, for example, should probably truncate text (at least vertically) before it becomes a problem.