Git Product home page Git Product logo

cosmic-applibrary's Introduction

Cosmic App Library

Cosmic App Library is an application launcher for the COSMIC desktop that lists all installed applications in a grid.

Building/Installing

# build
just build-release
# install
just install
# uninstall
just uninstall

cosmic-applibrary's People

Contributors

1280px avatar 13r0ck avatar aanzel avatar bittin avatar consultorseovalencia avatar crxruixuan avatar drakulix avatar falexei avatar gabriele2000 avatar gildemberg-santos avatar git-f0x avatar groobledierne avatar gustavosaquino avatar ids1024 avatar mjkim0727 avatar muhaaliss avatar nimafanniasl avatar oguzkarayemis avatar pbui avatar ryanabx avatar vandalhj avatar wash2 avatar wsx-udscbt avatar yorimirus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cosmic-applibrary's Issues

context menu: toggle stops working

Using the context menu to launch an app using a sub entry like Open Profile Manager for Firefox seems to break the app library. After selecting such an entry the app library can no longer be toggled. Selecting Run or directly launching the app without the context menu does not show this symptom.

Exiting (with ESC) in the middle of drag-and-drop breaks the library

Version: bb9f493

If I start dragging an icon, then press ESC to exit the library (which should also cancel the drag), I'm left with the icon's tooltip stuck to my cursor and the app library no longer opens. Killing the cosmic-app-library process resolves both issues.

In the below screenshot, the mouse cursor isn't shown, but you can see the colored box icon (from the GTK Demo app) that's actually stuck to my cursor floating on the right side of the screen.

screenshot-2024-02-01-18-15-04

Area with focus is remembered after the app library is closed and reopened

Summary:

If I select the search box, list of apps, or the groups, then close the app library and reopen it, whichever area was selected previously is still selected when I reopen the app library.

Steps to reproduce:

  • Open app library with Super + A
  • Single click one of the groups at the bottom
  • Close the app library
  • Reopen app library with Super + A
  • Press left/right arrow on the keyboard to see where the focus is. It should still be in the groups area.

Expected behavior:

It seems like the text box should have focus by default so that I can start typing to search without having to click it first with my mouse. Then I'd think hitting an arrow key should shift focus to the app list so I can move around and select something from the list with arrows/Enter.

What I'm not sure of is how one would select a group with just the keyboard (maybe hitting Tab?), but that might be out of the scope of this report.

Version:

$ apt policy cosmic-app-library 
cosmic-app-library:
  Installed: 0.1.0~1660784434~22.04~dc85e14
  Candidate: 0.1.0~1660784434~22.04~dc85e14
  Version table:
 *** 0.1.0~1660784434~22.04~dc85e14 1002
       1001 http://apt.pop-os.org/release jammy/main amd64 Packages
       1002 http://apt.pop-os.org/staging/master jammy/main amd64 Packages
        100 /var/lib/dpkg/status

Newly created groups contain all apps from "Library Home"

Summary:

