GNU bug report logs - #50579
28.0.50; [feature/pgtk] x-stretch-cursor not respected

Previous Next

Package: emacs;

Reported by: Illia Ostapyshyn <ilya.ostapyshyn <at> gmail.com>

Date: Tue, 14 Sep 2021 11:17:01 UTC

Severity: normal

Found in version 28.0.50

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 50579 in the body.
You can then email your comments to 50579 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#50579; Package emacs. (Tue, 14 Sep 2021 11:17:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Illia Ostapyshyn <ilya.ostapyshyn <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 14 Sep 2021 11:17:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Illia Ostapyshyn <ilya.ostapyshyn <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 28.0.50; [feature/pgtk] x-stretch-cursor not respected
Date: Tue, 14 Sep 2021 13:13:26 +0200
[Message part 1 (text/plain, inline)]
When using the box cursor-type the cursor is stretched over the glyph
under it, acting as if the value of x-stretch-cursor were non-nil. The
value of that variable doesn't seem to have any effect.

I'm attaching a screenshot of emacs -Q with a cursor over a tab
character.

In GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.20, cairo version 1.16.0)
 of 2021-09-14 built on lab-pc42
Repository revision: 4c49ec7f865bdad1629d2f125f71f4e506b258f2
Repository branch: feature/pgtk
Windowing system distributor 'System Description: Ubuntu 20.04.3 LTS

Configured using:
 'configure --with-native-compilation --with-pgtk
 --prefix=/home/user/.local 'CFLAGS=-O2 -march=native
 -fomit-frame-pointer''

Configured features:
CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG JSON
LIBSELINUX MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PGTK PNG SECCOMP
SOUND THREADS TIFF TOOLKIT_SCROLL_BARS XIM GTK3 ZLIB

[pgtk-cursor.png (image/png, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#50579; Package emacs. (Sat, 02 Oct 2021 01:32:01 GMT) Full text and rfc822 format available.

Message #8 received at 50579 <at> debbugs.gnu.org (full text, mbox):

From: Fejfighter <fejfighter <at> gmail.com>
To: 50579 <at> debbugs.gnu.org
Subject: Fwd:
Date: Sat, 2 Oct 2021 11:31:03 +1000
[Message part 1 (text/plain, inline)]
---------- Forwarded message ---------
From: Fejfighter <fejfighter <at> gmail.com>
Date: Sat, Oct 2, 2021 at 12:37 AM
Subject:
To: <50337 <at> debbugs.gnu.org>


Having looked at this, the variable is respected, it's largely the same
code as the x version.
if the cursor colour and the foreground face are different it will show up

The actual error is that the colour selected to draw was the foreground
face rather than the background used. this patch should correct it
[Message part 2 (text/html, inline)]
[0001-Set-correct-face-color-for-stretched-glyphs.patch (application/x-patch, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#50579; Package emacs. (Fri, 26 Aug 2022 11:19:02 GMT) Full text and rfc822 format available.

Message #11 received at 50579 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Illia Ostapyshyn <ilya.ostapyshyn <at> gmail.com>
Cc: 50579 <at> debbugs.gnu.org
Subject: Re: bug#50579: 28.0.50; [feature/pgtk] x-stretch-cursor not respected
Date: Fri, 26 Aug 2022 13:18:23 +0200
Illia Ostapyshyn <ilya.ostapyshyn <at> gmail.com> writes:

> When using the box cursor-type the cursor is stretched over the glyph
> under it, acting as if the value of x-stretch-cursor were non-nil. The
> value of that variable doesn't seem to have any effect.
>
> I'm attaching a screenshot of emacs -Q with a cursor over a tab
> character.

Looks like this has been fixed in Emacs 29 -- with pgtk, the cursor has
normal size over a stretch glyph if x-stretch-cursor is nil (and is
stretched if non-nil).

So I'm closing this bug report.




bug marked as fixed in version 29.1, send any further explanations to 50579 <at> debbugs.gnu.org and Illia Ostapyshyn <ilya.ostapyshyn <at> gmail.com> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Fri, 26 Aug 2022 11:19:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 23 Sep 2022 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 205 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.