KVIrc
KVIrc copied to clipboard
Tooltip newline breaks make no sense
This was a problem before https://github.com/kvirc/KVIrc/pull/1861
some examples of whats wrong (but there are many others with or without ) screenshots were taken with https://github.com/kvirc/KVIrc/pull/1861 compiled in but even without these issues are present.
- Some tooltips main text content breaks / adds a newline where none was added.
- Some tooltips width is insufficient and breaks sentence midflow or add one word to a newline and then breaks
- Too many different types/formatting or styling for tootips would be nice if only two variations existed instead several more.
- Breaks and newlines arent respected fully.
- Some tooltips headers are centered, yet they dont center (i.e. status bar applets)
https://github.com/kvirc/KVIrc/search?l=cpp&q=%3Cb%3E%251%3C%2Fb%3E+%28%3Cu%3E%3Cfont+color%3D%22blue%22%3E%3Cnowrap%3E&utf8=%E2%9C%93
On that code they all wrap even though it says not to.
Would be nice if wrapping/nowrapping and breaks/newlines were respected and the tooltip set some autowidth within reason but this doesnt happen or is even respected. for e.g.
Its also not font size or type normally I use monospace size 10 (screenshots above) the screenshot below are with size 8 and still wrapping on those examples
User tooltips also suffer from this issue
In some rare cases and randomly it seems, the ```Using server: [email protected] also wraps for no apparent and valid reason.
screenshot from sdd (also a kvirc user) at some network @thereign is familiar with Edit: [image removed due to content]
lets poke @TheReign for thoughts.
After https://github.com/kvirc/KVIrc/issues/1867 and the fix in https://github.com/kvirc/KVIrc/commit/801b298857c8bba5609ed6e3af6c6b88a5932dcc it really re-enforces the problem described above.
Fixed:
in https://github.com/kvirc/KVIrc/commit/4125af54aced143ee2aac54726e701c0722f2dbf and https://github.com/kvirc/KVIrc/commit/0f84ad3ab2b362fd3633b222756c320492cc2644
Fixed:
capture
in 4125af5 and 0f84ad3
@wodim broke this again in https://github.com/kvirc/KVIrc/commit/78c3d1f26e72934a2877f8d63018fb82ece7ef85
thx.
Ones fixed
Status bar
User tooltips also suffer from this issue
screenshot from sdd (also a kvirc user) at some network @thereign is familiar with
The only issues left are with application options tooltips
Things like this https://cloud.githubusercontent.com/assets/3521959/12709251/d2f6d5fa-c8a1-11e5-9bc8-26cfd05d6f1f.PNG are still an issue it gets cut without reason, I think I narrowed this down to the type of method used for drawing the tooltips. However no idea how to go around it or fix it.
Aside from that all tooltips have been pretty much reworked.