If I create a new group, it has all of my applications in it. I feel like this might be a placeholder until customizing groups is better supported (#12), but this still seemed like it was worth putting on the list.

Steps to reproduce:

  • With the app library open, create a new group by clicking the "New Group" button (it might need a double click: #8)
  • Give it a name and click "Ok"
  • The newly created group should contain all applications in the library

Expected behavior:

The new group should start out empty, then the user should be able to add applications to it.

Version:

$ apt policy cosmic-app-library 
cosmic-app-library:
  Installed: 0.1.0~1660784434~22.04~dc85e14
  Candidate: 0.1.0~1660784434~22.04~dc85e14
  Version table:
 *** 0.1.0~1660784434~22.04~dc85e14 1002
       1001 http://apt.pop-os.org/release jammy/main amd64 Packages
       1002 http://apt.pop-os.org/staging/master jammy/main amd64 Packages
        100 /var/lib/dpkg/status

Closing the app library without launching anything doesn't fully return focus to the previously active window

Summary:

If I open the app library over the top of an application, say, Gnome Terminal or LibreOffice Writer, then I close the app library with the Esc key, I need to click the application window with my mouse before I can resume typing in that application.

Steps to reproduce:

  • Open LibreOffice Writer and type a bit
  • Open the app library with Super + A
  • Close the app library with Esc (might take a double press due to #10)
  • Try to continue typing in Writer, it shouldn't work

Expected behavior:

After closing the app library with Esc, I'd expect to be able to resume typing in Writer without having to click it with my mouse.

Version:

$ apt policy cosmic-app-library 
cosmic-app-library:
  Installed: 0.1.0~1660784434~22.04~dc85e14
  Candidate: 0.1.0~1660784434~22.04~dc85e14
  Version table:
 *** 0.1.0~1660784434~22.04~dc85e14 1002
       1001 http://apt.pop-os.org/release jammy/main amd64 Packages
       1002 http://apt.pop-os.org/staging/master jammy/main amd64 Packages
        100 /var/lib/dpkg/status

After using "Remove" in right-click context menu, menu inappropriately stays open next time it loses focus

Normally, the right-click context menu (which contains e.g. "Run on {$GPU}") closes if you click outside of it.

2024-04-03.07-21-18.mp4

If the app library is open and you move an icon from a folder back to Home using the "Remove" option in the menu, then the next time the menu is opened, it takes two clicks instead of one to close. You can see that the first click still causes the app names to un-grey, so it's being registered by the app library, it's just not closing the context menu.

2024-04-03.07-23-29.mp4

I had one case where the app menu actually froze up after this happened and, after closing it, I had to kill the process to get it to open again. That part's not happening every time, though.

(Tested on version 3349462.)

[Feature Request] Option to remove or add columns & rows in the application library

I try to be more organized with the application library, so I've separated most of the applications I use in related folders. This results in having a lot of empty spaces in folders & even in Library Home.
I think Pop OS 22.04 has 7 columns & 3 rows by default & prefer that. But since the new Cosmic has 7 columns & 4 rows, the application library covers much more of the screen & most of it is empty(unless I'm in Utilities folder/group).

It would be great if you can add an option to add or remove columns & rows with minimum of only 3 rows.

Note: The experience is from a 1920 x 1080 screen, so it might be different for other resolution.

Can't exec cosmic-settings

When I click cosmic-settings on the app library, it doesn't open. This doesn't affect other libcosmic apps, or any other app from what I can tell.

When opening the app library on a workspace with no open windows, I have to hit Esc twice to close the app library

Summary:

Closing the app library with Esc takes a double Esc press to close it if I open the app library on a workspace with no open windows. If I have a browser window open and open the app library over the top of it, a single Esc press is enough to close it.

Steps to reproduce:

  • Switch to a workspace with no open windows
  • Open the app library with Super + A
  • Hit Esc once, app library should not close
  • Hit Esc again, app library should close after the second press

Expected behavior:

It should probably close after a single Esc press, like it does when I open it on a workspace with a window open.

Version:

$ apt policy cosmic-app-library 
cosmic-app-library:
  Installed: 0.1.0~1660784434~22.04~dc85e14
  Candidate: 0.1.0~1660784434~22.04~dc85e14
  Version table:
 *** 0.1.0~1660784434~22.04~dc85e14 1002
       1001 http://apt.pop-os.org/release jammy/main amd64 Packages
       1002 http://apt.pop-os.org/staging/master jammy/main amd64 Packages
        100 /var/lib/dpkg/status

Not able to find terminal applications in search

When searching for either terminal (for GNOME Terminal) or Tilix I am not seeing them in the search results.

cosmic-app-library:
  Installed: 0.1.0~1695826456~22.04~f051c21
  Candidate: 0.1.0~1695826456~22.04~f051c21
  Version table:
 *** 0.1.0~1695826456~22.04~f051c21 1001
       1001 http://apt.pop-os.org/release jammy/main amd64 Packages
        100 /var/lib/dpkg/status

gnome-cosmic to cosmic-applibrary comparison

Feature List gnome-cosmic cosmic-applibrary Issues
launch with Super + a working working
create folder working working
always opens to library home working working fixed by #33
search then close opens back to home working working fixed by #33
search also searches for Available to Install working not working
open/close with 4 finger swipe working not working
scrolling working working
drag/move apps between sections working not working Only works in one direction
menu on app icon right click working working
apps only show in one section working working
apps are sorted into default sections working working
use Tab to navigate library working not working Doesn't scroll view when navigating with keyboard

No way to add apps to groups

Summary:

I can't find a way to add applications to different groups. Clicking and dragging doesn't work, and I don't get right click context menus within the app library when I right click on stuff.

Steps to reproduce:

  • With the app library open, try clicking and dragging icons into different groups

Expected behavior:

Clicking and dragging apps into different groups seems like the most obvious thing users would try in order to add apps to a group.

Version:

$ apt policy cosmic-app-library 
cosmic-app-library:
  Installed: 0.1.0~1660784434~22.04~dc85e14
  Candidate: 0.1.0~1660784434~22.04~dc85e14
  Version table:
 *** 0.1.0~1660784434~22.04~dc85e14 1002
       1001 http://apt.pop-os.org/release jammy/main amd64 Packages
       1002 http://apt.pop-os.org/staging/master jammy/main amd64 Packages
        100 /var/lib/dpkg/status

Apps in folders also show up in Library Home

Currently, dragging an icon from Library Home into a folder does add the icon to that folder, but the icon still remains in Library Home. Additionally, apps that are in folders by default (like the LibreOffice icons in the Office folder) still show up in Library Home.

To match the old COSMIC as well as the Figma mockups, apps that are in a folder should not show up in Library Home. Library Home is simply a fallback folder for icons that aren't in any other folders, not an overview of all apps.

app activation requires a mouse press, enter/return keyboard press has no effect

Howdie,

I noticed that I can type a few letters to filter apps, and then tab and arrow-key around to move some sort of highlight/focus outline around to the app I want, but pressing enter/return does not launch the app

Looking at the code, I think it's because only the press event on the button widget is wired up, but I would have thought that would include enter/return (and even space?):

.on_pressed(Message::ActivateApp(i, gpu_idx))

Is this the intended behaviour?

If you're okay with me raising a PR to fix this, is this likely to be a button issue over in libcosmic / iced? Or should this only be solved here?

scaling: 200% scaling causes the app library to go off screen

At the scaling that's best for my laptop (200%) the app library is cut off at the bottom presumably due to scaling.

screenshot-2024-02-17-11-37-55

It looks like it would fit the screen correctly if it weren't put below the top bar, but I don't know if that's intended or not.

"Remove" context option doesn't work

Right-clicking any icon in any folder opens a menu with "Remove" as one of the options. That option doesn't seem to do anything.

I'm assuming this menu item should move an icon back to Library Home if it's in another folder. (I don't think it should show up if it's in Library Home.) May need clarification from @pop-os/ux if it's supposed to do something else, as it wasn't present in GNOME COSMIC.

Folder/group and "new group" buttons at the bottom require a double click to activate

Summary:

The categories/folders at the bottom of the launcher only become selected when I single-click them. They are activated by either a double click, or by hitting Enter after one is selected.

Steps to reproduce:

  • Super + A to open library
  • Single click one of the groups at the bottom or the "new group" button, it won't activate
  • Double click one of the groups at the bottom or the "new group" button, and it does activate

Expected behavior:

I'm thinking a single click should probably activate these buttons.

Version:

$ apt policy cosmic-app-library 
cosmic-app-library:
  Installed: 0.1.0~1660784434~22.04~dc85e14
  Candidate: 0.1.0~1660784434~22.04~dc85e14
  Version table:
 *** 0.1.0~1660784434~22.04~dc85e14 1002
       1001 http://apt.pop-os.org/release jammy/main amd64 Packages
       1002 http://apt.pop-os.org/staging/master jammy/main amd64 Packages
        100 /var/lib/dpkg/status

Search should show results from all folders

Currently, search does not show items in folders. This makes some odd things happen, like searching for a terminal but it not showing up because it is in Utilities, at least by default on Pop.

Tab navigation doesn't scroll view

The library view(& other groups as well) is fixed to top when using Tab to select applications & doesn't scroll below. So we cannot see the selected application if we keep using Tab after crossing the applications present in the first few rows.

[Feature request] Hidden group

This is intended mainly to clean up the other groups by non-destructively hiding unwanted desktop entries.
E.g. ImageMagick is a dependency for many things, but someone might not want it cluttering up the other groups if it's not used directly (Steam also creates desktop entries for Proton and Runtimes, which is a bit annoying).
The hidden group would be revealed by Ctrl + H, and is not visible otherwise.

Right now, unwanted entries can be placed in their own group, but this takes up space and is always visible ('out of sight, out of mind' would be preferred).

A potential different solution might be to have an option (maybe in the context menu; and maybe only on the Home page) to remove an entry from the App Library, but have some kind of menu somewhere, where they can be individually added back.

"New Group" dialog's button styling looks a little off

Summary:

The "Ok" and "Cancel" buttons on the "New Group" dialog are aligned to the left, and it looks like there is a darker gray bar below them which sticks off on the right side. I'd take a screenshot, but it looks like none of my screenshot utilities seem to be working in COSMIC quite yet 😅

Steps to reproduce:

  • Open app library
  • Double click "New Group"

Expected behavior:

The darker gray bar beneath the buttons probably shouldn't be there, and the "Cancel" button should probably be aligned to the right side of the dialog. Keeping the "Ok" button left-aligned is probably what we want.

Version:

$ apt policy cosmic-app-library 
cosmic-app-library:
  Installed: 0.1.0~1660784434~22.04~dc85e14
  Candidate: 0.1.0~1660784434~22.04~dc85e14
  Version table:
 *** 0.1.0~1660784434~22.04~dc85e14 1002
       1001 http://apt.pop-os.org/release jammy/main amd64 Packages
       1002 http://apt.pop-os.org/staging/master jammy/main amd64 Packages
        100 /var/lib/dpkg/status

Can't drag icons from folder back to home

Version: bb9f493

I can drag an icon from Library Home into a folder as expected. However, when I try to drag the icon from the folder back to Library Home, nothing happens. (Library Home is not highlighted when the dragged icon is hovering over it, so it looks like the Library Home element isn't listening for things to be dragged over it.)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.