From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Scrollbar width not respected in restored frames
Date: Mon, 20 Nov 2023 14:34:27 +0200 [thread overview]
Message-ID: <83y1esiox8.fsf@gnu.org> (raw)
In-Reply-To: <76293cb5-bba5-77ab-8420-cc60787a6fd4@magnaspesmeretrix.org> (message from PierGianLuca on Mon, 20 Nov 2023 11:46:37 +0100)
> Date: Mon, 20 Nov 2023 11:46:37 +0100
> From: PierGianLuca <luca@magnaspesmeretrix.org>
>
> Hi everyone,
>
> I'm on Ubuntu 20.04, KDE Plasma X11. Emacs 29.1 from tarball.
>
> I consistently see a discrepancy between the vertical-scrollbar width of the initial frames, restored from a previous session, and of subsequent frames called with make-frame-command (C-x52).
>
> Here is an example, I'd like to know whether others see this behaviour too:
>
> 1. Make sure Desktop-save-mode is on
>
> 2. Select any geometry you like in default-frame-alist and specify scroll-bar-width with some value (in my case it's "21")
>
> 3. Create a new frame with "C-x 5 2".
>
> 4. Check that the vertical scrollbar respects the width specified in default-frame-alist. If you like, check the window geometry with some tool like "xwininfo".
>
> 5. Close all other frames, make sure the one you created in step 3. is the only one left.
>
> 6. Quit the Emacs session
>
> 7. Start Emacs. You should see the frame from the previous session.
>
> 8. Check the width of the vertical scrollbar in this frame. You should see it's different from the one right before you quit Emacs. This should be confirmed by "xwininfo" or similar tool.
>
> 9. Create a new frame with "C-x 5 2". You should see that the new frame respects the scrollbar width of "default-frame-alist" (and it's different from the one of the first, initially restored frame).
>
>
> May this be a bug in desktop-save-mode?
I cannot reproduce this. Look in the .emacs.desktop file created by
desktop.el: if it specifies the scroll-bar-width value you set, then
it should be restored (it is here). If that doesn't work for you,
maybe it's something related to your window-manager or system-wider
settings that override what desktop.el tries to restore.
next prev parent reply other threads:[~2023-11-20 12:34 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-20 10:46 Scrollbar width not respected in restored frames PierGianLuca
2023-11-20 12:34 ` Eli Zaretskii [this message]
2023-11-20 15:17 ` [External] : " Drew Adams
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83y1esiox8.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.