pop-os / cosmic-dock Goto Github PK
View Code? Open in Web Editor NEWPop!_OS fork of https://github.com/micheleg/dash-to-dock/tree/ubuntu-dock
License: GNU General Public License v2.0
Pop!_OS fork of https://github.com/micheleg/dash-to-dock/tree/ubuntu-dock
License: GNU General Public License v2.0
My machine is automatically suspended after 10 minutes of inactivity, After starting up the machine again, cosmic dock doesn't start up at all until I restart Gnome with Alt+F2
and enter restart
.
The issue is with all the different settings of intelligently hide
, always hide
or always visible
.
I am a relatively new user and don't know where logs would be, but I can provide it if assisted.
This is a request for a setting/option to align the icons within the Dock, when the dock is extended to edges of the screen.
COSMIC Dock | dash-to-dock |
---|---|
![]() |
![]() |
Specifically, I lock the dock to the left edge of the screen, and I want the icons to be top-aligned. Basically the same way that dash-to-dock does it in the screenshot above.
Motivation behind this request: I find it very convenient for muscle memory to have the same "favorites" icons always at the exact same position on the screen. When top-aligned they always stay the same distance from the top of the screen. But with COSMIC Dock's middle-alignment, their position from top-of-screen changes depending on how many total icons are on the dock right now.
(1) Issue/Bug Description:
I am using Pop! OS and the Pop Shell on my desktop with the following settings:
I only have one display so it's really the only option I have.
(2) Steps to reproduce (if you know):
Have one or more windows open taking up the whole screen
Navigate the mouse to the bottom of the screen repeatedly
Observe the dock does not consistently display. Some observations:
(3) Expected behavior:
Every time my mouse goes to the bottom of the screen where the dock is, the dock pops up to interact with.
(4) Distribution (run cat /etc/os-release
):
NAME="Pop!_OS"
VERSION="21.04"
ID=pop
ID_LIKE="ubuntu debian"
PRETTY_NAME="Pop!_OS 21.04"
VERSION_ID="21.04"
(5) Gnome Shell version:
From Settings:About GNOME Version = 3.38.5
(default from Pop! OS)
(6) Pop Shell version:
pop-shell:
Installed: 1.1.0~1626728027~21.04~9616931
Candidate: 1.1.0~1626728027~21.04~9616931
Version table:
*** 1.1.0~1626728027~21.04~9616931 1001
1001 http://ppa.launchpad.net/system76/pop/ubuntu hirsute/main amd64 Packages
1001 http://ppa.launchpad.net/system76/pop/ubuntu hirsute/main i386 Packages
100 /var/lib/dpkg/status
(7) Where was Pop Shell installed from:
Pop! OS ISO
(8) Monitor Setup (2 x 1080p, 4K, Primary(Horizontal), Secondary(Vertical), etc):
1 x 2k Ultrawide (3440x1440) @ 84.96 Hz
HiDPI Daemon off
(9) Other Installed/Enabled Extensions:
Only what comes with Pop! OS 21.04
(10) Other Notes:
When upgrading to 21.04, you have a chance to end up with a "terminal nightmare" / "terminal mess" attempting to repair a partially bricked system.
When upgrading my custom built desktop this "terminal nightmare" occured and I had to manually run "dist-upgrade" it worked but left the newly install COSMIC dock in a weird state with a buggy rendered icon always at the end of the dock which seem to act as a duplicate of the applications button.
Image of the bug:
EDIT2: I have just noticed a new bug as a result of this dist-upgrade:
Notice the invisible text when item is selected in the launcher.
When rhythmbox is running and you attempt to right-click then click "Stop & Quit" the gnome shell shows a loading icon which never goes way even though the software stops. Dragging any window will turn back the cursor to the normal pointer.
(1) Feature Description:
This feature would provide another dock on each secondary monitor and said dock would have only the applications open in the specific monitor.
This would also require the docks to be isolated by monitor, as the current dock holds all the open applications.
(4) Distribution (run cat /etc/os-release
):
NAME="Pop!_OS"
VERSION="21.04"
ID=pop
ID_LIKE="ubuntu debian"
PRETTY_NAME="Pop!_OS 21.04"
VERSION_ID="21.04"
HOME_URL="https://pop.system76.com"
SUPPORT_URL="https://support.system76.com"
BUG_REPORT_URL="https://github.com/pop-os/pop/issues"
PRIVACY_POLICY_URL="https://system76.com/privacy"
VERSION_CODENAME=hirsute
UBUNTU_CODENAME=hirsute
LOGO=distributor-logo-pop-os
(5) Gnome Shell version:
GNOME Shell 3.38.4
(6) Pop Shell version (run apt policy pop-shell
or provide the latest commit if building locally):
pop-shell:
Installed: 1.1.0~1625023507~21.04~976106e
Candidate: 1.1.0~1625023507~21.04~976106e
Version table:
*** 1.1.0~1625023507~21.04~976106e 1001
1001 http://ppa.launchpad.net/system76/pop/ubuntu hirsute/main amd64 Packages
1001 http://ppa.launchpad.net/system76/pop/ubuntu hirsute/main i386 Packages
100 /var/lib/dpkg/status
(7) Where was Pop Shell installed from:
Upgrade from Pop!_OS 20.10.
(8) Monitor Setup (2 x 1080p, 4K, Primary(Horizontal), Secondary(Vertical), etc):
1 x 1440p (2K) Primary (Horizontal)
1 x 4K Secondary (Horizontal) used in 1080p because games and other apps don't deal well with X11 Fractional Scaling.
(9) Other Installed/Enabled Extensions:
Current Behavior: If two monitors are connected and the dock is visible on both, launching an application from the dock opens the window on the "primary" monitor.
Sensible Default Behavior: If two monitors are connected and the dock is visible on both, if the application is launched from the dock on the secondary monitor, the application window should open on the secondary monitor.
This issue occurs after a number of the same type of windows (8+) are opened, which is pretty common for me with Terminal windows (lots of remote ssh connections).
By default if you right-mouse click on a icon in the dock, one of the options is "All Windows".
The bottom is random where it is rendered, sometimes it is rendered higher and sometimes lower. The more windows you open the higher it will render upwards and so you get a nice "empty" space between the dock and the menu... (This is a full height image from top of screen to the dock. So the cut-off on top is where it is cut-off on the screen.
Related is that if you enable: "minimize-or-previews" on the click action, it also mis-renders and looks like this: (full width of screen image):
-- it always renders it off the left side. The wider the title the less room left-right distance is and the quicker this rendering issue occurs on the previews, so it can be duplicated easier.
It appears that the logic for rendering doesn't have any cap for max height ( or left) so that it goes negative coords, which then the more you add, the more negative the rendering goes.
As far as I'm aware, there's currently no option to customize the background color of the dock.
I'm new to bug reports on here so apologies if this is formatted incorrectly. I have been experiencing an issue with the COSMIC dock and screen sharing on Zoom. Whenever I share the screen the Zoom controls/sharing interface (which overlaps the dock on the bottom) can no longer be interacted with. Disabling the dock immediately makes the controls work. I switched back to dash-to-dock and that works okay.
After using the COSMIC dock for a few days I noticed it does not support some of my favorite features from the dash-to-dock extension:
The current behavior is inconsistent. If two windows of the same applications are open and the unfocused window is covering the dock, the dock will hide. If two windows of different apps are open with one covering the dock, the dock will cover the unfocused app.
This is particularly bad on desktop monitors and with auto-tiling. It looks bad and content get covered by the dock.
Using GitHub for the first time, so forgive me for any mistakes.
I am facing two problems with the dock:
I downloaded to gnome extension earlier to change the look of the dock, however I did not like it so I deleted it. The extension is currently not there in my computer but the cosmic dock still shows a hybrid look of the default dock and the 'extension dock' whenever I boot my computer. I have to manually switch of all the extensions in the extension app, and then switch them back on every time to get rid of that effect.
I previously removed all the icons from the dock (even the favorite apps) so that it appears only when an app is running. However now I want my favorite apps to be more accessible and appear in the dock all the time. I manually added all the apps I like to 'favorite', but they are not appearing in the dock.
The Dash to Dock settings by clicking on the 9 dot's icon is not available. I just updated to PopOS 21.04 & in my Dock the 9 dot's icon is absent and I cant find a Dash to Dock settings option anywhere( which I can see in the Pic in Readme)
We should rename this extension to something along the lines of "COSMIC Dock". As it stands, keeping the "Ubuntu Dock" name is incorrect as this is a fork of that project, and contains quite a few changes from the upstream codebase. We also want to be sure that users filing bugs are not filing them against the upstream Ubuntu Dock extension.
Additionally, the current name prevents users from installing the regular Ubuntu dock extension without our changes, and changing the name would fix that.
This is a very popular feature from Dash to Dock.
Referencing this issue here: pop-os/beta#142
Hello, dear developer of Cosmic-dock,
I upgrade to pop_os 21.04 just today and am impressed by the aesthetic, I decide to stick to COSMIC dock instead of dash to dock. But there are still a few issues that are not so convenient on COSMIC dock. I name the most important part in my workflow is that switch to / launch the application that is in the dock using super+number. This is quiet common among all the desktop environments and would be a great complement to the workflow.
Thank you.
The dock works great with pop os. But users should be able to minimize the opened windows from the dock icons by clicking on the icons just like in windows. Guess it adds more functionality to the users users.
msgfmt -c po/ar.po -o po/ar.mo
make: msgfmt: No such file or directory
make: *** [Makefile:54: po/ar.mo] Error 127
How Can I solve?
Hi Pop-OS team,
Is it possible to add something like this to the dock, where programs running on a particular monitor/workspace show on that monitor/workspace.
Thanks.
Amrit
On HiDPI displays, the following issues are visible in the window preview switcher:
Hi, After the initial upgrade to PoP OS 21 , I gave the option to not show the dock. How do I reconfigure it back; so that I get the similar behaviour like Pop OS 20; Superkey shows the dock on the left side. I am not getting which file has the settings for this '/usr/share/gnome-shell/extensions/[email protected]'
Distribution (run cat /etc/os-release
):
NAME="Pop!_OS"
VERSION="21.04"
ID=pop
ID_LIKE="ubuntu debian"
PRETTY_NAME="Pop!_OS 21.04"
VERSION_ID="21.04"
HOME_URL="https://pop.system76.com"
SUPPORT_URL="https://support.system76.com"
BUG_REPORT_URL="https://github.com/pop-os/pop/issues"
PRIVACY_POLICY_URL="https://system76.com/privacy"
VERSION_CODENAME=hirsute
UBUNTU_CODENAME=hirsute
LOGO=distributor-logo-pop-os
Related Application and/or Package Version (run apt policy $PACKAGE NAME
):
I'm not positive that this is the correct package, but maybe?
gnome-shell-extension-cosmic-dock:
Installed: 69ubuntu1pop0~1626711379~21.04~5384aa0
Candidate: 69ubuntu1pop0~1626711379~21.04~5384aa0
Version table:
*** 69ubuntu1pop0~1626711379~21.04~5384aa0 1001
1001 http://ppa.launchpad.net/system76/pop/ubuntu hirsute/main amd64 Packages
1001 http://ppa.launchpad.net/system76/pop/ubuntu hirsute/main i386 Packages
100 /var/lib/dpkg/status
Issue/Bug Description:
With dock disabled (Settings → Desktop → Dock → "Enable Dock"), the dock still displays briefly before hiding after locking the session and then unlocking.
Steps to reproduce (if you know):
Expected behavior:
With the dock disabled, I expect it to remain invisible on login/unlock.
Video first showcase dock behavior when we enter workspaces & applications view from empty desktop, when dock is not hidden(start-0:07) & non-empty desktop, when dock is hidden(0:07-end).
Issue only happens in applications view, see from 0:12
Dock should remain as it is in workspaces view & not hide itself after mouse hover.
Cosmic Dock v69
Pop OS 21.04
The change to minimize windows on clicking an app icon in the dock resulted in the frustration among the users. Improving the default behavior would take more research and improvements, especially when it comes to showing window previews for multiple windows of the same application. So the suggestion is to make the minimize behavior optional for now and expose the setting in GCC. The quick mockup is included. That would not allow people to have previews but this behavior doesn't seem to be working well at the moment.
I know this is a fork of the dash to dock extension and thus might not support GNOME 40 right now. If this is the case, please add GNOME 40 support as soon as possible. Here is the error and stack trace shown in GNOME extensions -
Error:
TypeError: box.add is not a function
Stack trace:
buildPrefsWidget@/home/nilanjan/.local/share/gnome-shell/extensions/[email protected]/prefs.js:32:9
_init@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:209:40
OpenExtensionPrefsAsync/<@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:122:28
asyncCallback@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:115:22
run@resource:///org/gnome/Shell/Extensions/js/dbusService.js:177:20
main@resource:///org/gnome/Shell/Extensions/js/main.js:19:13
run@resource:///org/gnome/gjs/modules/script/package.js:206:19
start@resource:///org/gnome/gjs/modules/script/package.js:190:8
@/usr/share/gnome-shell/org.gnome.Shell.Extensions:1:17
I think supporting Super + Number launching would complement the COSMIC workflow nicely, so as it is already a d2d feature it wouldn't be really hard to implement.
This definitely doesn't need to block release since it is so minor.
If I set my dock to be on the right side of my screen, it covers the page indicator dots in the Applications grid. Here is a gif showing what it looks like to open and close Applications with the dock on the right side. You can see the dots briefly appear to the right of the dock before they move underneath the dock.
Running Pop!_OS 21.04 under Wayland, with Thunderbird 78.13.0 installed via standard repos. After creating and sending messages, the dock shows "phantom" window dots (i.e., two or three dots when only one window is really open). If right clicked, the contextual menu displays in the upper left corner of the screen, menu items are unusable, and it cannot be dismissed (although if I switch to another workspace and back, the stuck menu sometimes disappears). See screenshot. The phantom dots are displayed even after quitting Thunderbird, and after quitting, I cannot relaunch it via the Dock or Applications launcher, both of which act like it's still running. I can start it back up via the shell, but to clear the display status bugs, I have to fully reload the DE (log out and back in again).
Searching around, I found some similar bug reports at Dash To Dock, Launchpad, and at Mozilla. It reportedly occurs in TB 91 as well. What's not clear to me is if this is fixable in the dock or not. ETA: I think it likely has to be fixed in TB upstream, but it's probably useful to report it here anyway?
Here is my idea: In dash to dock extension, it is possible to edit the sensibility to "pop up" the dock when intelligently hide or always hide is activated. With the actual value, some times the dock doesn't appear when I pass the mouse. Thanks and good work!
Sorting icons in the dock exhibits inconsistent behavior. Sometimes you can arrange icons between apps and sometimes you can't. You seemingly can't move icons to the front or end of the dock.
The design of the window preview switcher pop-up needs to be improved. It currently looks like this:
At least the following points have been identified for improvement:
I recently updated to 21.04 from 20.10. My install is pretty vanilla so I don't think there's anything unique on my end that could be the culprit. Anyway, what I noticed is that the dock has these gray squares in the corners. They aren't there upon logging in, but they show up after the computer comes out of suspend.
I prefer Wayland but know it has its issues. So I logged in under X and tried to replicate my working environment under Wayland (same programs open, etc.). I let the computer go to suspend and woke it up, but no gray squares on the dock.
And should we add a GCC setting to show/not show mounted drives?
I was wondering whether it was possible that we have the COSMIC dock extend to the edges, but have the rounded corners and border that we see from the dock when it is not extended. I feel like this feature will solve a lot of gripes I currently have with the COSMIC dock (I feel like non-extended looks prettier but I wish it extended so that there wasn't a massive gap between the dock edges and the application)
How did you upgrade to 21.04? (Fresh install / Upgrade)
Upgrade from 20.10
Related Application and/or Package Version (run apt policy $PACKAGE NAME
):
Ubuntu-Dock
pop-cosmic:
Installed: 0.1.0~1622730049~21.04~7b17096
Candidate: 0.1.0~1622730049~21.04~7b17096
Version table:
*** 0.1.0~1622730049~21.04~7b17096 1001
1001 http://ppa.launchpad.net/system76/pop/ubuntu hirsute/main amd64 Packages
1001 http://ppa.launchpad.net/system76/pop/ubuntu hirsute/main i386 Packages
1001 http://ppa.launchpad.net/system76/proposed/ubuntu hirsute/main amd64 Packages
1001 http://ppa.launchpad.net/system76/proposed/ubuntu hirsute/main i386 Packages
100 /var/lib/dpkg/status
Issue/Bug Description:
Applications,Workspaces, and Launcher icons were removed with no way to restore them. Another user reports that these three icons weren't present to begin with. pop-os/beta#151 (comment)
Trying to recreate the issue on a test account.
Session: Wayland
Upgraded from 20.10
I had uninstalled gnome-tweaks before upgrading.
Let me know If I need to share more information.
Issues:
Apps don't immediately show up in dock, actions like sorting, launching new apps and marking as favorites takes as much as 1 minute before showing in dock.
Code can be added in theming.js#180
:
.cosmic-dock
style class at all times so that we can ensure our styling does not conflict with the standard GNOME Dash or Dash-to-dock/Ubuntu Dock extensions..bottom
and .side
style classes depending on which edge of the screen it's configured on
.left
and .right
to further differentiate? If so, these should be added separately from .side
IMO..extended
class when it is configured to extend to the screen edges.I'm on Pop OS version 21.04, fully updated. Windowing system is X11, using Nvidia drivers, and two monitors.
Go to Settings > Desktop > Dock, and select "All Displays" in the "Show Dock on Display" option.
The dock now shows on both displays, as intended.
However, if you then press the "Show Applications" button on the dock, the applications grid always opens on the primary display, even if you press the Show Applications button on the secondary display.
The correct behavior is for the application grid to show on the display you pressed the Show Applications button in.
Hi POP OS Team,
I edited the gtk-shell.css of Pop-dark theme to change the transparency of the background. It worked and I was able to get the see-through background of the dock. I added a line in the CSS code backdrop filter to blur the background. but it doesn't seem to work.
Any way around it or any help to fix this?
(1) Issue/Bug Description:
When a floating window exception is minimized by clicking its icon on the cosmic-dock
, its active hint remains visible in the screen.
(2) Steps to reproduce (if you know):
1- Open a program marked as a floating window exception.
2- Click its icon on the cosmic-dock
. The program will minimize, but the active hint will remain visible, showing the floating window position in the screen.
(3) Expected behavior:
When the window is minimized from the cosmic-dock
, no trace of it should be left behind.
(4) Distribution (run cat /etc/os-release
):
NAME="Pop!_OS"
VERSION="21.04"
ID=pop
ID_LIKE="ubuntu debian"
PRETTY_NAME="Pop!_OS 21.04"
VERSION_ID="21.04"
HOME_URL="https://pop.system76.com"
SUPPORT_URL="https://support.system76.com"
BUG_REPORT_URL="https://github.com/pop-os/pop/issues"
PRIVACY_POLICY_URL="https://system76.com/privacy"
VERSION_CODENAME=hirsute
UBUNTU_CODENAME=hirsute
LOGO=distributor-logo-pop-os
(5) Gnome Shell version:
GNOME Shell 3.38.4
(6) Pop Shell version (run apt policy pop-shell
or provide the latest commit if building locally):
1.1.0~1628180617~21.04~b76b83b
(7) Where was Pop Shell installed from:
Installed by default in Pop!_OS 21.04.
(8) Monitor Setup (2 x 1080p, 4K, Primary(Horizontal), Secondary(Vertical), etc):
Laptop monitor with a resolution of 1920 x 1080.
(9) Other Installed/Enabled Extensions:
No extensions installed or enabled, except the ones that came installed by default with Pop.
(10) Other Notes:
This might be related with pop-shell
's current behavior. Here are some screenshots in order to illustrate my issue:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.