aboutsummaryrefslogtreecommitdiffstats
path: root/etc/PROBLEMS
diff options
context:
space:
mode:
authorPo Lu2022-02-08 21:32:07 +0800
committerPo Lu2022-02-08 21:32:07 +0800
commitb76da7e7a580cfae2827baadf5c15c91a3135b1d (patch)
tree331881add08083f25179019a7cd88d0b9af7e517 /etc/PROBLEMS
parente37ffc379e66d45745e037b3a483460d25609e62 (diff)
downloademacs-b76da7e7a580cfae2827baadf5c15c91a3135b1d.tar.gz
emacs-b76da7e7a580cfae2827baadf5c15c91a3135b1d.zip
Document some problems found during testing on various X servers
* etc/PROBLEMS (General X problems): Document some problems found during testing on various X servers.
Diffstat (limited to 'etc/PROBLEMS')
-rw-r--r--etc/PROBLEMS59
1 files changed, 59 insertions, 0 deletions
diff --git a/etc/PROBLEMS b/etc/PROBLEMS
index 2358203c3d3..b0692899e81 100644
--- a/etc/PROBLEMS
+++ b/etc/PROBLEMS
@@ -1709,6 +1709,65 @@ actual version of libXi installed does not. The solution is to
1709upgrade your libXi binaries to libXi 1.8.0 or later, to correspond 1709upgrade your libXi binaries to libXi 1.8.0 or later, to correspond
1710with your XInput headers. 1710with your XInput headers.
1711 1711
1712*** Requesting a private colormap makes Emacs hang.
1713
1714The part of Xlib that provides this feature is broken in modern
1715incarnations of Xlib, so it cannot possibly work. The solution is to
1716remove anything that looks like this:
1717
1718 Emacs.privateColormap: on
1719
1720From your X defaults file. Your X server might also provide a
1721different visual class that will do what you want. You can experiment
1722with `TrueColor-8', by placing:
1723
1724 Emacs.visualClass: TrueColor-8
1725
1726In your ~/.Xresources, and loading that file.
1727
1728*** Colors messed up on Cairo builds or GTK builds.
1729
1730If your display defaults to a visual where pixel values cannot be
1731directly converted to their corresponding real colors, a build with
1732Cairo drawing or GTK will display colors incorrectly. This is because
1733Cairo and GTK foolishly assume that all RGB values can be converted
1734directly from their individual components, without asking the X server
1735to allocate the color.
1736
1737Your X server might have a different visual which is decomposed and
1738not colormapped. Try the following in your ~/.Xresources:
1739
1740 Emacs.visualClass: TrueColor-N
1741
1742Where "N" is the bit depth of the visual your X server defaults to.
1743If that does not work, you lose. Configure Emacs '--without-cairo'
1744and '--with-x-toolkit=lucid' instead.
1745
1746*** GUI widgets don't display on GTK builds, except for scrollbars.
1747
1748This can happen if your visual does not have a decomposed colormap,
1749and your X server has the X rendering extension.
1750
1751To solve the problem, disable the X rendering extension on your X
1752server, or rebuild Emacs without GTK+.
1753
1754*** On Accelerated X, the GTK 3 menu bar does not select items.
1755
1756The solution is to run Emacs with the environment variable 'GDK_DEBUG'
1757set to "nograbs", like this (where "..." stands for the other
1758command-line arguments you intend to pass to Emacs):
1759
1760 GDK_DEBUG=nograbs emacs ...
1761
1762Accelerated X is a proprietary X server. Aside from being
1763proprietary, it has many other disadvantages, such as not supporting
1764most recent hardware and most modern extensions to the X protocol.
1765Consider switching to a free X server, such as X.Org.
1766
1767If GTK complains about not being built with support for debugging
1768options, then there is nothing you can do, except for switching to a
1769free X server.
1770
1712* Runtime problems on character terminals 1771* Runtime problems on character terminals
1713 1772
1714*** With X forwarding, mouse highlighting can make Emacs slow. 1773*** With X forwarding, mouse highlighting can make Emacs slow.