noctalia-shell icon indicating copy to clipboard operation
noctalia-shell copied to clipboard

[BUG] Middle clicking on bar widgets opens the modal above the settings window

Open Jinra opened this issue 4 months ago • 7 comments

Submission checklist

  • [x] I have searched existing issues and confirmed this is not a duplicate.
  • [x] I am using the latest available version of Noctalia.

Bug description

The respective widget's settings modal appears over the settings window. This happens even when disabling my window rule to float Noctalia's settings

https://github.com/user-attachments/assets/55dc4b1d-b1a1-4e3d-ab8f-1a22fd82a49f

Steps to reproduce

  1. middle click any widget on the bar
  2. Observe the modal appeearing above the settings window as shown in video.

Expected behavior

Modal should appear centered and constrained within the settings window

Actual behavior

The modal appears above the settings window and cannot be moved

Logs / error output

These seem to appear in `~/.cache/noctalia/noctalia.log` when I middle click


2026-07-29 17:18:30.424 [DBG] [surface] fractional scale preferred output=HDMI-A-2 surface=0x7f2054500d40 scale=1.000 raw=120/120 logical=1538x950 buffer=1538x950
2026-07-29 17:18:30.441 [DBG] [surface] fractional scale preferred output=HDMI-A-2 surface=0x7f2050ae1720 scale=1.000 raw=120/120 logical=1053x948 buffer=1053x948
2026-07-29 17:18:31.676 [DBG] [surface] fractional scale preferred output=HDMI-A-2 surface=0x7f2050ae20e0 scale=1.000 raw=120/120 logical=1538x950 buffer=1538x950
2026-07-29 17:18:31.693 [DBG] [surface] fractional scale preferred output=HDMI-A-2 surface=0x7f20229ca780 scale=1.000 raw=120/120 logical=1053x948 buffer=1053x948
2026-07-29 17:19:49.116 [DBG] [surface] fractional scale preferred output=DP-1 surface=0x7f20544ef5a0 scale=1.000 raw=120/120 logical=202x314 buffer=202x314
2026-07-29 17:19:49.296 [DBG] [surface] fractional scale preferred output=DP-1 surface=0x7f20544ef5a0 scale=1.000 raw=120/120 logical=1538x950 buffer=1538x950
2026-07-29 17:19:49.309 [DBG] [surface] fractional scale preferred output=DP-1 surface=0x7f20229cb320 scale=1.000 raw=120/120 logical=1053x948 buffer=1053x948
2026-07-29 17:19:53.528 [DBG] [surface] fractional scale preferred output=DP-1 surface=0x7f2054493780 scale=1.000 raw=120/120 logical=1538x950 buffer=1538x950
2026-07-29 17:19:53.541 [DBG] [surface] fractional scale preferred output=DP-1 surface=0x7f20229ca960 scale=1.000 raw=120/120 logical=1053x948 buffer=1053x948
2026-07-29 17:19:55.053 [DBG] [surface] fractional scale preferred output=DP-1 surface=0x7f2030371180 scale=1.000 raw=120/120 logical=1538x950 buffer=1538x950
2026-07-29 17:19:55.068 [DBG] [surface] fractional scale preferred output=DP-1 surface=0x7f20229cac00 scale=1.000 raw=120/120 logical=1053x948 buffer=1053x948
2026-07-29 17:19:58.623 [DBG] [surface] fractional scale preferred output=DP-1 surface=0x7f204b8d7d00 scale=1.000 raw=120/120 logical=1538x950 buffer=1538x950

Noctalia version

5.0.0.r4969.g624363e30-1

Compositor

Hyprland

Distribution

Arch-based

Environment information

noctalia-git (AUR)
AMD 9070XT GPU
QHD monitor

Additional context

No response

Jinra avatar Jul 30 '26 00:07 Jinra

I reproduced this on Arch with the niri environment. I think this might not be a bug, but it's rather counterintuitive.

Qaaxaap avatar Jul 30 '26 01:07 Qaaxaap

This is a bug, by design the modal should always be centered hover the settings window. Not sure why only a few people are affected.

ItsLemmy avatar Jul 30 '26 03:07 ItsLemmy

Do the dialog open properly placed when you do it via settings > bar > widgets editor at the bottom ?

ItsLemmy avatar Jul 30 '26 03:07 ItsLemmy

It works perfectly fine from the bar settings. It's specifically only when middle clicking widgets on the bar. FWIW, it also happens on a fresh install in a VM, which probably rules out any multi monitor shenanigans.

Jinra avatar Jul 30 '26 04:07 Jinra

Can you try with b72f49f and report back?

ItsLemmy avatar Jul 30 '26 04:07 ItsLemmy

same result unfortunately

EDIT: I am noticing if i leave the malformed window up, and middle click other widgets, the modals will show up in the center as expected. it seems to only happen when the box spawns with the settings window. Opening the settings window and middle clicking also has the modal spawn as expected in the center. I'm not sure if this behavior was with the previous version as well.

Jinra avatar Jul 30 '26 04:07 Jinra

this is fixed

Jinra avatar Oct 12 '26 21:10 Jinra