diff options
| author | Po Lu | 2022-02-08 21:32:07 +0800 |
|---|---|---|
| committer | Po Lu | 2022-02-08 21:32:07 +0800 |
| commit | b76da7e7a580cfae2827baadf5c15c91a3135b1d (patch) | |
| tree | 331881add08083f25179019a7cd88d0b9af7e517 /etc/PROBLEMS | |
| parent | e37ffc379e66d45745e037b3a483460d25609e62 (diff) | |
| download | emacs-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/PROBLEMS | 59 |
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 | |||
| 1709 | upgrade your libXi binaries to libXi 1.8.0 or later, to correspond | 1709 | upgrade your libXi binaries to libXi 1.8.0 or later, to correspond |
| 1710 | with your XInput headers. | 1710 | with your XInput headers. |
| 1711 | 1711 | ||
| 1712 | *** Requesting a private colormap makes Emacs hang. | ||
| 1713 | |||
| 1714 | The part of Xlib that provides this feature is broken in modern | ||
| 1715 | incarnations of Xlib, so it cannot possibly work. The solution is to | ||
| 1716 | remove anything that looks like this: | ||
| 1717 | |||
| 1718 | Emacs.privateColormap: on | ||
| 1719 | |||
| 1720 | From your X defaults file. Your X server might also provide a | ||
| 1721 | different visual class that will do what you want. You can experiment | ||
| 1722 | with `TrueColor-8', by placing: | ||
| 1723 | |||
| 1724 | Emacs.visualClass: TrueColor-8 | ||
| 1725 | |||
| 1726 | In your ~/.Xresources, and loading that file. | ||
| 1727 | |||
| 1728 | *** Colors messed up on Cairo builds or GTK builds. | ||
| 1729 | |||
| 1730 | If your display defaults to a visual where pixel values cannot be | ||
| 1731 | directly converted to their corresponding real colors, a build with | ||
| 1732 | Cairo drawing or GTK will display colors incorrectly. This is because | ||
| 1733 | Cairo and GTK foolishly assume that all RGB values can be converted | ||
| 1734 | directly from their individual components, without asking the X server | ||
| 1735 | to allocate the color. | ||
| 1736 | |||
| 1737 | Your X server might have a different visual which is decomposed and | ||
| 1738 | not colormapped. Try the following in your ~/.Xresources: | ||
| 1739 | |||
| 1740 | Emacs.visualClass: TrueColor-N | ||
| 1741 | |||
| 1742 | Where "N" is the bit depth of the visual your X server defaults to. | ||
| 1743 | If that does not work, you lose. Configure Emacs '--without-cairo' | ||
| 1744 | and '--with-x-toolkit=lucid' instead. | ||
| 1745 | |||
| 1746 | *** GUI widgets don't display on GTK builds, except for scrollbars. | ||
| 1747 | |||
| 1748 | This can happen if your visual does not have a decomposed colormap, | ||
| 1749 | and your X server has the X rendering extension. | ||
| 1750 | |||
| 1751 | To solve the problem, disable the X rendering extension on your X | ||
| 1752 | server, or rebuild Emacs without GTK+. | ||
| 1753 | |||
| 1754 | *** On Accelerated X, the GTK 3 menu bar does not select items. | ||
| 1755 | |||
| 1756 | The solution is to run Emacs with the environment variable 'GDK_DEBUG' | ||
| 1757 | set to "nograbs", like this (where "..." stands for the other | ||
| 1758 | command-line arguments you intend to pass to Emacs): | ||
| 1759 | |||
| 1760 | GDK_DEBUG=nograbs emacs ... | ||
| 1761 | |||
| 1762 | Accelerated X is a proprietary X server. Aside from being | ||
| 1763 | proprietary, it has many other disadvantages, such as not supporting | ||
| 1764 | most recent hardware and most modern extensions to the X protocol. | ||
| 1765 | Consider switching to a free X server, such as X.Org. | ||
| 1766 | |||
| 1767 | If GTK complains about not being built with support for debugging | ||
| 1768 | options, then there is nothing you can do, except for switching to a | ||
| 1769 | free 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. |