Issue 95086 - License text > 65500 chars cannot display
Summary: License text > 65500 chars cannot display
Status: CONFIRMED
Alias: None
Product: utilities
Classification: Unclassified
Component: code (show other issues)
Version: OOO300m9
Hardware: PC Windows, all
: P3 Normal with 2 votes (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact: issues@tools
URL:
Keywords:
: 96722 (view as issue list)
Depends on:
Blocks:
 
Reported: 2008-10-17 17:25 UTC by bmarcelly
Modified: 2014-02-12 08:00 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description bmarcelly 2008-10-17 17:25:39 UTC
If the license text of an extension has more than around 65500 characters the license 
window shows a blank text without scrolling facility. Then it is not possible to 
install the extension.

I did this test because the french version of LGPL is 37874 characters. If an author 
wants to show the user two or more licenses (e.g. one for the program and one for 
included images), the 65K limit will be broken. With all legal problems, a single 
license text may in the future grow over the 65K limit.
Note that the bug may only appear on lengthy languages (french, german).

In Basic dialogs, control texts don't handle more than 65500 characters. This is 
probably a limitation of awt.

The Developer's Guide on Simple license should signal this limit until the problem is 
resolved.
Comment 1 Martin Hollmichel 2008-10-17 17:48:15 UTC
reassign
Comment 2 jsc 2008-10-29 16:18:14 UTC
jsc -> jl: one for you?
Comment 3 joachim.lingner 2008-11-13 13:48:16 UTC
The text is displayed by an svtools MultiLineEdit (svtools/svmedit.hxx). The
SetText method takes an XubString. When converting an OUString with a string
length bigger than 65k to a XubString then it will result in an empty string.

Maybe it is possible to extend MultiLineEdit with a function that takes an
OUString, or a function to append text. There is also a TextView in svtools
which allows texts bigger than 65k. At this time (DEV300m35) the change to
TextView which allows that is still on a CWS.
Comment 4 Olaf Felka 2009-05-18 10:44:00 UTC
*** Issue 96722 has been marked as a duplicate of this issue. ***
Comment 5 joachim.lingner 2009-07-22 09:19:29 UTC
Retargeted to 3.x
Comment 6 Rainer Bielefeld 2014-02-12 08:00:22 UTC
Retargetted, Status due to facts.

I'm afraid legal issues never are "trivial" ;-)