[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: Non-wrapped dialogs (KMessageBox)
From:       Darío Andrés <andresbajotierra () gmail ! com>
Date:       2009-03-03 12:09:58
Message-ID: a2c126ef0903030409t31fa37bdlbf8ef01d802c2890 () mail ! gmail ! com
[Download RAW message or body]

On Tue, Mar 3, 2009 at 6:33 AM, Andreas Pakulat <apaku@gmx.de> wrote:
> On 03.03.09 12:51:03, Harald Hvaal wrote:
>> I have a rather small screen, and it has surprised me when error/info messages
>> appear with no wordwrapping, but rather elided with the whole middle of the
>> message cut out. It could be a long descriptive message, and yet almost all of
>> the main body is lost.
>>
>> I was surprised when I saw it first (in kmail), and thought it was a problem
>> with the application used it, but it was when I discovered it in my own app
>> (ark) that I was most surprised. The class I use is KMessageBox. Here is the
>> code:
>>
>> KMessageBox::sorry(NULL, i18n("Ark was not able to open the archive '%1'. No
>> library capableof handling the file was found.", localFilePath()), i18n("Error
>> opening archive"));
>
> Well, unfortunately Qt cannot do proper word-wrapping, especially when
> url's are involved. If the url is "long enough" you'll get a message box
> thats larger then the screen. Thats why at some point KMessageBox had a
> scrollbar, but it seems that was removed now in favor of elided text. I
> agree that this solution is not really acceptable and suggest you discuss
> this on kde-core-devel.
>
> Andreas

There is also a bug report about this at BKO:
https://bugs.kde.org/show_bug.cgi?id=179294

Regards
Darío

>
> --
> You like to form new friendships and make new acquaintances.
>
>>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
>
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic