Skip to content

window { close-on-delete: false; } broken behaviors on Openbox WM #2195

@DaveDavenport

Description

@DaveDavenport

Discussed in #2194

Originally posted by tuurep September 20, 2025
Hi! I very nearly opened a bug report on close-on-delete no longer clearing items from the list, until I discovered it works differently whether I execute rofi -show window directly via terminal vs. via an Openbox keybind. It became too confusing to report in a clear way.

Terminal vs. OB keybind

With this minimal repro config.rasi

configuration {
    window {
        close-on-delete: false;
    }
}
  1. Running rofi -show window in a terminal acts as if the option close-on-delete is true

  2. Running via this Openbox keybind (Super + Tab):

         ...
         <keybind key="W-Tab">
             <action name="Execute">
                 <command>rofi -show window</command>
             </action>
         </keybind>
         ...

    close-on-delete: false; behavior applies, but when closing windows, the entries aren't removed from Rofi's list. See demo screencap for this behavior below.

close-on-delete: false; entries not clearing

When executed with the OB keybind, close-on-delete does work, but the entries don't clear from the list on delete. It doesn't seem to matter which application is being closed, here's a screen recording with a few different applications:

close-on-delete-demo.mp4

Additional information and config dumps

Version:

rofi -v: 2.0.0-dirty (https://archlinux.org/packages/extra/x86_64/rofi/)

Gist with config and theme dumps:

https://gist.github.com/tuurep/58d58cf4ad621120c14e7ae094655127

Full Openbox rc.xml:

https://github.com/tuurep/dotfiles/blob/master/.config/openbox/rc.xml

Related:

I feel a little bit responsible that the close-on-delete setting was initially added and there were some regrets about it back in #1404

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions