Yaru: The app list of Pamac is missing with Yaru GTK theme.

Created on 24 Feb 2019  Â·  18Comments  Â·  Source: ubuntu/yaru

Expected Behavior

Works well with Pamac

Actual Behavior

The app list is missing

Steps to Reproduce the Problem

  1. search apps in Pamac
  2. double click the application to view the description
  3. go back to the app list
  4. click on the app list
    2019-02-24 14-49-59

Specifications

Software that presents the issue:

  • Name: yaru-gtk-theme (AUR)
  • Version: 19.04-2
info-needed help wanted

All 18 comments

Thanks for taking the time to report this issue @laichiaheng

Can you tell me if the app list is also missing with the Adwaita theme?

@madsrh No, it doesn't.

@madsrh It only happens to the AUR app list.

It looks more a system problem, yaru only styles the results

@clobrano But other GTK themes don't have this problem.

I understand, but Yaru on AUR is kind of experimental. I really can't understand how a theme (installed properly) can discard a list of items to display. I can only think of weird behavior when every element of this list is white on white, or transparent.

@laichiaheng could you please post a screenshot of your app using adwaita?

We officially only support Ubuntu but if it's easy to fix for other distros we can maybe do something. But I don't have time to set up an arch VM to debug this, I didnt even know this app exists

Edit: also - is that aur package up to date and correctly packaged? Might check to just install this theme from src instead https://github.com/ubuntu/yaru/blob/master/CONTRIBUTING.md#build-and-install-themes-from-source

@Feichtmeier
2019-05-03 16-22-25 的螢幕擷圖
It still happens if I build it myself, there is no libgtk-3-dev in arch though.

@laichiaheng thanks!

Could you check with the gtk inspector which widget hierarchy had been used there? Or just post a screenshot of your gtk inspector?

You can enable it with
https://github.com/ubuntu/yaru/blob/master/CONTRIBUTING.md#quick-testing-in-the-gtk-inspector

2019-05-03 17-02-44 的螢幕擷圖
@Feichtmeier What should I do after I open the widget factory and the inspector?

@Feichtmeier Or this?
2019-05-03 17-04-19 的螢幕擷圖

Ah nice - you need to

1) open that pamac app
2) open the inspector with that hotkey
3) click that crosshair/bullseye symbol in the top left and then select the bugged element of the pamac app
4) select the combobox in the top left corner (under the corsshair/bullseye symbol) and select "CSS Nodes" (in chinese ;D )
5) make a good screenshot of the hierarchy like for example here:

image

2019-05-03 17-13-22 的螢幕擷圖

Thanks we're almost there

could you please drag that right side of the gtk inspector to become smaller? so we can see the style classes of the selected widget in the left part of the window?

2019-05-03 17-17-43 的螢幕擷圖

Could you please test this with the new master branch?
Best regards

@Feichtmeier It seems to work now.
I only test it with the yaru-gtk-theme-git in AUR.

Thank you for reporting back! Closing it then

Was this page helpful?
0 / 5 - 0 ratings

Related issues

8none1 picture 8none1  Â·  3Comments

madsrh picture madsrh  Â·  3Comments

madsrh picture madsrh  Â·  3Comments

Feichtmeier picture Feichtmeier  Â·  3Comments

YamiYukiSenpai picture YamiYukiSenpai  Â·  3Comments