Language Mode Entries Invisible/Erased/Drawn Over
Brought to you by:
tringali
See the attached screen grab showing the issue. It's impossible to switch syntax highlighting mode manually since the menu items appear to be invisible/erased/drawn over. There do seem to be rectangular edges which suggests there is one or more rectangles clipping the menu items, but not certain. Trying different fonts didn't seem to have any affect.
NEdit 5.7
Jan 14, 2017
Built on: Linux, x86-64, GNU C Built at: Mar 13 2017, 12:07:39
With Motif: 2.3.4 [@(#)Motif Version 2.3.4]
Running Motif: 2.3 [unknown]
Server: Fedora Project 11903000
Visual: 24-bit TrueColor (ID 0x24, Default)
Locale: en_US
I had the same problem under OpenSuse 42.3 with OpenMotif 2.3.4. Compiling Nedit with OpenMotif 2.1.32 fixed it, the complete menu is now visible again. But this non-rectangular clipping of the menu entries is very strange. I can't imagine, how the motif library can do that.
Just upgraded to Fedora 27, and this bug still persists in that release. Here's what I found worked for me on Fedora 27 to get Nedit to not block out the language modes under the syntax highlighting menu.
First remove the existing nedit
The above should also remove the following packages for you as well:
1) Download source for motif-2.3.7.tar.gz from
https://sourceforge.net/projects/motif/files/Motif%202.3.7%20Source%20Code/motif-2.3.7.tar.gz/download
2) Dowload source for nedit-5.7 from
https://sourceforge.net/projects/nedit/files/nedit-source/nedit-5.7-src.tar.gz/download
3) tar -xzf motif motif-2.3.7.tar.gz
4) tar -xzf nedit-5.7-src.tar.gz
5) Install missing dependencies. For me this was:
dnf install gcc libXp xorg-x11-xbitmaps libX11-devel libXt-devel libXext-devel libXft-devel libX11 flex bison byacc flex-devel bison-devel
6) cd motif-2.3.7
7) ./configure
8) make
9) make install (as root)
10) cd /usr/lib
11) /sbin/ldconfig -v (as root)
12) cd nedit-5.7
13) make linux
14) install ./source/nedit /usr/local/bin (as root)
The real issue here seems likely related to upstream Motif developers and RPM packagers not coordinating source code, binaries, and RPM releases and updating their stable release tags to keep pace with actual software releases. Motif-2.3.4 came out in 2012 (>5yrs ago) But there have been 3 stable releases since then https://sourceforge.net/projects/motif/files/?source=navbar with the latest being 2.3.7 which came out 8 months ago.
I've cross-listed this bug against Motif here:
http://bugs.motifzone.net/show_bug.cgi?id=1666