#1018749 claws-mail: Size of Dropdown and Clear-Button to large.

Package:
claws-mail
Source:
claws-mail
Description:
Fast, lightweight and user-friendly GTK based email client
Submitter:
Christopher Bock
Date:
2023-12-06 13:33:05 UTC
Severity:
normal
Tags:
#1018749#5
Date:
2022-08-30 05:43:12 UTC
From:
To:
Dear Maintainer,

   * What led up to the situation?

        I guess some Update from the gtk-libraries.

   * What exactly did you do (or not do) that was effective (or
     ineffective)?
      Nothing of the following was effective.

      - Starting Claws-Mail with different Themes via
        - GTK_THEME=Adwaita claws-mail
        - GTK_THEME=Breeze claws-mail

      - I tried running it with a newly created User

      - I Created a systemd-nspawn container like the example from
https://wiki.debian.org/nspawn#Firefox_example and ran it via
        root@asterix ~ # systemd-nspawn \
          --setenv=DISPLAY--bind-ro=/tmp/.X11-unix/ \
          --private-users=pick \
          --private-users-chown \
          -D /var/lib/machines/deb-claws-mail --as-pid2 claws-mail

   * What was the outcome of this action?

        The Size of the Drop-Down-Field and Clear-Button for Searching
        Mails is about 3 times thicker than it should be.
	And now that i loaded the report in Claws-Mail to send it over i
	can see that the Size of TO/CC/BCC/.. is also broken.

   * What outcome did you expect instead?

       A clean look like in the past.


with many regards,
Christopher Bock

#1018749#10
Date:
2022-09-09 12:27:04 UTC
From:
To:
control: tags -1 confirmed

Hi Christopher,

The origin seems to be packaging changes in the adwaita theme which
have migrated to testing recently, this one to be precise:

https://salsa.debian.org/gnome-team/adwaita-icon-theme/-/commit/b5022c4f854d08af064dab7f25df7b38d83df0b5

I've been also able to reproduce it with a fresh VM from the debian
testing ISO, but keep reading... :)

Just guessing, but perhaps Breeze suffered the same process.

[…]

Yeah, that would be nice.

Anyway seems also strange that the automatic-resizing mentioned on the
above commit's comment is not happening at all, despite the code is
requesting to create the button¹ with an icon of 16x16 pixels² and
nothing is mentioned on the code of that function about the size
parameter being ignored or deprecated³.

Hence I'm not reassigning to adwaita-icon-theme because I think more
investigation is required. I'm also CCing adwaita developer in case I've
overlooked something and he can shed some light here, hi Simon! :)

best regards,

¹
https://git.claws-mail.org/?p=claws.git;a=blob;f=src/compose.c;h=60443a8aad69a1c750cd885365a6048c2211efab;hb=3674865761a7d909ac4bff505a624b175d842c41#l7246
² https://docs.gtk.org/gtk3/enum.IconSize.html
³ https://docs.gtk.org/gtk3/ctor.Button.new_from_icon_name.html

#1018749#17
Date:
2023-12-06 11:54:07 UTC
From:
To:
Hi,

I am also affected by this bug. It appeared after upgrading from
bullseye to bookworm. Some pictures joint.

francois@renard:~$ apt-cache showpkg claws-mail

Package: claws-mail
Versions:
4.1.1-2+b1
[...]
Dependencies:
4.1.1-2+b1 - libc6 (2 2.34) libcairo2 (2 1.10.0) libcompfaceg1 (0 (null)) libdbus-glib-1-2 (2 0.78) libenchant-2-2 (2 2.2.3) libetpan20 (2 1.9.2) libgdk-pixbuf-2.0-0 (2 2.27.1) libglib2.0-0 (2 2.70.0) libgnutls30 (2 3.7.5) libgtk-3-0 (2 3.21.6) libice6 (2 1:1.0.0) libldap-2.5-0 (2 2.5.4) libnettle8 (0 (null)) libpango-1.0-0 (2 1.14.0) libpangocairo-1.0-0 (2 1.14.0) librsvg2-2 (2 2.14.4) libsm6 (0 (null)) xdg-utils (0 (null)) claws-mail-i18n (0 (null)) xfonts-100dpi (16 (null)) xfonts-75dpi (16 (null)) xfonts-100dpi-transcoded (16 (null)) xfonts-75dpi-transcoded (0 (null)) aspell-en (16 (null)) aspell-dictionary (0 (null)) claws-mail-doc (5 4.1.1-2) www-browser (0 (null)) gedit (16 (null)) kwrite (16 (null)) mousepad (16 (null)) nedit (0 (null)) claws-mail-tools (0 (null))

Best regards.
François

#1018749#22
Date:
2023-12-06 12:31:14 UTC
From:
To:
Hello François,

The size of the buttons, as shown in your screenshots, is controlled and
caused by the button images. These button images are coming from your
configured GTK theme and are not part of Claws Mail and are not and cannot be
controlled by Claws Mail.

with regards

Paul

#1018749#27
Date:
2023-12-06 13:20:21 UTC
From:
To:
Hi,

Le Wed, 6 Dec 2023 12:31:14 -0000,
Paul <claws@thewildbeast.co.uk> a écrit :

Yes, it seems related to the Adwaita Icon theme. Changing it solves the
problem. Btw, the adress completion pop-up seems unrelated.

Best regards.
François

#1018749#32
Date:
2023-12-06 13:28:54 UTC
From:
To:
On Wed, 6 Dec 2023 14:20:21 +0100 François Poulain <fpoulain@metrodore.fr> wrote:

This is just how the address completion pop-up works now - when the list is
short or non-existant the pop-up shows empty space.

with regards

Paul