Code Monkey home page Code Monkey logo

appfolders-manager-gnome-extension's Introduction

Appfolders Management

for GNOME Shell 3.28 to 3.32

After 3.33, GNOME Shell handles this feature natively.

A GNOME Shell extension allowing easy management of "appfolders" directly from the applications view.

Available in :

A huge thank you to all translators!

Current version

Features :

  • Create new folders

  • Delete folders

  • Rename folders

  • Add a category to a folder

  • Remove a category from a folder

  • Add applications to folders

  • Remove applications from folders

Screenshot which isn't the current version at all (in french, sorry)

Screenshot of the dialog for editing an appfolder (in french, sorry)

(categories are defined by a freedesktop standard, see this section to learn more about additional categories available)

Drag-and-drop is possible.

Installation

Recommended way to do

Install it from extensions.gnome.org or from GNOME Software.

Manual installation

  • Download the .zip archive and extract files in ~/.local/share/gnome-shell/extensions/[email protected]
  • Restart GNOME Shell.
  • Enable the extension.

See also

appfolders-manager-gnome-extension's People

Contributors

albanobattistella avatar alex4401 avatar amivaleo avatar deadmetaler avatar dirosis avatar frnogueira avatar hobbypunk90 avatar ihorhordiichuk avatar jonnius avatar leavitals avatar liubodong avatar maoschanz avatar milotype avatar pkomur avatar serdarsaglam avatar vistaus 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  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  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

appfolders-manager-gnome-extension's Issues

Various things to do

Drag and drop for add/remove

With the current implementation of appDisplay.js, this seems impossible to do "naturally".

  • Special overlay actors have to be created just for dropping apps ?
  • How tf should the user do for adding an item from page 1 to a folder for page 2 ?
  • Should these overlay actors not be atop of their respective foldericon ?

Drag and drop for creating appfolders

  • An overlay actor with a +, which triggers the dialog

An option for putting appfolders first in the list

It looks impossible.

Not stable

In my experience with this extension it restarts the Gnome Shell multiple times when I am trying to move apps from one folder to another and I think it causes other issues too. I tried to test this by deactivating all extensions but it, and still saw issues. Anyone else experiencing this?

Gnome 3.32 issues

Hello
Cannot create new folder group
Cannot edit existing folder groups

Most of the Js-based add-ons are currently problematic on Gnome 3.32

allAppsGrid._grid is undefined

it's on GNOME 3.31.2 so you need a Rawhide to debug that

JS ERROR: Exception in callback for signal: drag-begin: TypeError: allAppsGrid._grid is undefined
ensureFolderOverlayActors@/home/alex/.local/share/gnome-shell/extensions/[email protected]/dragAndDrop.js:203:7
wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
on_drag_begin@/home/alex/.local/share/gnome-shell/extensions/[email protected]/dragAndDrop.js:90:3
wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
initDND/injections._init2</<@/home/alex/.local/share/gnome-shell/extensions/[email protected]/dragAndDrop.js:54:5
_emit@resource:///org/gnome/gjs/modules/signals.js:128:27
startDrag@resource:///org/gnome/shell/ui/dnd.js:285:9
wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
_maybeStartDrag@resource:///org/gnome/shell/ui/dnd.js:407:13
wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
_onEvent@resource:///org/gnome/shell/ui/dnd.js:236:24
wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22

remove from folder

Removing an application from a folder with the right click menu ("remove from") freezes the application grid: you can no longer scroll through the applications with your mouse or keyboard until the session is restarted

Error when creating app folder

I am not sure what happened, but after updating my Gentoo system a number of applications appeared outside of their folders. The apps were still in the assigned folders too. I tried creating a test folder (newapp folder) and Gnome sometime resets and I get this error:

`gnome-shell[3450]: JS ERROR: TypeError: appIcon is undefined
AllView<._refilterApps/</<@resource:///org/gnome/shell/ui/appDisplay.js:507:17
AllView<._refilterApps/<@resource:///org/gnome/shell/ui/appDisplay.js:505:13
AllView<._refilterApps@resource:///org/gnome/shell/ui/appDisplay.js:503:9
wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
AllView<._loadApps@resource:///org/gnome/shell/ui/appDisplay.js:553:9
wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
BaseAppView<._redisplay@resource:///org/gnome/shell/ui/appDisplay.js:154:9
wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
reload@/home/mgreene/.local/share/gnome-shell/extensions/[email protected]/extension.js:612:2
addToFolder@/home/mgreene/.local/share/gnome-shell/extensions/[email protected]/extension.js:605:2
AppfolderDialog<._create@/home/mgreene/.local/share/gnome-shell/extensions/[email protected]/extension.js:255:3
wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
AppfolderDialog<._addfolder@/home/mgreene/.local/share/gnome-shell/extensions/[email protected]/extension.js:212:3
wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
AppfolderDialog<._function@/home/mgreene/.local/share/gnome-shell/extensions/[email protected]/extension.js:171:5
wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22

gnome-shell[3450]: destroying
`

