njpenghao / svnx

Automatically exported from code.google.com/p/svnx
0 stars 0 forks source link

Alert sheets should truncate overly long error messages #145

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
My company uses the check-style subversion hook.  If a commit results in lots 
of errors the modal window that appears extends beyond the bottom of my 
desktop.  You can't scroll this window, or close it.  The only thing you can do 
is force svnx to quit.  A scroll bar would be nice.

Original issue reported on code.google.com by gmparker...@gmail.com on 26 Aug 2011 at 2:53

GoogleCodeExporter commented 8 years ago
You should report that to Apple as that’s really a Cocoa bug.
[Cocoa determines the size (height) of the alert.  It should truncate overly 
long text (or make it scrollable).]

However, you can still close the alert sheet.
Typing <return> or <enter> maps to the OK button & <escape> or ⌘-. maps to 
Cancel (if there is one).

I will, however, also look at making svnX truncate overly long error/alert 
messages,
especially as if you use the Review & Commit window then the commit error is 
also displayed in (the diff pane of) that window.

Original comment by chris...@gmail.com on 26 Aug 2011 at 4:47

GoogleCodeExporter commented 8 years ago
Cornerstone does a nice job handling it.  They show the error very similarly to 
SVNX but the popup has a fixed size.  The error is shown in a scrollable text 
field (see attached image)

Original comment by gmparker...@gmail.com on 29 Aug 2011 at 1:38

Attachments:

GoogleCodeExporter commented 8 years ago
Fixed in svnX 1.3.2.

Original comment by chris...@gmail.com on 1 Jan 2012 at 7:07