rofi icon indicating copy to clipboard operation
rofi copied to clipboard

Filebrowser mode in type 6 launchers hides the sidebar

Open 96Octavian opened this issue 1 year ago • 1 comments

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

96Octavian avatar Sep 02 '22 21:09 96Octavian

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.

2goodAP avatar Sep 17 '22 01:09 2goodAP