← Back to team overview

compiz team mailing list archive

[Bug 1059633] Re: Emacs 'Ediff' Window Shrinks Horizontally To One Column Wide

 

Hi,

I have updated the testcase since not being an emacs user myself, it
wasn't straight forward to me.  I have also given some thought to the
regression potential part.  Given that the change is about how the
window size is calculated, the only regression I can think of is some
other desktop environment relying on this bug for their calculations
(i.e. special casing emacs somehow), but I find this very unlikely.

I'd be glad if this could be pushed to Precise.

-- 
Regards,
Marga

** Description changed:

- Unlike previously reported bug #941790, this bug involves a horizontal
- shrinkage to one column wide (multiple rows), and is still present in
- GNU Emacs 23.3.1.  Resizing the window isn't a work-around, as the
- window immediately shrinks again.  The behavior is observed as follows:
+ [Impact]
+ Emacs users can't access the help screen for the ediff tool.
+ 
+ [Test case]
+ (For non emacsy people)
+ 
+ Run emacs in a graphical environment
+ Menu option: Tools->Compare->Two Buffers
+ ENTER and ENTER to the two questions prompted
+ 
+ A new window, 'Ediff', opens and contains the text "Type ? for help"
+ In the 'Ediff' window, type the character '?',  This is supposed to display helpful info on the ediff commands
+ 
+ If broken: 
+   Ediff window will expand, then shrink horizontally to one character wide
+   Grabbing the frame and resizing will cause the shrinking behavior to repeat
+ If fixed:
+   Ediff window will expand and show the contents of the help
+ 
+ [Regression potential]
+ It could be that some other graphical environment relies on the bug being present, working around it in a way that if it's not present anymore, the window resizing will break there.  The current patch is tested for Unity and Cinnamon, and has been taken from the fix already applied upstream.
+ 
+ [Original description]
+ Unlike previously reported bug #941790, this bug involves a horizontal shrinkage to one column wide (multiple rows), and is still present in GNU Emacs 23.3.1.  Resizing the window isn't a work-around, as the window immediately shrinks again.  The behavior is observed as follows:
  
  Run ediff-buffers
- A new window, 'Ediff', opens and contains the text "Type ? for hlep" 
+ A new window, 'Ediff', opens and contains the text "Type ? for hlep"
  In the 'Ediff' window, type the character '?',  This is supposed to display helpful info on the ediff commands
  Ediff window will expand, then shrink horizontally to one character wide
  Grabbing the frame and reszing will cause the shrinking behavior to repeat
  
  Releveant packages / versions:
  Ubuntu 12.04.1 LTS
  GNU Emacs 23.3.1
  Unity 5.16.0-0ubuntu1

-- 
You received this bug notification because you are a member of compiz
packagers, which is subscribed to compiz in Ubuntu.
https://bugs.launchpad.net/bugs/1059633

Title:
  Emacs 'Ediff' Window Shrinks Horizontally To One Column Wide

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/1059633/+subscriptions