Am 15.07.2012, 11:40 Uhr, schrieb Jan Kundrát <[email protected]>:
Well, you aren't going to get away from QWidget weirdness so easy :).
Yes, am :-P
If you open a message which is called the MIME torture test [1]
"My Innocent Machine Exploded" torture test? How did they do that in 1993?
might be even more obvious on larger screens), it looks like the widgets tend to become *slightly* wider than the current message viewer width.
I actually predicted that.
In EmbeddedWebView there's a
static const int constrainPadding = 72;
If you raise that value to eg. 256 the issue is gone.
See comment above - we'd either have to tell the view the nesting level or
walk up the chain to the scrollParent and count EmbeddedWebView's on the
route to get a more precise idea.
Handing nesting level is faster, counting does not require API changes ->
your choice.
The last style in a pretty long list of what I've tried finally shows a subtle "glow" when I hover over the header field -- that's it, I guess.
QtCurve - yes.
Showing a passive notification bar at the top of the main window area informing about something like "Your IMAP server doesn't support actively updated sorting (CONTEXT=SORT). Trojitá will have to request full sort order whenever new messages arrive. This will transfer roughly XYZ kB of data, sorry. You might want to request this feature from your IMAP server vendor." -- that's crazy enough to be worth a consideration
The dialog is a 100% "tl;dr" for 99.9% of users
Warning
Sorting is slow on this server!
[x] Don't show again
[OK]
When attempting to sort (either way).
It's just that you've to inform the user - you don't want to stop him.
And no abr.'s or brackets, turns joe users brain into duuuuuuude mode.
-> see attachment (it has a little more info, thanks to html subset
support in QLabel
Patches welcome :), I know that KDE has a widget for these "passive popus" already. Sometimes I really want to use their libraries...The thing that's really missed in QMessageBox is the "[x] Don't show again" checkbox. The patch just warns once per session - could turn out to be too annoying (ie. "don't tell me stupid computer" checkbox would be mandatory - could still be done with a real QMessageBox instance - just ask)
Cheers, Thomas
0001-warn-user-about-slow-sorting.patch
Description: Binary data
