Git Product home page Git Product logo

cosmic-applets's People

Contributors

13r0ck avatar absolucy avatar alyssais avatar drakulix avatar edfloreshz avatar eopb avatar falexei avatar gedeagas avatar gildemberg-santos avatar git-f0x avatar groobledierne avatar hugok79 avatar ids1024 avatar jilv220 avatar jokeyrhyme avatar leb-kuchen avatar maciekk64 avatar minomit avatar mjkim0727 avatar mmstick avatar moi-cest-matthew avatar mtfbella109 avatar nimafanniasl avatar pixeldoted avatar ryanabx avatar vandalhj avatar vixea avatar wash2 avatar wiiznokes avatar wsx-udscbt 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  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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

cosmic-applets's Issues

Date, Time and Calendar Applet

Mockups:
Date, Time, and Calendar applet (2)

Like other applets one can position this applet on the top panel.
Settings-top-panel-date

There are a couple of additional settings to be added to the Date & Time Panel in Settings under "Date & Time Format".
Date, Time, and Calendar applet

Here is a prototype of the Top Panel with all the default applets and the Top Panel in Settings for the reference: https://www.figma.com/proto/pxynAlox5CKzU1g36X601m/Top-panel?node-id=1096%3A100109&scaling=scale-down&page-id=559%3A11099&starting-point-node-id=1096%3A100109&show-proto-sidebar=1 Just a note: hover states on that prototype behave a bit weird sometimes.

app-list crashes on activate

When switching the focused window the app-list applet crashes with

wl_display@1: error 1: invalid arguments for [email protected]
Io error: Invalid argument (os error 22)
thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: OtherError(IoError(Os { code: 22, kind: InvalidInput, message: "Invalid argument" }))', cosmic-app-list/src/toplevel_handler.rs:194:50

Further investigation shows that it tries to use a WlSeat that does not belong to the connection of the toplevel_handler.

replacing the seat with state.seat_state.seats().next().unwrap() fixes the issue, but is probably not the correct way to handle that.

[App list] Apps with many windows open have excessive padding

Version: 1707362

If an app has more than a few windows open, the dots underneath the icon expand and create a lot of empty space around the app's icon:

screenshot-2024-02-01-20-04-18

On GNOME COSMIC, the maximum number of dots displayed is 4, which avoids this issue. I can kind of see the appeal of having the full number displayed, but we might want to at least make it an option to have it capped to not overflow the icon. (CC: @pop-os/ux)

LTO="fat" causing OOM

I've tried on both nightly and stable gnu, it seems like, at least of this project, enabling fat LTO is causing high levels of memory usage, enough to crash my PC since it fills both ram and swap, and oom on linux is... well oom on linux. Reverting it to LTO="thin" resolves the crashing.

Graphics applet shows nonexistant options on non-switchable hardware

On pang13, which is an AMD system with integrated graphics only, the graphics applet still displays all four options (Integrated, NVIDIA, Hybrid, and Compute). Clicking any of the options does nothing (clicking any other than Integrated makes the text in the top panel briefly flicker).

system76-power graphics switchable can be used to query whether a system has switchable graphics or not (there are probably other ways to do this, too).

[Feature Request] Global Menu Applet like KDE Plasma or OSX.

Overview:
I'd like to propose the addition of a Global Menu Applet in the Cosmic Desktop Environment. This feature, commonly seen in desktop environments like KDE Plaama, XFCE or the Desktop of OSX, has proven to enhance user experience and productivity.

Why it makes sense:
The Global Menu Applet consolidates application menus into a single, easily accessible location, typically located at the top of the screen. This approach offers several benefits:

  1. Optimized Screen Space: By moving application menus to a global location, it optimizes screen real estate, allowing users to focus more on content and less on cluttered application windows.

  2. Consistent User Interface: A Global Menu provides a consistent look and feel across different applications, contributing to a streamlined user experience. Users don't have to hunt for menus within each application window, making navigation more intuitive.

  3. Improved Productivity: Accessing menus from a centralized location can speed up workflows, especially for users who prefer keyboard shortcuts.

  4. Integration with Cosmic DE:
    The integration of a Global Menu contributes to a streamlined user interface by reducing visual clutter within individual application windows. A clutter-free interface promotes focus and clarity, enhancing the overall user experience for both new and experienced users. Considering Cosmic's commitment to a clean, organized, and user-friendly experience, the addition of a Global Menu Applet aligns with the overall philosophy of the Cosmic Desktop.