Appfolder name searchable from the overview

Hi, I love the extension, however I noticed that if I want to search in the global menu (Super -> type) the name of my newly created Appfolder it does not find it. I am testing pop_os and it came with a "Office" Appfolder by default, if I type "Office" or "office" in the global menu nothing is found either.

[Feature Request]

Please, add the possibility to Add the AppFolders to the favourites in Dash to panel/Dash to dock extensions.

Problems with the extension!

Hello Maestrochan, If I enable the extension I get these problems:

  1. If I open any appfolder the content inside become invisibile: http://imgbox.com/Bla4ZnG5
  2. And once opened some folder, it remains opened, it doesn't close also If I disable the extension.
  3. The application menu doesn't scroll well when the extension is active.

My specs:

Desktop Environment: GNOME v3.24.2
Distro: Manjaro v17.0.2
Kernel Linux v4.9.40-1-MANJARO
Shell: bash v4.4.12
I run the OS on VMWare Workstation 12 Player
My machine is based on a i5 configuration.

Default suse.yast folder

When using this extension (which is amazing btw) on Archlinux, by default I have an appfolder called something like suse-yast that is empty. I always have to add an app to the folder to get it to appear in my activities overview and then right click the folder and delete the folder. This folder doesn't hurt anything by being there, I'm just pretty particular and I don't like seeing it in the list of available folders when I'm moving icons around.

Thanks for the hard work!

adapt to portrait format screens

Create/delete can't be displayed.

