Ticket #63 (assigned defect)

Opened 1 year ago

Last modified 1 year ago

Narrowing a window scrolls left edge

Reported by: gz Assigned to: rme (accepted)
Priority: minor Milestone:
Component: IDE Version:
Keywords: Cc:

Description

Making the editor window narrower scrolls (horizontally) a few pixels off the screen, at least the first time you do it.

Note this is different from Ticket #45 which is about vertical positioning.

Change History

08/22/07 18:34:07 changed by gb

  • priority changed from major to minor.

If anyone thinks that this is major, feel free to change the priority back.

Ticket:45 is just the way that some private selection-centering methods work; it behaves exactly the same way in TextEdit? and every other Mac application that I'm aware of.

I'm not sure that I understand the bug description here well enough to be able to reproduce it. If anyone can, it'd be useful to know whether the observed and undesirable behavior is somehow unique to OpenMCL's IDE.

08/23/07 07:42:06 changed by gz

To reproduce:

- Open cocoa-editor.lisp - grab the window grow control and drag it horizontally to the left about half an inch (i.e. make the window half an inch narrower) - let go the mouse.

The text jumps left a pixel or two when I let go of the mouse. I can grab the horizontal scroll bar and move it left to get the pixel back.

11/06/07 21:33:13 changed by rme

  • owner changed from gb to rme.
  • status changed from new to assigned.

11/08/07 15:32:53 changed by rme

The story with this appears to be the same as ticket:45. This is built-in appkit behavior, it looks like.

One way to avoid this is to enable the "wrap lines to window" preference. Of course, then you don't get a horizontal scroll bar, but things don't move around quasi-randomly either.

11/08/07 15:40:50 changed by rme

(From ticket:69)

Open cocoa-editor.lisp. Scroll down so that the first def-cocoa-default line is on the screen. Move insertion point to start of that line. Type ctl-space ctl-n. The whole text area moves a pixel or two to the left.