davatorium / rofi

Rofi: A window switcher, application launcher and dmenu replacement
https://davatorium.github.io/rofi/
Other
13.04k stars 609 forks source link

[BUG] Inheritance of an inheritance frezees system #2021

Closed TheWisker closed 1 week ago

TheWisker commented 2 weeks ago

Rofi version (rofi -v)

Version: 1.7.5

Configuration

https://gist.github.com/TheWisker/6a285b7cc25175a0c58d17a66ca8f95f

Theme

https://gist.github.com/TheWisker/2b28698babb40ab46fd83e1586ee016b

Timing report

https://gist.github.com/TheWisker/563d9648dc5ac57cfb722924c18eb770

Launch command

rofi -show drun -theme ~/Downloads/ROFI/themes/theme.rasi

Step to reproduce

  1. Have the provided configuration and theme in use
  2. Ensure some theme widget has an inheritance of an inheritance (2-level deep or more)
  3. Launch Rofi

Expected behavior

  1. Launch Rofi
  2. Rofi opens

Actual behavior

  1. Launch Rofi
  2. DE (KDE) and terminal (Konsole) freeze

Additional information

While I was tinkering with the theme and configuration .rasi files I found out that, when the theme file in use has a widget inheriting a property that the parent is also inheriting, rofi freezes the terminal and desktop environment, does not appear graphically and does not write anything to the terminal. I managed to stop the freezing by swaping ttys, logging in with the same user and executing the command pkill rofi. I do not know if this behaviour is on purpose, as the man page does not explicitly mention this situation.

I attached the timing report just in case.

As a user, this does not bother me much, as it is very easy to workaround by setting the actual property value. I just wanted to let you know as to make rofi better. Have a good day!

Using wayland display server protocol

I've checked if the issue exists in the latest stable release

TheWisker commented 2 weeks ago

P.S. Tinkering a bit more I noticed that the only property that seems to trigger this behaviour is vertical-align