Hi Donald! On Di, 10 Mär 2015, Donald Allen wrote:
> On Mon, Mar 9, 2015 at 11:05 AM, Christian Brabandt <[email protected]> > wrote: > > Am 2015-03-09 15:49, schrieb Donald Allen: > > > >> It turns out that the behavior I described in my original post > >> (shrinking the inner pane rather than displaying more text in the > >> full-sized pane when a smaller font-size is selected) appears to be > >> caused by tiling window managers and vim's interaction with them. The > >> original behavior was seen on an up-to-date 64-bit Arch Linux system > >> using just the xmonad window manager (no desktop system). On a hunch, > >> I tried the same thing (reducing the font size) while running fvwm > >> instead of xmonad and got exactly the behavior I wanted (the size of > >> the window and the text rectangle within it was unchanged and more > >> text was displayed). I then tried the same experiment with i3, another > >> tiling window manager like xmonad, and the behavior was the same as > >> observed with xmonad. So for this particular case, based on a small > >> amount of data, it appears that vim and tiling window managers are > >> conspiring to produce poor and unexpected behavior. It is possible to > >> do this correctly with tiling window managers; I just tested gedit and > >> emacs with i3, and making the font smaller works correctly in both > >> cases. > > > > > > Well, if you know more details, about the expected behaviour for tiling > > window managers (perhaps ask the xmonad/i3/awesome developers) and > > you can give us a clue, what would be expected, we might be able to fix > > that behavior. > > I've given you examples of other editors -- gedit and emacs -- that > handle this correctly. Their code is a major clue. Thanks but wading through another unknown code repository doesn't make it easier... > Asking me to check with wm developers doesn't strike me as the best > way to approach this problem. I am not an expert on X client/X > server/window manager interactions. I also have not written this > editor; you (Bram and Co.) have, and therefore have the domain > knowledge. Not everybody knows every part of this editor. > Despite my qualms about your suggestion, I did send an email to > Michael Stapelberg, the author of i3. I did so because I have > corresponded with him in the past and he is always helpful. His > response was that he suspected that finding this problem would require > "X11 wire-level protocol tracing". Well good to know. I almost know nothing about the X11 protocol and therefore it will be hard for me to try to fix it. So I am afraid I'll leave that to someone who is more knowledgeable than I am or who has the motivation to find and fix that bug. I am sorry. Best, Christian -- Was man Motive nennt, sind also eigentlich Phänomene des Menschengeistes, die sich wiederholt haben und wiederholen werden, und die der Dichter nur als historische nachweist. -- Goethe, Maximen und Reflektionen, Nr. 1268 -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
