xemacs: bizarre buffer/window behaviours, scrollbars flicker

Bug #117910 reported by Yves Forkl
4
Affects Status Importance Assigned to Milestone
xemacs21 (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: xemacs21

Environment: Ubuntu 6.06.1, XEmacs 21.4.18 (= version 21.4.18-1ubuntu1 of package xemacs21-gnome-mule, still current as of 2007-05-31; "This version has also been compiled to use features from gtk and gnome.")

I encounter two strange (and possibly related) phenomena I have never seen been before in any Emacs:

1) Bizarre behaviour in buffer or window selection

When the frame is split vertically in two windows, the functions delete-other-window and delete-window sometimes delete the wrong window. In some cases, they even delete both windows and leave the frame with a single window showing a completely different buffer.

While switch-to-buffer seems to select the wrong buffer only rarely, this happens frequently when selecting a buffer to display using electric-buffer-list. This function may take up to 10 sec before displaying the buffer "Electric Buffer List" holding the list of available buffers. Sometimes this buffer is not shown at all, but instead some other buffer.

I have the impression that issuing these commands more slowly (i.e. pressing the function keys to which they are bound more carefully) helps to reduce the frequence of problem, but this might be pure illusion.

Bug #3184 mentions a similar observation on the side, but the main bug described there (XEmacs showing the scratch buffer when run with a file argument) does not occur for me, so I opened this new bug report. Bug #50396 seems to be a dup of Bug #3184.

2) Flickering scrollbars and gutter tabs area not redrawn

Most of the time, the gutter tabs area is not properly redrawn automatically, leaving stripes and such (but calling function recenter with Ctrl-L will cause it to be redrawn).

Under circumstances quite impossible to reproduce, the scrollbars are constantly flickering by an interval of a few seconds, without any user interaction with XEmacs. It seems that this occurs more often when the XEmacs frame does not have the focus, and when there are several (about 3, 4 or 5) XEmacs frames open.

I suspect that both problems are related to interaction with Gnome/GTK or with Metacity (it seems that it sometimes uses much more of the CPU when XEmacs has flickering scrollbars).

Revision history for this message
Yves Forkl (yvesforkl01) wrote :

Still not having a clue about the cause of this bug. But I have discovered that turning the gutters off seems to stop both of the above problems from occuring. I turned them off by putting this into my init.el:

(setq gutter-buffers-tab-enabled nil)

Revision history for this message
Jeff Anderson (jander99) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. You reported this bug a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue for you. Can you try with the latest Ubuntu release? Thanks in advance.

Changed in xemacs21 (Ubuntu):
status: New → Incomplete
Revision history for this message
Yves Forkl (yvesforkl01) wrote :

With XEmacs 21.4.21 (package xemacs21-mule, version 21.4.21-1ubuntu3.1) and Ubuntu 8.04.3, neither of the two issues above seems to occur anymore. (Sorry for not reporting back before: I applied the workaround described above, as a consequence I wasn't affected by the bug anymore.)

Revision history for this message
Yves Forkl (yvesforkl01) wrote :

Bug does not seem to occur anymore with current versions of XEmacs and Ubuntu.

Changed in xemacs21 (Ubuntu):
status: Incomplete → Invalid
Revision history for this message
Rick Charon (rickcharon) wrote :

I've installed Ubuntu 9.04 on a Dell Studio laptop with and Intel Core duo. I haven't checked out Linux for a few years, so am sure that I'm missing things here and there. I've loved and used Xemacs for a long time, and was suprised not to find it installed by default, but anyway, installed it via the Synaptic Package manager. It works, but I get really bad flicker. Disabled the tabs as mentioned above, because they flickered so bad they are unusable. The mode line flickers, and in general, the redraw behavior is ugly. The version I downloaded is 21.4.21-4ubuntu1. I'll check it out more and report any help I get here. Thanks in advance for any assistance!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.