KVIrc icon indicating copy to clipboard operation
KVIrc copied to clipboard

Tooltip newline breaks make no sense

Open un1versal opened this issue 9 years ago • 6 comments
trafficstars

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.

capture capture1

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 capture

capture

User tooltips also suffer from this issue capture

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]

un1versal avatar Feb 01 '16 04:02 un1versal

lets poke @TheReign for thoughts.

un1versal avatar Feb 02 '16 10:02 un1versal

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.

un1versal avatar Feb 05 '16 16:02 un1versal

Fixed:

capture

in https://github.com/kvirc/KVIrc/commit/4125af54aced143ee2aac54726e701c0722f2dbf and https://github.com/kvirc/KVIrc/commit/0f84ad3ab2b362fd3633b222756c320492cc2644

un1versal avatar Mar 08 '16 08:03 un1versal

Fixed:

capture

in 4125af5 and 0f84ad3

@wodim broke this again in https://github.com/kvirc/KVIrc/commit/78c3d1f26e72934a2877f8d63018fb82ece7ef85

thx.

un1versal avatar Mar 08 '16 16:03 un1versal

Ones fixed

Status bar capture capture

User tooltips also suffer from this issue

capture

screenshot from sdd (also a kvirc user) at some network @thereign is familiar with capture

The only issues left are with application options tooltips

un1versal avatar Apr 23 '16 06:04 un1versal

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.

un1versal avatar Jul 09 '16 00:07 un1versal