From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: PierGianLuca Newsgroups: gmane.emacs.help Subject: Re: 4 pixels missing at startup (was: menu-bar-mode makes frame continuously shrink in height) Date: Thu, 19 Oct 2023 13:41:51 +0200 Message-ID: References: <1557a557-e827-d60f-af1e-48ae7003a6d8@magnaspesmeretrix.org> <87jzri6gw3.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1767"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Cc: Po Lu To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 19 13:42:49 2023 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qtRQP-0000Eg-0x for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 19 Oct 2023 13:42:49 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qtRPd-00064o-G9; Thu, 19 Oct 2023 07:42:01 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qtRPb-00064b-RA for help-gnu-emacs@gnu.org; Thu, 19 Oct 2023 07:41:59 -0400 Original-Received: from manu28.manufrog.com ([138.128.182.226]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qtRPZ-0000bp-JW for help-gnu-emacs@gnu.org; Thu, 19 Oct 2023 07:41:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=magnaspesmeretrix.org; s=default; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:Cc:From:References:To:Subject:MIME-Version:Date:Message-ID:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=lFiI1r1f9woEc1qTk9w4aE8Z6G736dBwRj9Lt8MMGzM=; b=JMpan5Mza/+guEHpVCpehPuGWW q9AbUGPLIqsl1qgqI7B/EBVfWApkEpW97jrv82qb1mcge3Pt3oFeIaK7BsbEW0RtiU7n/IfD8rhiY T0b/OSUcDZwkOnAdVRQBX4nN3; Original-Received: from [158.37.83.160] (port=46090) by manu28.manufrog.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96.2) (envelope-from ) id 1qtRPX-004kAJ-20; Thu, 19 Oct 2023 13:41:56 +0200 Content-Language: en-GB In-Reply-To: <87jzri6gw3.fsf@yahoo.com> X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - manu28.manufrog.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - magnaspesmeretrix.org X-Get-Message-Sender-Via: manu28.manufrog.com: authenticated_id: luca@magnaspesmeretrix.org X-Authenticated-Sender: manu28.manufrog.com: luca@magnaspesmeretrix.org Received-SPF: pass client-ip=138.128.182.226; envelope-from=luca@magnaspesmeretrix.org; helo=manu28.manufrog.com X-Spam_score_int: -51 X-Spam_score: -5.2 X-Spam_bar: ----- X-Spam_report: (-5.2 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, NICE_REPLY_A=-3.339, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:145320 Archived-At: Hi Po, thank you for the feedback. Something else interesting is coming up: > Do frames > continue to shrink after setting frame-resize-pixelwise to t in > early-init.el? Thank you, that solved the problem with menu/tool-bar! > More likely, your window manager is imposing stringent size requirements > pursuant to the resize increments Emacs has requested. I forgot to mention that I work with KDE Plasma, and I have a specific window rule for Emacs windows, to obey any geometry that they request (see details at end of email*). While playing with geometries I've noted something else strange. I use desktop-save, so Emacs always restarts with the latest frame & geometry configuration. However, I'm noticing now that one of the restarted frames always lacks 4 pixels in its vertical scroll bar. I've tried to specify scroll-bar-width in the init.el and early-init.el, but those four pixels disappear at every Emacs restart. Maybe it's due to my using the lucid theme, rather than GTK... Cheers, Luca * See "Ignore requested geometry" and "Obey geometry restrictions" here: https://docs.kde.org/stable5/en/kwin/kcontrol/windowspecific/attributes.html