linkfrg / ignis

Full-featured Python framework for building desktop shells using GTK4
https://linkfrg.github.io/ignis/
GNU General Public License v3.0
161 stars 8 forks source link

Third window and up bugging #23

Closed newor0599 closed 1 hour ago

newor0599 commented 2 days ago

Already reported ? *

Related to dotfiles ? *

Regression?

Yes

Version

Ignis 0.2.dev0
Branch: main
Commit: 424973d38193dddd5a5f8f534c851f2a5a6275da (github: update bug.yaml issue form)

Distro

Arch Linux

Description

Things thrid window and up does

image

How to reproduce

Make 3 (or more) window with content in the window in ~/.config/ignis/config.py file

Logs, images, videos, config files, CSS/SCSS files

https://github.com/user-attachments/assets/45f23c41-761a-4980-82cb-c783634d88cd

Here is my config https://github.com/newor0599/ignis-workspace

linkfrg commented 1 day ago

Please share your config

newor0599 commented 1 day ago

Updated issue

linkfrg commented 21 hours ago

https://github.com/user-attachments/assets/ed9f45a4-8a15-4b03-aa34-f27678ad8f56

I tried to run your config on sway (I had to modify it a bit) and didn't encounter an issue, so it is probably Hyprland related problem

linkfrg commented 20 hours ago

as nuclear fix you try this (it's a little crooked, fix it yourself): modules/bar/bluetooth_menu.py

Widget.Window(
    namespace="Bluetooth Menu",
    layer="background",
    exclusivity="normal",
    # child = bluetooth_menu,
    child=Widget.Box(
        css_classes=["bt", "window"],
        child=[
            Widget.Box(child=[Widget.Label(label="Hello", css_classes=["bt", "test"])])
        ],
    ),
)

just don't apply css styles/classes to the window

newor0599 commented 1 hour ago

Thanks, solved.

newor0599 commented 1 hour ago

I would like to know why this happens, If your interested with my question

linkfrg commented 1 hour ago

I would like to know why this happens, If your interested with my question

After an update to Hyprland that added custom layer animations, they started bugging in this weird way. This happened a while ago, before Ignis release, and I was too lazy to open an issue in the Hyprland repository.