GNU bug report logs - #20265
24.5; Corrupted mode-line with :box attribute set

Previous Next

Package: emacs;

Reported by: Nick Helm <nick <at> tenpoint.co.nz>

Date: Mon, 6 Apr 2015 07:47:02 UTC

Severity: normal

Found in version 24.5

Done: Alan Third <alan <at> idiocy.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 20265 in the body.
You can then email your comments to 20265 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#20265; Package emacs. (Mon, 06 Apr 2015 07:47:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Nick Helm <nick <at> tenpoint.co.nz>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 06 Apr 2015 07:47:03 GMT) Full text and rfc822 format available.

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

From: Nick Helm <nick <at> tenpoint.co.nz>
To: "bug-gnu-emacs <at> gnu.org" <bug-gnu-emacs <at> gnu.org>
Subject: 24.5; Corrupted mode-line with :box attribute set
Date: Mon, 6 Apr 2015 01:49:52 +0000
;; Start emacs in a new GUI frame with
;; /Applications/Emacs.app/Contents/MacOS/Emacs -Q

;; In *scratch* use C-x C-e to set the mode-line face :box
;; attribute to something ridiculous but easy to see.

(set-face-attribute 'mode-line nil :box '(:line-width 15))

;; Notice the obscured coding system flag in the mode-line. Mouse
;; over the mode-line and observe the mode-line status flags become
;; visually corrupted.

;; Further, turn off the mode-line's 3D effects by setting :box 
;; atttributes.

(set-face-attribute 'mode-line nil :box nil)

(set-face-attribute 'mode-line-highlight nil :box nil)

;; Mouse over the mode-line and observe the unexpected
;; mode-line-highlight face.

;; Note that this is reproducible in 24.4.



In GNU Emacs 24.5.1 (x86_64-apple-darwin13.4.0, NS apple-appkit-1265.21)
of 2015-04-06 on builder10-9.porkrind.org
Windowing system distributor `Apple', version 10.3.1344
Configured using:
`configure --with-ns '--enable-locallisppath=/Library/Application
Support/Emacs/${version}/site-lisp:/Library/Application
Support/Emacs/site-lisp''

Important settings:
  value of $LANG: en_NZ.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Messages

Minor modes in effect:
  tooltip-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  buffer-read-only: t
  line-number-mode: t
  transient-mark-mode: t

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
kill-region: The mark is not set now, so there is no region
Making completion list...

Load-path shadows:
None found.

Features:
(shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml
mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev
gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util
help-fns mail-prsvr mail-utils help-mode easymenu time-date tooltip
electric uniquify ediff-hook vc-hooks lisp-float-type mwheel ns-win
tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment
lisp-mode prog-mode register page menu-bar rfn-eshadow timer select
scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham
georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese hebrew greek romanian slovak czech european ethiopic
indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple
abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote make-network-process
cocoa ns multi-tty emacs)

Memory information:
((conses 16 72722 6054)
(symbols 48 17296 0)
(miscs 40 45 125)
(strings 32 9891 4431)
(string-bytes 1 261763)
(vectors 16 9011)
(vector-slots 8 372503 18503)
(floats 8 55 250)
(intervals 56 241 25)
(buffers 960 12))




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#20265; Package emacs. (Sat, 02 Jan 2016 01:13:01 GMT) Full text and rfc822 format available.

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

From: Ivan Andrus <darthandrus <at> gmail.com>
To: nick <at> tenpoint.co.nz
Cc: 20265 <at> debbugs.gnu.org
Subject: Re: bug#20265: 24.5; Corrupted mode-line with :box attribute set
Date: Thu, 31 Dec 2015 13:47:28 -0700
I confirm this is still a problem and that (force-mode-line-update) does
not solve the problem as I expected.  Only mousing over the modeline
seems to cause it to be updated.

I have only tested with the NextStep build from the Emacs 25 branch.

-Ivan





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#20265; Package emacs. (Sat, 02 Jan 2016 08:15:02 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Ivan Andrus <darthandrus <at> gmail.com>
Cc: 20265 <at> debbugs.gnu.org, nick <at> tenpoint.co.nz
Subject: Re: bug#20265: 24.5; Corrupted mode-line with :box attribute set
Date: Sat, 02 Jan 2016 10:14:28 +0200
> From: Ivan Andrus <darthandrus <at> gmail.com>
> Date: Thu, 31 Dec 2015 13:47:28 -0700
> Cc: 20265 <at> debbugs.gnu.org
> 
> I confirm this is still a problem and that (force-mode-line-update) does
> not solve the problem as I expected.  Only mousing over the modeline
> seems to cause it to be updated.
> 
> I have only tested with the NextStep build from the Emacs 25 branch.

Seems to be NS-specific: I cannot reproduce this on MS-Windows.




Reply sent to Alan Third <alan <at> idiocy.org>:
You have taken responsibility. (Sun, 15 Dec 2019 21:09:02 GMT) Full text and rfc822 format available.

Notification sent to Nick Helm <nick <at> tenpoint.co.nz>:
bug acknowledged by developer. (Sun, 15 Dec 2019 21:09:02 GMT) Full text and rfc822 format available.

Message #16 received at 20265-done <at> debbugs.gnu.org (full text, mbox):

From: Alan Third <alan <at> idiocy.org>
To: Nick Helm <nick <at> tenpoint.co.nz>
Cc: 20265-done <at> debbugs.gnu.org
Subject: Re: bug#20265: 24.5; Corrupted mode-line with :box attribute set
Date: Sun, 15 Dec 2019 21:08:28 +0000
Nick Helm <nick <at> tenpoint.co.nz> writes:

> ;; Start emacs in a new GUI frame with
> ;; /Applications/Emacs.app/Contents/MacOS/Emacs -Q
>
> ;; In *scratch* use C-x C-e to set the mode-line face :box
> ;; attribute to something ridiculous but easy to see.
>
> (set-face-attribute 'mode-line nil :box '(:line-width 15))
>
> ;; Notice the obscured coding system flag in the mode-line. Mouse
> ;; over the mode-line and observe the mode-line status flags become
> ;; visually corrupted.
>
> ;; Further, turn off the mode-line's 3D effects by setting :box 
> ;; atttributes.
>
> (set-face-attribute 'mode-line nil :box nil)
>
> (set-face-attribute 'mode-line-highlight nil :box nil)
>
> ;; Mouse over the mode-line and observe the unexpected
> ;; mode-line-highlight face.
>
> ;; Note that this is reproducible in 24.4.

I believe this was fixed in Emacs 26 against bug#23755.

-- 
Alan Third




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 13 Jan 2020 12:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 5 years and 216 days ago.

Previous Next


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