Bug 4082 - "Edit Accounts" Window default size is Too Small
Summary: "Edit Accounts" Window default size is Too Small
Status: NEW
Alias: None
Product: Claws Mail (GTK 2)
Classification: Unclassified
Component: UI (show other bugs)
Version: 3.17.0
Hardware: PC Linux
: P3 enhancement
Assignee: users
URL:
Depends on:
Blocks:
 
Reported: 2018-08-28 13:34 UTC by Pk4SVXxdekho
Modified: 2018-10-26 11:07 UTC (History)
0 users

See Also:


Attachments
window capture of badly sized Edit Accounts window (78.84 KB, image/png)
2018-08-28 13:36 UTC, Pk4SVXxdekho
no flags Details

Description Pk4SVXxdekho 2018-08-28 13:34:47 UTC
I couldn't figure out how to delete an account, and eventually posted my problem to the Users mailing list.  As per https://lists.claws-mail.org/pipermail/users/2018-August/022516.html:

    [In the Edit Accounts Window, ] I see New, Edit, Up, Down, and Close down the right hand side, and Set As Default, Help, and Close across the bottom.  The Close button is in the lower right hand corner of the window.

[the attachment shows that window]

Later in that thread, Shai Berger noticed something funny about the window.  As per https://lists.claws-mail.org/pipermail/users/2018-August/022519.html:

    > Notice in this image, how the "Up" and "Down" buttons seem to have
    > little bars over their tops? I think these are the "Delete" and "Copy"
    > buttons. It looks like your UI fonts are quite large, and they made
    > the UI elements large, but the "Edit Accounts" dialog has a fixed size
    > and so the buttons got crammed on top of eachother, and "Delete" and
    > "Copy" are almost completely hidden.

    > If I'm right, then this is a bug -- the size of the dialog should
    > either be modifiable, or set according to font sizes.

    [...] If I maximize the window, then I see the full complement of buttons down the right hand side:  New, Edit, Delete, and Copy at the top; and Up, Down, and Close at the bottom.

    [...] I switched to a HiDPI system about a year ago, and had (and have) to fiddle with all sorts of things to get an adequate experience [...]

So the bug seems to be that Claws doesn't take the font size and the display's resolution into account when building the Edit Accounts window.
Comment 1 Pk4SVXxdekho 2018-08-28 13:36:01 UTC
Created attachment 1908 [details]
window capture of badly sized Edit Accounts window
Comment 2 Michael Rasmussen 2018-08-29 23:55:25 UTC
I have found the cause for the problem. The problem is that the window size is static meaning it keeps the same size regardless of the size of the containing widgets content so if the font size for the label at the top increases then the widget - hbox, which contains the label takes more and more space from the window leaving lessor space for the rest of the widgets. At some point the only thing the rest of the widgets can do to responds for more space from the label is to collapse the buttons. To fix this it seems that something must be done to gtkut_window_new.

Note You need to log in before you can comment on or make changes to this bug.