Version: (using KDE KDE 3.2.2) Installed from: Gentoo Packages long words in khtml dont get wrapped according to the window size. instead , it creates an horizontal sidebar. this , in example in kopete ( which uses khtml ) looks very ugly and unefficient. the best thing would be to wrap the word and not create an horizontal scrollbar
example page? test case?
well , is easy ,... use small kopete chat windows , and just wait for someone to write a very long url or word ... maybe kopete should wrap the long word , since creating a scroolbar looks kinda ugly and uneffective
It would suffice if khtml didn't only break lines at spaces, but also on weaker separators like .?!:/\,;#+-=|& Most overlong urls contain at least one of these.
*** Bug 93475 has been marked as a duplicate of this bug. ***
Here is an example on this website: http://bugs.kde.org/show_bug.cgi?id=104352 And while bugs.kde.org seems to be able to wrap everything else except the overlong line correctly all other websites I've seen do not. I mostly come across it when using gmail. Reading a mail while scrolling back an forth for each line is very annoying.
This problem drives me nuts. I have a suggestion that should solve 90% of the problems, although it will allow users to choose to make khtml non-standard. The solution is to add an option that will add a space character after every N non-space characters in the rendered text. Many blog web sites do this already but the wrapping is chosen site by site instead of user by user. For compliance tests and/or purists, just set N to zero and no extra wrapping will occur. If you want to get really fancy, set the background to a different color for this extra added spaces and strip out the extra spaces when the user tries to copy the text. But I would be very happy to live with these imperfections if I could just view pages that have long unbroken strings of non-space characters. When a page is 2x or 3x or more wider than the window, having to horizontal scroll back and forth for each line of text makes the page virtually un-readable. I would certainly be willing to give a $100 reward to someone who implements this feature for Konqueror. If multiple people contribute, they will have to split the reward.
Qt's QTextEdit and word processors like OOo Writer normally do word wrapping between words but if a word is longer than the width of the widget/page, they break the word. This (optional, non standard) mode would be nice to be implemented in KHTML (possibly with markers where a word continues in the next line). I think this is better than the spaces at fixed positions because the number of characters that wit in the page width depend heavily on the font size, window width and web page layout.
Is this still an issue on Konqueror 4.8.4 or later?
Yes.
Can i close this bug ? with the new html engines, is this still valid ?
Dear user, KHTML (and KJS) was a long time more or less unmaintained and got removed in KF6. Please migrate to use a QWebEngine based HTML component. We will do no further fixes or improvements to the KF5 branches of these components beside important security fixes. For security issues, please see: https://kde.org/info/security/ Sorry that we did not fix this issue during the life-time of KHTML. Greetings Christoph Cullmann
> Sorry that we did not fix this issue during the life-time of KHTML. I should be the one apologizing, I am sorry I did not notice this bug report and failed to close it, since it is very old and I have moved to using qt webengine. Thank you!