Fix Open Save File Dialog Too Big in i3 windows manager

On a new fresh installation of manjaro i3 windows manager, I had this issue where the open/save file dialog was showing a blank screen. Upon investigating, I found out that the dialog box was just too big because of my resolution hence was filing up the whole screen.

I can confirm my resolution with the following commands

xdpyinfo | grep -B2 resolution
xrdb -query | grep dpi

Query to check the handler

xdg-mime query default inode/directory

Upon checking i3 logs I found the following:

[..] window 0x014013e1 wants to be at -1670x-1466 with 6220x4644

The solution is to add the following config to i3wm config

floating_minimum_size 500 x 300
floating_maximum_size 2000 x 1500
for_window [class="(?i)firefox" instance="^(?!Navigator$)"] floating enable
comments powered by Disqus
Citizix Ltd
Built with Hugo
Theme Stack designed by Jimmy