Giter VIP home page Giter VIP logo

in.cinny.cinny's Introduction

Cinny desktop

Cinny desktop is made with Tauri and built using npm and cargo packages. Cinny itself has node dependencies managed with npm as well.

Source generation

To transform their package locks into flatpak sources, flatpak-builder-tools is used.

# Generate cinny-desktop sources for use with cargo
<path-to flatpak-builder-tools>/cargo/flatpak-cargo-generator.py -o cargo-sources.json <path-to cinny-desktop>/src-tauri/Cargo.lock

# Generate cinny and cinny-desktop sources for use with npm
flatpak-node-generator --no-requests-cache -r -o node-sources.json npm <path-to cinny-desktop>/package-lock.json

in.cinny.cinny's People

Contributors

ajbura avatar barthalion avatar camelcasenick avatar flathubbot avatar gasinvein avatar github-actions[bot] avatar kfiven avatar tingping avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

in.cinny.cinny's Issues

No provider of glFenceSync found

Running on Librem5 crash with:

No provider of glFenceSync found.  Requires one of:
    Desktop OpenGL 3.2
    GL_ARB_sync
    OpenGL ES 3.0
    GL_APPLE_sync

Wayland support and no audio

Since the Pulseaudio socket isn't enabled, videos don't have audio
Wayland works seamlessly, except for videos which require gstreamer-vaapi plugin flatpak to be installed manually
Note that this plugin also breaks video playing on GNOME Web flatpak
The Wayland experience is much smoother than its XWayland counterpart on Wayland (Playing videos take ~0.5-1% more CPU on Wayland though)

Open cinny again, it will open a new window

Follow these steps:

  1. Open cinny from launcher.
  2. Close it. It gets minimized to system tray (in GNOME you need an extension to see the tray).
  3. Open cinny from launcher.

Instead of reopening the already-running-but-minimized-to-tray cinny, it opens a new instance.

IMHO it should be the contrary.

Cinny has no icon in the system tray

Describe the bug

Cinny has no icon icon in the system tray as shown below:
cinny

Reproduction

  1. Launch Cinny
  2. Observe that, when put in the system tray, Cinny is given no icon.

Expected behavior

I would expect an icon in the system tray.

Platform and versions

- OS: Arch Linux, Kernel v6.5.8-arch1-1
- DE: KDE Plasma v5.27.8, Wayland
- Downloaded From: Flatpak

Additional Context

This issue was copied from cinnyapp/cinny-desktop#215, as suggested by this comment.

GNOME runtime 42 is EOL

Hello,
I just got this message:

Info: runtime org.gnome.Platform branch 42 is end-of-life, with reason:
   The GNOME 42 runtime is no longer supported as of March 21, 2023. Please ask your application developer to migrate to a supported platform.
Info: applications using this runtime:
   in.cinny.Cinny

runtime-version: '42'

Would be very nice if you could update this. Thanks!

Unable to drag files into Cinny Flatpak (sandbox permission issue)

TL;DR: By granting appropriate filesystem permissions in Flatseal or with flatpak override, this issue is resolved. Whether that permission (filesystem=home) should be granted by default is debatable (convenience vs security), but Cinny should certainly better handle the case where the necessary filesystem access is denied.

Current behavior when filesystem access permission is not granted

Using Cinny Flatpak v2.0.4.

Dragging a file into Cinny (from a file manager) succeeds in attaching the file but shows a size of "n/a". This also happens with copying an image file and pasting it into Cinny.

image

image

Generic file attachments cause behavior identical to folder attachments.

Attempting to send a broken image attachment will lock out the text field (disabled attribute and cursor: not-allowed; style). This state is recoverable by removing the attachment (which remains possible after a send attempt unlike with folders and generic files) and then successfully sending a message, such as a text message or a valid attachment obtained through the file chooser button. If text was not entered prior to attempting to send the broken image, it is possible to insert emoji via the emoji picker even in the disabled state of the text field (this is probably a separate bug).

image

I have not tested the behavior of any other special file types (audio, video).

Expected behavior

Broken file attachments should be rejected immediately and never appear to be sendable. Something along the lines of checking for 0-byte files should solve this problem.

Unable to paste images into Cinny Flatpak

For clarity, this issue is about pasting image data stored on the clipboard, not an image file (addressed in #3).


Using Cinny Flatpak v2.0.4.

Nothing whatsoever appears to happen when attempting to paste an image into Cinny Flatpak. Pasting images works fine in the browser version of Cinny (Ungoogled Chromium 102, also a Flatpak so it's definitely possible to paste images into Flatpak apps).

Test Cases

All of these test cases fail to produce any result when pasting in Cinny Flatpak but work just fine in browser Cinny:

  • Right-click > Copy image in Ungoogled Chromium
  • Right-click > Copy Image in Firefox (non-Flatpak)
  • Copy button within ksnip
  • xclip -sel clip -t image/png testimage.png

Invalid test case: Copying from Eye of GNOME, which will copy the file rather than the raw image data (verifiable with xclip -sel clip -o)

No emojis in flatpak

Hi there!

I do not see any emoji in Cinny from flathub.org. They are all displayed as a box.

I do have emojis in non-flatpak applications and even in other flatpaks (like discord), so that seems to be an issue specific to Cinny.

Best Regards,
Tobias

PS: So far this is the best matrix client I have found:-) Thanks for working on 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.