Pamac-gtk window resizing is totally broken

I would create an issue in Applications / pamac · GitLab, but I cannot register there nowadays.

Didn’t you notice that the pamac window sizing is broken?
Or is it only for me? Open pamac-gtk GUI and try to resize the window or maximize it and check out how dramatically it breaks. There is some mess with horizontal and vertical scaling. When you increase the height of the window, the contents grow, but only the area of the previous window size is redrawn. The buttons at the bottom “fly away” to the not-redrawn region, but are clickable in the new place, although they became invisible.

Package: pamac-gtk Version 11.7.1-3

Hi @gzyms,

I never use a GUI version of pamac, but I do have it installed, and it is the same version:

$ pamac search --installed pamac-gtk
pamac-gtk  11.7.1-3                                                        extra
    A Package Manager based on libalpm with AUR and Appstream support (GTK4)

And I just had a look, I have absolutely none of the problems you described. So my suggestion is the clear out you cache and see if that works:

rm --force --recursive ~/.cache/*

And see if that helps.

Possibly - I cannot reproduce - If you experience is broken - then I suggest you look at the theme in use.

Also you don’t mention which DE but judging from your profile it is Plasma and that is what I use too.

 $ pamac search pamac --no-aur | grep -i 'Installed'
libpamac  11.6.4+2+g1421283-1 [Installed]                                  extra
pamac-tray-icon-plasma  0.1.3-2 [Installed]                                extra
pamac-gtk3  10.6.0-4 [Installed]                                           extra
pamac-cli  11.6.0-4 [Installed]                                            extra
[master] $ pamac info pamac-gtk
Name                  : pamac-gtk
Version               : 11.7.1-3
Description           : A Package Manager based on libalpm with AUR and Appstream support (GTK4)
URL                   : https://gitlab.manjaro.org/applications/pamac
Licenses              : GPL-3.0-or-later
Repository            : extra
Installed Size        : 556,4 kB
Groups                : --
Depends On            : archlinux-appstream-data gtk3 gtk4 libadwaita libnotify libpamac>=11.6.4
                        pamac-cli>=11.6.0
Optional Dependencies : pamac-gnome-integration: for integration into GNOME
                        libpamac-flatpak-plugin: for Flatpak support
                        libpamac-snap-plugin: for Snap support
Provides              : pamac libpamac-gtk.so=libpamac-gtk.so-64
Replaces              : --
Conflicts With        : pamac-gtk3
Packager              : Mark Wagie <mark@manjaro.org>
Build Date            : fre 29 mar 2024 15:47:14 CET
Validated By          : MD5 Sum  SHA-256 Sum  Signature

 $ pamac info pamac-gtk3
Name                  : pamac-gtk3
Version               : 10.6.0-4
Description           : A Package Manager based on libalpm with AUR and Appstream support (GTK3)
URL                   : https://gitlab.manjaro.org/applications/pamac
Licenses              : GPL-3.0-or-later
Repository            : extra
Installed Size        : 591,4 kB
Groups                : --
Depends On            : archlinux-appstream-data gtk3 libhandy libnotify libpamac>=11.6.4 pamac-cli>=11.6.0
Optional Dependencies : libpamac-flatpak-plugin: for Flatpak support
                        libpamac-snap-plugin: for Snap support
Required By           : manjaro-application-utility pamac-tray-icon-plasma
Optional For          : --
Provides              : pamac pamac-gtk
Replaces              : --
Conflicts With        : pamac-gtk
Packager              : Mark Wagie <mark@manjaro.org>
Build Date            : fre 15 mar 2024 23:35:33 CET
Install Date          : lør 27 jul 2024 14:53:34 CEST
Install Reason        : Explicitly installed
Validated By          : Signature
Backup files          : --

1 Like

Cant reproduce, i use the gtk3 matcha dark sea.
Seems lika a theming issue to me too.

1 Like

Have you tried replacing pamac-gtk with pamac-gtk3 from the repos? I dumped pamac-gtk last year as it seems to be more suited to Gnome than Plasma due to its Adwaita dependencies. pamac-gtk3 works well on Plasma (at least it does on my mini-PC), and uses the GTK theme set via the Application Style section of KDE’s System Settings.

1 Like

Thanks all, seems it’s only me having it. I attach a screenshot, how it looks like.
It’s in KDE Plasma. Removing .cache does not help.

I absolutely no idea how to check the theme stuff.
System Settings claims I use Breath Dark as the global theme, and Window Decorations are set Breeze.

Besides that, let me admit that I hate Gnome and GTK :slight_smile:
I find the pamac GUI design - a nonsense :slight_smile:
I’m happy it broke, LOL.
Thanks for your help

$ gsettings get org.gnome.desktop.interface gtk-theme                                                                                                                          
'Adwaita'

$ inxi -SMG                                                                                                                                                              
System:
  Host: x Kernel: 6.6.44-1-MANJARO arch: x86_64 bits: 64
  Desktop: KDE Plasma v: 6.0.5 Distro: Manjaro Linux
Machine:
  Type: Virtualbox System: innotek GmbH product: VirtualBox v: 1.2
    serial: <superuser required>
  Mobo: Oracle model: VirtualBox v: 1.2 serial: <superuser required>
    BIOS: innotek GmbH v: VirtualBox date: 12/01/2006
Graphics:
  Device-1: InnoTek Systemberatung GmbH VirtualBox Graphics Adapter
    driver: vboxvideo v: kernel
  Display: x11 server: X.Org v: 21.1.13 with: Xwayland v: 24.1.1 driver: X:
    loaded: modesetting gpu: vboxvideo resolution: 1: 1920x1158~60Hz
    2: 1920x1158~60Hz
  API: EGL v: 1.5 drivers: swrast platforms: x11,surfaceless,device
  API: OpenGL v: 4.5 vendor: mesa v: 24.1.5-manjaro1.1 renderer: llvmpipe
    (LLVM 18.1.8 256 bits)
  API: Vulkan Message: No Vulkan data available.

Do yourself a flavour and try with a new, fresh user? If it works correctly, then it’s a user-config problem. If there’s still a problem, then the issue is some kind of global config problem.

Your screenshot looks like you are still using pamac-gtk. Did you actually try pamac-gtk3? If you did, and it didn’t fix the problem, then the issue appears to be specific to your system…

I suggest you sync octopi package - it is Qt and integrates nicely into Plasma.

It looks a bit like synaptic package manager from Debian :slight_smile:

The only thing I dislike with Octopi is that it is not possible to disable the systray module - perhaps it has improved - I have not checked lately

The notification is a separate executable, you can disable it. It is in the startup apps (desktop file in home)

Thanks, octopi is what I used before and loved for years, but since manjaro is pushing the ridiculously shi.tty pamac as the default package manager - I gave it a try. Seems that was it. Never again. Pamac is the worst package manager I’ve ever used (for last 14 years), besides Windows Store.

I changed my global theme, accepting “replacing all my settings”, it did not help.
Those are logs that I see in journalctl while launching pamac:
I’m not interested in debugging it, thank you.

pamac is a piece of crap

elo 18 11:34:27 mj-x sudo[3649]: pam_unix(sudo:session): session closed for user root
elo 18 11:34:24 mj-x sudo[3649]: pam_unix(sudo:session): session opened for user root(uid=0) by x(uid=1000)
elo 18 11:34:24 mj-x sudo[3649]:     x : TTY=pts/1 ; PWD=/home/x ; USER=root ; COMMAND=/usr/bin/journalctl -b0 -r
elo 18 11:34:24 mj-x sudo[3649]: pam_systemd_home(sudo:account): New sd-bus connection (system-bus-pam-systemd-home-3649) opened.
elo 18 11:34:17 mj-x pamac-manager[3621]: Using GtkSettings:gtk-application-prefer-dark-theme with libadwaita is unsupported. Please use AdwStyleManager:color-scheme instead.
elo 18 11:34:17 mj-x xdg-desktop-portal-kde[1982]: xdp-kde-settings: Namespace  "org.gnome.desktop.a11y.interface"  is not supported
elo 18 11:34:17 mj-x pamac-manager[3621]: libEGL warning: egl: failed to create dri2 screen
elo 18 11:34:17 mj-x pamac-manager[3621]: MESA: error: ZINK: vkCreateInstance failed (VK_ERROR_INCOMPATIBLE_DRIVER)
elo 18 11:34:17 mj-x pamac-manager[3621]: libEGL warning: DRI2: failed to authenticate
elo 18 11:34:17 mj-x systemd[988]: Started dbus-:1.2-org.manjaro.pamac.manager@1.service.
elo 18 11:34:14 mj-x systemd[988]: dbus-:1.2-org.manjaro.pamac.manager@0.service: Consumed 13.333s CPU time, 800M memory peak.

Pamac is quite good e.g. for building a multi dependency package from an AUR script.

So - know it’s quirks it is quite functional.

If you do not want to report an issue do not post in Support section

Forum Rules - Personal Topics/Rants
Rants and complaints are frowned on and may be closed as they are discovered.
Posts of this type are much better suited for a blog or other personal web space and are unwanted on the Manjaro forums.
Public posts should be open, productive and inviting to all members.
Discussions among a select group of users should take place in private message.