Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Weird behaviour in App Menu #485

Open
Azania opened this issue Dec 11, 2024 · 5 comments
Open

Weird behaviour in App Menu #485

Azania opened this issue Dec 11, 2024 · 5 comments

Comments

@Azania
Copy link

Azania commented Dec 11, 2024

Noticed some weird behaviour in app menu.

  1. Some applications do not show up,but with search they do. e.g. fish, vim and htop

I can't seem to figure out why they do not show up without searching..

In budgie menu both fish and htop appear under System Tools but in App Menu in list form they do not show up under System Tools, Same for vim which is being shown in main menu under Accessories but in app menu list it isn't. And like I stated above, if I type and search they do show up no problem?

  1. Applications are not being added to the main view until they are opened..

E.g. I installed idea-community, I confirmed the the .desktop is in /ust/share/applications, main budgie menu does show this one and works fine but nothing in the app menu itself, not even in list form. I open up idea-community and now it does show up.

This is within the same logged in session as they are installed, I am not sure about relog/reboot.

@fossfreedom
Copy link
Member

fish, htop and vim (correct me if I'm wrong) are terminal apps. By default the appmenu does not display terminal apps.

Searching does find all executables.

I don't know about why apps are not appearing immediately - it should if the backend gnome-menu stuff is working correctly.

What distro and version are you using?

@Azania
Copy link
Author

Azania commented Dec 11, 2024

Gentoo - 10.9.2, and gnome-menus is installed and being used as far as I can tell (otherwise menu's should not be working I assume).

While they are terminal apps when I open them (regardless from budgie menu or search in menu app) they do launch in a terminal. so if I wanted to open htop quickly I would do it through the menu rather than opening a terminal and type htop e.g. So why are they being excluded them? Just for being terminal apps?

edit: budgie-extras 1.8.0, forgot to mention

@fossfreedom
Copy link
Member

Correct, the menu currently filters terminal based apps mainly because they "clutter" the menu. Wouldn't be too hard to add an option here. I don't have the time myself to-do but this type of PR would be a welcome

elementary/applications-menu@5ebb8ec

@Azania
Copy link
Author

Azania commented Dec 19, 2024

Currently working on making that switch, small question, do you want it to be named Show Terminal Applications or Hide Terminal Applications in the menu? And I assume the default should be to hide/not show them. My preference goes to 'Show' as by default they are all hidden and this matches the change as we go from default hidden to now having a switch to 'show' them. Makes most sense to me anyway.

Interestingly enough, while testing I do see vim and fish coming up, but htop refuses to show? it is being skipped for another reason but I cannot figure out why..

Most of the code is done so it should be finished in the next few days. Edit: all of the code is done except if there is a need to rename all show to hide and invert checks from it..

Edit 2: why are the following apps hardcoded to be excluded?
From system tools: excluded_applications = { "htop.desktop", "onboard.desktop", "onboard-settings.desktop" }
From other: excluded_applications = { "htop.desktop", "onboard.desktop", "org.gnome.FileRoller.desktop", "org.gnome.font-viewer.desktop" }

I am not sure what onboard is, but file-roller makes the least sense to me as it is an actual application, htop should just fall under terminal apps so not sure why hard excluded either, I am not familiar with font-viewer but I could see some use for this.. why are they all hardcoded to be excluded?

Edit 3: also.. education category excludes science.. ok. Science includes eductation.. what? So everything that has education now shows up in 2 categories? That can't be right.. Also libreoffice-math is being excluded from science, which also shows up in education and office.. seems a bit weird to me, so why is that excluded from science? I am confused..

@Azania
Copy link
Author

Azania commented Dec 21, 2024

Correct, the menu currently filters terminal based apps mainly because they "clutter" the menu. Wouldn't be too hard to add an option here. I don't have the time myself to-do but this type of PR would be a welcome

elementary/applications-menu@5ebb8ec

Pull Request made:

  1. Added setting for whether to show terminal apps or not applications-menu#2 for the switch of showing terminal apps
  2. Small fix on exclusion of certain apps applications-menu#3 in regards to exclusion of htop and some other weird/obsolete exclusions. Also explained my thoughts there after thinking about it for a day or so on best to deal with it, but it is food for thought and opens discussion about it, for which it is a better place than here.

Hope it helps :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants