adi1090x / rofi

A huge collection of Rofi based custom Applets, Launchers & Powermenus.
GNU General Public License v3.0
6.37k stars 298 forks source link

Filebrowser mode in type 6 launchers hides the sidebar #108

Closed 96Octavian closed 1 year ago

96Octavian commented 1 year ago

While in filebrowser mode, sidebar in the left pane with the buttons for the various modes (APPS, RUN, FILES, WINDOW etc) gets pushed out of the window.
I think this is because the listbox element holds the message elements which is usually hidden but it's now used to show the current directory, thus resulting in a listbox with 9 lines instead of 8:

image

Moving the "message" element in the "imagebox" element fixed it enough for me:

imagebox {
    padding:                     20px;
    spacing:                     20px;
    background-color:            transparent;
    background-image:            url("~/.config/rofi/images/f.png", height);
    orientation:                 vertical;
    children:                    [ "inputbar", "message", "dummy", "mode-switcher">
}

listbox {
    spacing:                     20px;
    padding:                     20px;
    background-color:            transparent;
    orientation:                 vertical;
    children:                    [ "listview" ];
}

image

Note that I'm using the rofi wayland fork on sway, but I expect this to be unrelated to the wayland fork

2goodAP commented 1 year ago

Hey @96Octavian. It seems that this issue is actually quite related to the wayland fork. I was using 1.7.5+wayland1 version of rofi and I encountered this exact issue. Then I switched over to upstream 1.7.5 and the theme worked just fine. I even tried with default config and the behavior was only reproducible in the wayland version.