#215 WM crashes when the main window holds a long chinese name...

0.65.x
closed-wont-fix
Behaviour (212)
5
2004-10-01
2004-09-01
Anonymous
No

When I used mozilla to edit a web page under blackbox
0.65.0, the window manager crashed when I opened a
web page with a very long chinese name.

Then I recompiled the source code and found that the
window manager crashed when the toolbar received a
title which is too long to be printed on the toolbar. It
caused a segmentation fault.

Another discovery is that this error only happens when
the long title contains chinese characters.

Indeed, I had written a patch to cut the given title
string short enough when it is too long. But
unfortunately my computer is broken so I cannot upload
the patch. I hope some other can make a better patch.
(add codes in Toolbar.cc and Window.cc)

Sorry again for my poor English.

Discussion

  • Nobody/Anonymous

    Logged In: NO

    sorry, it is `some others' but not `some other'. :-)

     
  • Ciprian Popovici

    Logged In: YES
    user_id=667423

    Can you try Blackbox 0.70 beta1 or, even better, the latest
    CVS? 0.70 has elided (sp?) window titles (it shortens them
    by replacing the middle with dots) and the latest CVS has
    proper Unicode support.

     
  • Bradley T. Hughes

    • assigned_to: nobody --> bradleyhughes
    • status: open --> closed-wont-fix
     
  • Bradley T. Hughes

    Logged In: YES
    user_id=459209

    we're not working on 0.65.x anymore, and in 0.70.x we ellide
    long titles, so this should not be a problem.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks