Bug 406417 - IMAP Server Info dialog larger than screen.
Summary: IMAP Server Info dialog larger than screen.
Status: RESOLVED FIXED
Alias: None
Product: trojita
Classification: Applications
Component: Desktop GUI (other bugs)
Version First Reported In: git
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Trojita default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-10 19:47 UTC by Espen Sandøy Hustad
Modified: 2019-05-20 13:07 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Screenshot demonstrating the bug (54.65 KB, image/png)
2019-04-10 19:47 UTC, Espen Sandøy Hustad
Details

Note You need to log in before you can comment on or make changes to this 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