Community Impact:
I believe that the introduction of a Global Menu Applet would make Cosmic DE even more appealing to a broader audience, including users who appreciate a more traditional menu structure.

Conclusion:
In conclusion, the Global Menu Applet is a widely appreciated feature in other desktop environments, and its inclusion in Cosmic DE would enhance the overall usability and attractiveness of Pop!_OS or other Distros who use Cosmic.

Let me know what you option is!

icons are not installed on nix

The nix flake does not install the icons due to rev not being in the build environment. Can be fixed by adding util-linux to the nativeBuildInputs list.

Logs look smth like this:

find cosmic-app-list/'data'/'icons' -type f -exec echo {} \; | rev | cut -d'/' -f-3 | rev | xargs -d '\n' -I {} install -Dm0644 cosmic-app-list/'data'/'icons'/{} /nix/store/a176xq5cbdzlnac8g82c5qz0spff8scp-cosmic-applets-0.1.0/share/icons/hicolor/{}
sh: line 1: rev: command not found
sh: line 1: rev: command not found
find: 'echo' terminated by signal 13
install -Dm0644 cosmic-app-list/data/com.system76.CosmicAppList.desktop /nix/store/a176xq5cbdzlnac8g82c5qz0spff8scp-cosmic-applets-0.1.0/share/applications/com.system76.CosmicAppList.desktop

Although, in my case it does not completely fix the issue [of icons not being displayed, the installation part seems fine]. I see some icons, such as the bluetooth logo and the brightness monitry thingy, but not the others. Any hints on debugging this are much appreciated.

App list doesn't show icons after extending dock to edges of screen

Not sure if this is a problem with the app list applet or the panel itself, but if I open up Settings and extend the dock to the edges of the display, then all icons (favorites and open apps) disappear from the dock, and the dock is left blank. Un-extending the dock makes the icons show up again.

Screenshot_2023-12-13_16-18-09

Screenshot_2023-12-13_16-18-16

This is happening with cosmic-panel 7c9c924 and cosmic-applets 78f8a3f.

`cosmic_applet_audio` might be initialized too early.

Feb 26 00:10:53 paehyr-ms7c02 cosmic-panel[1177]:  ERROR cosmic_applet_audio::pulse > ERROR! Misc("get_default_source(): Error getting requested device")

