Bug 406417

Summary: IMAP Server Info dialog larger than screen.
Product: [Applications] trojita Reporter: Espen Sandøy Hustad <espen>
Component: Desktop GUIAssignee: Trojita default assignee <trojita-bugs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: git   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Screenshot demonstrating the bug

Description Espen Sandøy Hustad 2019-04-10 19:47:12 UTC
Created attachment 119341 [details]
Screenshot demonstrating the bug

The bottom of the IMAP Server Information dialog is below the screen if the IMAP server has enough capabilities with no possibility to scroll to the bottom. 


To reproduce:
1. Configure your IMAP server to have lots of capabilities.
2. Open the IMAP Server Information dialog from using menu "Application->Debugging->IMAP Server Information..."

The bottom of the dialog is below the screen, because the dialog is higher than the height of the screen, and with no scrollbars. The dialog should be scrollable and with a height lower than the screen height.

See also attached screenshot.
Comment 1 Espen Sandøy Hustad 2019-04-12 19:37:39 UTC
Proposed patch can be found here: https://gerrit.vesnicky.cesnet.cz/r/#/c/1018/
Comment 2 Espen Sandøy Hustad 2019-05-20 13:07:24 UTC
Git commit 26725965a5f9bcc0c4a370fb0cfc68328460149a by Espen Sandøy Hustad.
Committed on 29/04/2019 at 18:51.
Pushed by gerrit into branch 'master'.

Create a new IMAP Server Info dialog.

The old dialog was based on a QMessageBox::Information. This has no
support for scrollbars, except using a detailed text which does not
support HTML formatting.

The new dialog is based on the About Trojita dialog, with a scrollable
list of server capabilities.

Change-Id: I14ba8ffe5346ae352c5994a45e875c76fa43b82c
GUI:

M  +1    -0    CMakeLists.txt
A  +139  -0    src/Gui/ImapInfoDialog.ui
M  +11   -4    src/Gui/Window.cpp

https://commits.kde.org/trojita/26725965a5f9bcc0c4a370fb0cfc68328460149a