|
From: | PierGianLuca |
Subject: | Re: Emacs-desktop insists on having 13-pixel scrollbars at startup |
Date: | Mon, 29 Apr 2024 09:16:45 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 |
Thank you Eli, – Yes I'm sure about the correct desktop file. I can quit Emacs with very peculiar final configurations – many frames of very different, manually adjusted, size – but they are always correctly restored upon restart. Except the scroll-bar-width. If I delete the desktop file then Emacs doesn't remember the previous configuration. – The scrollbar-width peculiarity happens with vv. 29.2/29.3 and --with-x-toolkit=gtk --without-toolkit-scroll-bars and also with --with-x-toolkit=lucid --without-toolkit-scroll-bars So it seems something peculiar to the "built-in" scrollbars. But I'll recompile without the "--without-toolkit-scroll-bars" and report what happens. Cheers, Luca On 240429 08:55, Eli Zaretskii wrote:
I cannot reproduce this in Emacs 30: with the above recipe I get the same scroll-bar-width as the value I set before quitting the session. So please verify that Emacs restores the desktop from the correct file (it could be modified via desktop-path), and if it does, then perhaps this is specific to your Emacs configuration and/or the toolkit you are using, or perhaps to some of your customizations. I've reviewed the code in frameset.el, and I don't see there anything that would explain why scroll-bar-width frame-parameter would not be applied when restoring the desktop.
[Prev in Thread] | Current Thread | [Next in Thread] |