[ moin-Bugs-974719 ] Edit window size not honored

"SourceForge.net" <[email protected]>
Newsgroups gmane.comp.web.wiki.moin.devel
Message-ID <[email protected]>
Bugs item #974719, was opened at 2004-06-17 14:07
Message generated for change (Comment added) made by nfbrooks
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=108482&aid=974719&group_id=8482

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Neil Brooks (nfbrooks)
Assigned to: Nobody/Anonymous (nobody)
Summary: Edit window size not honored

Initial Comment:
Setting the edit window size in UserPreferences to a size 
other than the default is giving odd results.

Sometimes the window is displayed correctly until any 
editing is done when it reverts to the default width.

Sometimes the new setting is ignored.

I need to reduce the width of the window to 65 as the 
rightside bar themes (rightside and nirlo2) hide the edit 
text. (which may be another bug)

This happens on my wiki running 1.2.2 and 
http://moinmoin.wikiwikiweb.de/ The browser did not 
seem to be a factor (IE6 and Firefox 0.9)



----------------------------------------------------------------------

>Comment By: Neil Brooks (nfbrooks)
Date: 2004-07-01 14:34

Message:
Logged In: YES 
user_id=1065345

The problem has been traced to PageEditor.py line 316.
This is:
self.request.write('<textarea name="savetext" rows="%d" 
cols="%d" style="width:100%%">%s</textarea>'

The 'style=' is overriding the 'cols='. This implies that the cols 
setting doesn't work for left sided themes either. 
When  'style="width:100%%' is removed, the textarea shrinks 
to what you'd expect when you supply a 'cols=65'. It even 
shrinks with the default value of 80. This means that when 
this is fix is applied the usual editor window will shrink.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=108482&aid=974719&group_id=8482


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.