Summary: | Hide MIME type tab bar when only one option exists | ||
---|---|---|---|
Product: | [Applications] trojita | Reporter: | Luke-Jr <luke-jr+kdebugs> |
Component: | Desktop GUI | Assignee: | Trojita default assignee <trojita-bugs> |
Status: | RESOLVED INTENTIONAL | ||
Severity: | wishlist | ||
Priority: | NOR | ||
Version First Reported In: | git | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Luke-Jr
2016-01-07 23:31:38 UTC
This is by design, to show the MIME structure of the message. While I agree that it's probably useless for a regular user, it's a nice toy, IMHO. It would also be too much work to change this "elegantly" without introducing other kludges. The margins are taken from your system's settings (Qt's settings and its style and its settings, to be specific). Maybe there's an option to tweak these for your entire system? Hah? This would be a multipart message w/ only one part, would it? (I do absolutely not get this in singlepart mails) Might be a misconfigured server (along bug #357676) if this is the "regular" case for you? The margins are reasonable for having a tabbed widget there. The problem is just the useless tab widget existing in the first place... Yes, it's a multipart message with one part. Guess I can go back to KMail again if user-friendliness has become WONTFIX. :/ (In reply to Luke-Jr from comment #3) > Guess I can go back to KMail again if user-friendliness has become WONTFIX. > :/ This kind of "argumentation" will not help you at all. No idea about Jan, but I'm very quick adding people to SA w/ a special tag, what means you stay forever (and bugzilla mails still expose the reporters address) So do yourself a favor and try to keep ad rem, ok? So, ON topic: --------- a) Why do you get a multipart message w/ only one part? I'd frankly seek to fix that first - is it your own Courier IMAP server? b) Leaving that aside, showing a tabbar w/ only one entry is pointless. A multipart mail w/ only one part is more or less a bug, but there's no reason to expose that to the common user this way. @Jan Fix should be very simple: QTabWidget::setTabBarAutoHide(true) - requires Qt 5.4, though. a) I assume because the sender formatted it that way... Depends. If that's limited to one sender: likely. Otherwise it might be a bug in the IMAP server (I took your concern as indicator that this happens on a more regular base. If I get malformatted spam, I don't care. It's going /dev/null - malformatted or not ;-) |