I'm not sure if the title is accurate as I need to look into it more.
Full logs(split because of pastebin "file limit"(the file it's self was below it):
https://pastebin.com/2EnJKU9w
https://pastebin.com/EFidETQM
launching the applet in the terminal after everything iis setup audio sources are detected.

Default icon in Dock for many apps

I only see the default icon for most apps in the Dock

  • cosmic-term
  • cosmic-file
  • Brave browser (right click doesn't even show the app name)
  • calculator

These apps have the correct icon

  • Joplin
  • VSCode
  • Firefox

[Feature Request] methods for changing audio setting

It would be nice if

  • F12 increase audio volume
  • F11 decrease audio volume
  • mouse over applet and use scroll wheel to increase decrease audio setting
  • temporarily show audio setting as a percentage of max volume when volume level is changed
  • Ability to choose different audio inputs
  • Ability to choose different audio outputs

Unable to launch certain applications from Dock

  1. Added Brave (browser) as a favorite in the Dock
  2. Closed Brave
  3. Unable to launch Brave as a favorite in the Dock

Note:

  • Brave is place in the Dock with the default icon (gear)
  • If I right click the Brave Dock favorite it does not show the name of the application

Network Applet

Mockups for the Network Applet:
Network applet 1

Additional path to illustrate where the network shows when the connection is being established, when it is established, and when it couldn't be established (for the cases when the network is among "Visible Wireless Networks".
Network applet 2

Like other applets one can position this applet on the top panel.

Here is a prototype of the Top Panel with all the default applets and the Top Panel in Settings for the reference: https://www.figma.com/proto/pxynAlox5CKzU1g36X601m/Top-panel?node-id=1096%3A100109&scaling=scale-down&page-id=559%3A11099&starting-point-node-id=1096%3A100109&show-proto-sidebar=1 Just a note: hover states on that prototype behave a bit weird sometimes.

Power Applet

Mockups for the applet with some basic explanations of the applet layout (applicable to all the other applets):
Power applet

Like other applets one can position this applet on the top panel.
Settings-top-panel-power-applet

Here is a prototype of the Top Panel with all the default applets and the Top Panel in Settings for the reference: https://www.figma.com/proto/pxynAlox5CKzU1g36X601m/Top-panel?node-id=1096%3A100109&scaling=scale-down&page-id=559%3A11099&starting-point-node-id=1096%3A100109&show-proto-sidebar=1 Just a note: hover states on that prototype behave a bit weird sometimes.

Network Applet Wifi Captive Portals Support

Hotels and airports often have captive portals that require additional actions for internet access. When a captive portal is encountered while connecting to a network, the default browser should be opened to the portal URL.

[Power applet] No confirmation for shutdown/reboot

The Restart and Shut Down options currently work immediately on click, with no confirmation dialogue; these items are destructive (they close any open apps without prompting to save, etc) and should probably have some kind of confirmation prompt.

Notifications applet: Click notification bubble to go to notification source

This is probably planned already, but notification bubbles, when clicked, should bring you to the app that pushed the notification, and then close the bubble.

I might want to try my hand at implementing this myself (I'd like to learn rust and at the same time contribute to COSMIC) but only if someone is not currently working on it.

Notification applet panic

Yes, I'm using cosmic-session. When launching cosmic-session from tty with RUST_BACKTRACE=1, there are some error messages regarding notifications, but I can't copy them and they don't fit properly in the tty.
Not sure if launching cosmic-session from a terminal in GNOME would have valid output.
The output is massive but here are some error messages relating to notifications when cosmic-session is launched from GNOME:

INFO cosmic-panel: cosmic_session::notifications: 2024-01-19T15:04:34.105364Z ERROR Failed to connect to the notifications daemon Ok(Err(I/O error: Broken pipe (os error 32)
INFO cosmic-notifications: cosmic_session::notifications: 2024-01-19T15:04:34.105522Z ERROR cosmic_notifications::subscriptions::notifications: Failed to setup panel dbus server I/O error: Socket operation on non-socket (os error 88)
INFO cosmic-notifications: cosmic_session::notifications: 2024-01-19T15:04:34.109626Z ERROR cosmic_notifications::subscriptions::notifications: Failed to create the dbus server
INFO cosmic-panel: cosmic_session::notifications: 2024-01-19T15:04:34.122522Z ERROR Failed to connect to the notifications daemon Ok(Err(Operation not permitted (os error 1)))
INFO cosmic-panel: cosmic_session::notifications: 2024-01-19T15:04:35.178519Z ERROR Failed to connect to the notifications daemon Err(Elapsed(()))
INFO cosmic-panel: cosmic_session::notifications: 2024-01-19T15:04:35.387447Z ERROR stderr{client=InnerClientId { ptr: 0x63c6c74c6dd0, alive: false }}: com.system76.CosmicAppletWorkspaces: Io error: Broken pipe (os error 32)
INFO cosmic-panel: cosmic_session::notifications: 2024-01-19T15:04:35.387490Z ERROR stderr{client=InnerClientId { ptr: 0x63c6c74c6dd0, alive: false }}: com.system76.CosmicAppletWorkspaces: thread 'main' panicked at /build/cosmic-applets-qpityn/cosmic-applets-0.1.0~1705637777~22.04~6875bb3/vendor/iced_tiny_skia/src/window/compositor.rs:54:22:
INFO cosmic-panel: cosmic_session::notifications: 2024-01-19T15:04:35.388534Z ERROR process ' COSMIC_PANEL_SIZE=XS COSMIC_PANEL_OUTPUT=WINIT-0 COSMIC_PANEL_ANCHOR=Top COSMIC_PANEL_BACKGROUND=ThemeDefault RUST_BACKTRACE=1 WAYLAND_SOCKET=107 cosmic-applet-power ' failed with code 101
INFO cosmic-panel: cosmic_session::notifications: 2024-01-19T15:04:35.388550Z ERROR Exited with error code 101

If you know some way for me to get the output from tty (so that GNOME isn't active), let me know.

Originally posted by @git-f0x in #199 (comment)

Building on Arch Linux using the AUR helper script fails

I'm trying to build the entire Cosmic DE on Arch Linux using the AUR helper script. Unfortunately this fails when trying to checkout the smithay client-toolkit. My best guess is that it's caused by the double slash at the end of the URL in

sctk = { git = "https://github.com/smithay/client-toolkit//", package = "smithay-client-toolkit", rev = "e63ab5f" }

E.g. this fails:

❯ git fetch --tags --force --update-head-ok 'https://github.com/smithay/client-toolkit//' '+refs/heads/*:refs/remotes/origin/*' '+HEAD:refs/remotes/origin/HEAD'
ERROR: Repository not found.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

But this works:

❯ git fetch --tags --force --update-head-ok 'https://github.com/smithay/client-toolkit/' '+refs/heads/*:refs/remotes/origin/*' '+HEAD:refs/remotes/origin/HEAD'
remote: Enumerating objects: 94863, done.
remote: Counting objects: 100% (35768/35768), done.
remote: Compressing objects: 100% (1811/1811), done.
remote: Total 94863 (delta 33575), reused 35527 (delta 33412), pack-reused 59095
Receiving objects: 100% (94863/94863), 24.79 MiB | 1.15 MiB/s, done.
Resolving deltas: 100% (89438/89438), done.

Full error I got from the AUR helper script:

Submodule path 'xdg-desktop-portal-cosmic': checked out 'b0783c726a593ca44959c50d7306ac3581826dcb'
~/.cache/yay/cosmic-epoch-git/src/cosmic-epoch/cosmic-applets ~/.cache/yay/cosmic-epoch-git/src/cosmic-epoch
    Updating git repository `https://github.com/smithay/client-toolkit//`
ERROR: Repository not found.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
error: failed to load source for dependency `smithay-client-toolkit`

Caused by:
  Unable to update https://github.com/smithay/client-toolkit//?rev=e63ab5f#e63ab5f0

Caused by:
  failed to clone into: /home/gerard/.cache/yay/cosmic-epoch-git/src/cargo-home/git/db/_empty-f31853f5765173d8

Caused by:
  process didn't exit successfully: `git fetch --tags --force --update-head-ok 'https://github.com/smithay/client-toolkit//' '+refs/heads/*:refs/remotes/origin/*' '+HEAD:refs/remotes/origin/HEAD'` (exit status: 128)
==> ERROR: A failure occurred in prepare().
    Aborting...
 -> error making: cosmic-epoch-git-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
cosmic-epoch-git - exit status 4

Design RFC: App list icons currently too small

Currently, when using the App List applet on a smaller panel, the app icons are too small because of the indicator dots under them:
screenshot-2024-02-13-03-09-37

I'm wondering if instead of indicator dots, we do something similar to what plasma desktop does, where app icons instead are highlighted a certain color when a window is open:
image

Sure, this means we lose the ability to see from a glance the amount of windows of a certain app that are open, but IMO from a design perspective, we gain much more by ensuring visibility for the icons themselves.

Let me know what you think! I can make some design mockups for this too.

Support for alternative calendars

Sorry if it is too soon to talk about these features or if it is wrong repository.

I'm currently using a gnome extension for persian calendar, which gnome natively doesn't support. Since cosmic rust won't support gnome extensions, is there any chance that it supports non georgian calendars natively? Web platform / ECMAScript supports 13 different calendars, it would be great if cosmic support those. Should the support be added to upstream projects? And if so, which?

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.