Subject: bug#62738: emacs 28.2: jpgs not rotated

From: Dan Jacobson <[email-masked]>
Date: Wed, 20 Sep 2023 00:29:08 -0500

>>>>> "SK" == Stefan Kangas <[email-masked]> writes:
SK> Dan Jacobson <[email-masked]> writes:

>> .jpg_original: All show birds pleasantly horizontal.
>> .jpg: Chrome, gpicview, viewnior: oddly vertical. Emacs (29.1) -Q, xli: pleasantly horizontal.

SK> Sorry, I don't understand.  Does your Emacs show the .jpg rotated or
SK> not?

No matter if I did
$ emacs -Q ...jpg
or
$ emacs -Q ...jpg_original
both pictures looked the same: properly horizontal birds.
Same with using v in dired.

But in chrome, etc. one was vertical.

SK> If it does *not* then please provide all your build details as given by
SK> M-x report-emacs-bug.  If possible, please also try with Emacs 29.1 or
SK> even better latest master.

In GNU Emacs 29.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.38,
 cairo version 1.16.0) of 2023-08-30, modified by Debian built on
 x86-csail-01
Windowing system distributor 'The X.Org Foundation', version 11.0.12101008
System Description: Debian GNU/Linux trixie/sid

Configured using:
 'configure --build x86_64-linux-gnu --prefix=/usr
 --sharedstatedir=/var/lib --libexecdir=/usr/libexec
 --localstatedir=/var/lib --infodir=/usr/share/info
 --mandir=/usr/share/man --with-libsystemd --with-pop=yes
 --enable-locallisppath=/etc/emacs:/usr/local/share/emacs/29.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/29.1/site-lisp:/usr/share/emacs/site-lisp
 --with-sound=alsa --without-gconf --with-mailutils
 --with-native-compilation --build x86_64-linux-gnu --prefix=/usr
 --sharedstatedir=/var/lib --libexecdir=/usr/libexec
 --localstatedir=/var/lib --infodir=/usr/share/info
 --mandir=/usr/share/man --with-libsystemd --with-pop=yes
 --enable-locallisppath=/etc/emacs:/usr/local/share/emacs/29.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/29.1/site-lisp:/usr/share/emacs/site-lisp
 --with-sound=alsa --without-gconf --with-mailutils
 --with-native-compilation --with-cairo --with-x=yes
 --with-x-toolkit=gtk3 --with-toolkit-scroll-bars 'CFLAGS=-g -O2
 -ffile-prefix-map=/build/reproducible-path/emacs-29.1+1=. -fstack-protector-strong
 -Wformat -Werror=format-security -Wall' 'CPPFLAGS=-Wdate-time
 -D_FORTIFY_SOURCE=2' LDFLAGS=-Wl,-z,relro'

Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG
JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES
NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3
THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XDBE XIM XINPUT2
XPM GTK3 ZLIB

Important settings:
  value of $LC_COLLATE: C
  value of $LC_CTYPE: zh_TW.UTF-8
  value of $LC_MESSAGES: C
  value of $LANG: zh_TW.UTF-8
  value of $XMODIFIERS: @im=ibus
  locale-coding-system: utf-8-unix

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  global-eldoc-mode: t
  eldoc-mode: t
  show-paren-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
  line-number-mode: t
  indent-tabs-mode: t
  transient-mark-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message mailcap yank-media puny dired
dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068
epg-config gnus-util text-property-search time-date mm-decode mm-bodies
mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs
comp comp-cstr warnings icons subr-x rx cl-seq cl-macs gv cl-extra
help-mode bytecomp byte-compile cl-lib sendmail rfc2047 rfc2045
ietf-drums mm-util mail-prsvr mail-utils china-util rmc iso-transl
tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks
lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd
tool-bar dnd fontset image regexp-opt fringe tabulated-list replace
newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar
rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock
font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq
simple cl-generic indonesian philippine cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms
cp51932 hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese composite emoji-zwj charscript charprop case-table
epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button
loaddefs theme-loaddefs faces cus-face macroexp files window
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget keymap hashtable-print-readable backquote threads dbusbind
inotify lcms2 dynamic-setting system-font-setting font-render-setting
cairo move-toolbar gtk x-toolkit xinput2 x multi-tty
make-network-process native-compile emacs)

Memory information:
((conses 16 76846 8924)
 (symbols 48 7149 0)
 (strings 32 19516 1967)
 (string-bytes 1 589592)
 (vectors 16 16632)
 (vector-slots 8 478238 15044)
 (floats 8 28 46)
 (intervals 56 307 0)
 (buffers 984 13))

Package: emacs-gtk
Version: 1:29.1+1-5

-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (990, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.5.0-1-amd64 (SMP w/2 CPU threads; PREEMPT)
Locale: LANG=zh_TW.UTF-8, LC_CTYPE=zh_TW.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages emacs-gtk depends on:
ii  emacs-bin-common     1:29.1+1-5
ii  emacs-common         1:29.1+1-5
ii  libacl1              2.3.1-3
ii  libasound2           1.2.10-1
ii  libc6                2.37-10
ii  libcairo2            1.17.8-3
ii  libdbus-1-3          1.14.10-1
ii  libfontconfig1       2.14.2-6
ii  libfreetype6         2.13.2+dfsg-1
ii  libgccjit0           13.2.0-4
ii  libgdk-pixbuf-2.0-0  2.42.10+dfsg-1+b1
ii  libgif7              5.2.1-2.5
ii  libglib2.0-0         2.78.0-2
ii  libgmp10             2:6.3.0+dfsg-2
ii  libgnutls30          3.8.1-4+b1
ii  libgpm2              1.20.7-10+b1
ii  libgtk-3-0           3.24.38-5
ii  libharfbuzz0b        8.0.1-1
ii  libice6              2:1.0.10-1
ii  libjansson4          2.14-2
ii  libjpeg62-turbo      1:2.1.5-2
ii  liblcms2-2           2.14-2
ii  libm17n-0            1.8.4-1
ii  libotf1              0.9.16-4
ii  libpango-1.0-0       1.51.0+ds-2
ii  libpng16-16          1.6.40-1
ii  librsvg2-2           2.54.7+dfsg-2
ii  libselinux1          3.5-1
ii  libsm6               2:1.2.3-1
ii  libsqlite3-0         3.43.1-1
ii  libsystemd0          254.3-1
ii  libtiff6             4.5.1+git230720-1
ii  libtinfo6            6.4+20230625-2
ii  libtree-sitter0      0.20.8-2
ii  libwebp7             1.2.4-0.3
ii  libwebpdemux2        1.2.4-0.3
ii  libx11-6             2:1.8.6-1
ii  libxcomposite1       1:0.4.5-1
ii  libxext6             2:1.3.4-1+b1
ii  libxfixes3           1:6.0.0-2
ii  libxi6               2:1.8-1+b1
ii  libxinerama1         2:1.1.4-3
ii  libxml2              2.9.14+dfsg-1.3
ii  libxrandr2           2:1.5.2-2+b1
ii  libxrender1          1:0.9.10-1.1
ii  zlib1g               1:1.2.13.dfsg-3

Versions of packages emacs-gtk recommends:
ii  fonts-noto-color-emoji  2.038-1

Versions of packages emacs-gtk suggests:
ii  emacs-common-non-dfsg  1:29.1+1-1

-- no debconf information