Example of the issue (don't care about folders positions):

Provide a solution for systems where no space is available on the side

  • detect this situation
  • display create/delete instead of hidden arrows (at the top the 1st page and at the bottom of the last)

Contribute new languages - How to?

Hi there, I would like to contribute translations to spanish, catalan and swedish. I am a developer but I never worked with pot files, could you give me some directions on how to getting started with those? Thanks.

Official extensions badge

Hi, about a week ago I asked for "Get it on..." badge for extensions like Google Play has, so GNOME had their marketing designer Caroline Henriksen make an official badge for us. They asked if I'd contact a few extension developers to get the word out.

There is a PNG and SVG available that you can host yourself, possibly link from the GitLab issue, or I have a repository on Github you can link from (see the raw markdown from this comment for using SVG on Github).

Or just feel free to close the issue if you're not interested! Thanks for your extension, this is one of first installs after dash-to-dock :)

Adding apps to a folder triggers an overlay bug

When I drag an app icon into a folder, the menu displays an overlay of the icons inside the folder that are bigger and persistent over the menu itself.
I have added a screenshot help understand.
Relaunching gnome shell and disabling/re-enabling through Gnome tweaks fixes the problem.
Everytime I add a new app in the folder by drag and drop, the size of the overlayed icons are getting bigger and bigger.

Debian buster 10.0.1 freshly installed.
Great extension, thanks!
Screenshot from 2019-07-13 10-55-37

an option do disable appFolders menu from Panels/Docks

behavior:
appFolder menu can be open both from Shell appOverview and from Shell Dock.
same behavior happens on Dash to Panel, when the appFolder menu is accessible from panel's appIcons. that doesn't make much of sense, plus it loads the menu

video that demos the issue (sorry about that kind of video!)
https://www.youtube.com/watch?v=S6PA2fIw-Ak

if not disabled by default, could be an option that would disable appFolder for Docks/Panels please?

Apply folders to all users

It would be interesting to have an option to apply the appfolders distribution to all users, as doing it by hand one by one is tedious

Possibility to create versioning release?

Hi there,
i'm a part of Manjaro and maintainer of Gnome edition; i want include your work in the default ISO of Gnome. Not a big issue since i can use the git commit to do the versioning but to divide a stable release and development work i ask if is possible adopt a versioning number for your work.

Thank in advance

Stefano Capitani
Manjaro Core Team

Where are the settings stored?

Hi! I have reinstalled my Linux and I do not know where the settings for this extension are stored, in order to restore them. I had lots of folders and and sorting. Cheers!

add Rename Folder / Move Delete AppFolders only to AppFolders?

i know "renaming" is on Todo, but i open an issue because perhaps is the only "critical" issue i can find, apart some crashes that look random and i cannot reproduce

bug-2

also can the "Delete Folder" moved on a menu on AppFolders? it makes more meaning, plus it removes one more item from the other menu, so it is nicer and faster (because less items) to use

Programs don't stay in the folder

Tried moving programs in to a folder, it works until I restart then all the programs are back out of the folders again. Using pop!_os 19.04

This only seems to happen with default categories, if I create a new one it works.

Dash to dock can't be rearranged.

As the title says. While the extension is turned on, the drag and drop rearranging no longer functions properly for the Dash to Dock extension. Using gnome 3.32.1.

Entity creation error.

Since installing, I the following error repeats itself 4-7 times in KSystemLog.

"Failed to set text from markup due to error parsing markup: Error on line 1: Entity did not end with a semicolon; most likely you used an ampersand character without intending to start an entity — escape ampersand as &"

"new appfolder" not working with 3.22

Perhaps the issue isn't persistent, but it could be a regression. My issue exactly matches that of the OP. Selecting "+ NewAppFolder" does nothing.

Journal logs:

Jan 21 11:30:49 debian gnome-shell[1205]: JS ERROR: Error: Value is not a valid 64-bit integer
_patchContainerClass/containerClass.prototype.child_set@resource:///org/gnome/shell/ui/environment.js:32
_patchContainerClass/containerClass.prototype.add@resource:///org/gnome/shell/ui/environment.js:41
AppfolderDialog<._buildCategoriesSection@/home/steve/.local/share/gnome-shell/extensions/[email protected]/appfolderDialog.js:204
wrapper@resource:///org/gnome/gjs/modules/lang.js:178
AppfolderDialog<._init@/home/steve/.local/share/gnome-shell/extensions/[email protected]/appfolderDialog.js:54
wrapper@resource:///org/gnome/gjs/modules/lang.js:178
_Base.prototype._construct@resource:///org/gnome/gjs/modules/lang.js:110
Class.prototype._construct/newClass@resource:///org/gnome/gjs/modules/lang.js:213
createNewFolder@/home/steve/.local/share/gnome-shell/extensions/[email protected]/extension.js:301
injectionInAppsMenus/injections._redisplay</</a<@/home/steve/.local/share/gnome-shell/extensions/[email protected]/extension.js:81

Originally posted by @phenest in #9 (comment)

"Add" menu button when creating an appFolder

when we create a new folder, there is a "Cancel" button, and we should press Enter for creating it

games-bug

can be an "Add" button on the right of "Cancel" so we can do the same with mouse of touch? that will also expand the input size which currently is very small!

moreover it should check for availability, for example not having two appFolders with same name, or have invalid characters, but only alphanumerics and spaces

[3.18] No secondary icon

  • the extension have to know the shell version
  • an if statement, not building/connecting the secondary icon with incompatible versions

Folder Scroll Direction

Hello,
I appreciate the work on the extension; however, I find that I get a little frustrated with it since the folders do not follow the system scroll direction.

I use natural scrolling (Moving of "Page") instead of scrolling (Moving of "View Port"). The inconsistency leads to some frustration when using folders.

Is there a setting that I can change or one that can be added to make the folder scroll according to system settings?

Various things to do

Version 2 of the extension :
italic = done
bold = work in progress

Done things are not available on github immediatly.

Differences between v1 and v2 (May 22th to June 5th)

  • reload the view after each operation (bug if the number of pages changes)
  • delete ALL appfolder-related things in gsettings when an appfolder is deleted (option)
  • do a less ugly thing concerning the "new appfolder" submenu (just a menu item opening a popup with a text entry is better)
  • show the ability to "delete from" only if the item should be concerned
  • not allow multiple occurences of a folder
  • not allow multiple occurences of an item in a folder
  • display folders' actual names instead of their id
  • better organization of the code
  • merging features of my other extension about the number of column into this extension (+ add appfolders support for the concept) (initialization issue ? it doesn't work only the first time ?)
  • an icon for extensions.gnome.org
  • translations ( .pot file with v2 + v3 together)

  • allow creation of new folder within a folder (by calling "popdown" before creating the entry)
  • folder icon should change when adding/removing (i guess there is a problem about objects i don't destroy, but i can't destroy them so f*ck it at least it works)
  • appfolders' content is not shown with the good number of columns despite the setting which works (initialization issue ?) my solution is ugly as hell but it works, except when creating a new appfolder ?
  • Shell Toolkit doesn't like when the item my menu comes from is deleted
  • Main.overview.viewSelector.appDisplay._views[1].view._grid._grid.destroy_all_children() est MERDIQUE DE SA RACE LA PUTE du coup on va faire remove_all_children hein. Ceci dit notons que la fonction peut être appelée depuis looking glass avec succès. À l'avenir, il faudra surveiller l'évolution de ce bug en fonction des versions de GS. Pourquoi pas si j'ai que ça à foutre, patcher le problème.

Tests (version 2 ; June 2nd)

With 3.22 (Debian) ; Warnings in logs :

  • (gnome-shell:4629): St-CRITICAL **: st_widget_get_theme_node called on the widget [0x556678e92f30 StButton.app-well-app app-folder ("Accessoires")] which is not in the stage. (add an item from Accessoires to another folder)
  • (gnome-shell:4629): St-CRITICAL **: st_widget_get_theme_node called on the widget [0x55667d4540d0 StBin.popup-menu-boxpointer popup-menu app-well-menu] which is not in the stage. (remove an item from a folder)
(gnome-shell:4629): Clutter-CRITICAL **: clutter_text_get_editable: assertion 'CLUTTER_IS_TEXT (self)' failed
(gnome-shell:4629): Clutter-CRITICAL **: clutter_text_get_text: assertion 'CLUTTER_IS_TEXT (self)' failed
(gnome-shell:4629): Clutter-CRITICAL **: clutter_text_set_text: assertion 'CLUTTER_IS_TEXT (self)' failed
(gnome-shell:4629): Clutter-CRITICAL **: clutter_actor_remove_child: assertion 'child->priv->parent != NULL' failed
(gnome-shell:4629): Clutter-CRITICAL **: clutter_actor_remove_child: assertion 'child->priv->parent != NULL' failed

(deleting a folder from outside itself)
*

(gnome-shell:4629): Clutter-CRITICAL **: clutter_text_get_editable: assertion 'CLUTTER_IS_TEXT (self)' failed
(gnome-shell:4629): Clutter-CRITICAL **: clutter_text_get_text: assertion 'CLUTTER_IS_TEXT (self)' failed
(gnome-shell:4629): Clutter-CRITICAL **: clutter_text_set_text: assertion 'CLUTTER_IS_TEXT (self)' failed
(gnome-shell:4629): Clutter-CRITICAL **: clutter_actor_remove_child: assertion 'child->priv->parent != NULL' failed
(gnome-shell:4629): Clutter-CRITICAL **: clutter_actor_remove_child: assertion 'child->priv->parent != NULL' failed
(gnome-shell:4629): Clutter-CRITICAL **: clutter_actor_remove_child: assertion 'child->priv->parent != NULL' failed

(deleting a folder from inside itself)

Checklist :

for each action, if the number of pages changes or not, from the "allview", from the concerned folder, from another folder

  • good display at initialization
  • doesn't f*cking crash the whole shell
  • scrolling after use
  • no warning in logs

Mulitple "Add To"s in right click menu

I thought I was having an issue installing the extension and I ended up installing 2 different times.

Then I ended up having 2 "Add To"s when I right click on an application. So I tried uninstalling and installing again, 2 more times. Now I have 4 "Add To" menu items.

I'm going to try restarting my computer to see if that will help. If it does I'll close this report but, I did want to mention it just the same.

Ubuntu 18.04.3
Gnome 3.28.2
Firefox 68.0.2 (64-bit)

Hide apps on menu

I want request a feature to hide apps on menu , just appear on the search in the search bar
image

Merging folders

A basic implementation has been done, but:

  • systematic "incorrect pop" if adding to BigArea (poorly managed grabHelper issue) (should i care or disable it ?)
  • mysterious (not systematic) intempestive folder deletions with both BigArea and FolderArea
  • bad timeout handling (might be the cause of the issue)

Programs Not Staying In Folders

There are 6 specific applications that will not stay in a folder after I sign out of my session. When I log back in, those 6 applications are back outside of their folders. They are LibreOffice-Base, PulseAudio Volume Control, System Settings, TimeShift, Gnome Tweaks, and WoeUSB. I'm running Pop_OS! 18.04, 4.15.0-43-generic Kernel, & GNOME 3.28.3 on a Toshiba Satellite U845-S406 with an Intel i5-3317U and 8GB RAM. I have uninstalled and reinstalled the Gnome Extension as well as the .deb package and the issue persists. Is there anything I can do to make these programs stay in their folders?

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.