Code Monkey home page Code Monkey logo

Comments (6)

Tudmotu avatar Tudmotu commented on June 20, 2024 1

@zephyrchien thank you!
I will look into this. Do you happen to know what is the required fix?

from gnome-shell-extension-clipboard-indicator.

zephyrchien avatar zephyrchien commented on June 20, 2024 1

@Tudmotu I have played with it for a while and everything works well, thanks!

from gnome-shell-extension-clipboard-indicator.

sidt4 avatar sidt4 commented on June 20, 2024

Same here on Debian unstable / GNOME Shell 46.0

Mar 30 18:14:57 linux gnome-shell[24359]: Failed to create new MetaSelectionSourceMemory: Failed to create MetaAnonymousFile
Mar 30 18:14:57 linux gnome-shell[24359]: JS ERROR: Error: Argument to the constructor of Gjs_ui_messageTray_Source should be an object with properties to set
                                          Source@resource:///org/gnome/shell/ui/messageList.js:290:4
                                          Source@resource:///org/gnome/shell/ui/messageTray.js:501:9
                                          _initNotifSource@file:///home/sid/.local/share/gnome-shell/extensions/[email protected]/extension.js:772:33
                                          _showNotification@file:///home/sid/.local/share/gnome-shell/extensions/[email protected]/extension.js:807:14
                                          _clearHistory@file:///home/sid/.local/share/gnome-shell/extensions/[email protected]/extension.js:574:14
                                          _confirmRemoveAll/<@file:///home/sid/.local/share/gnome-shell/extensions/[email protected]/extension.js:562:18
                                          action@file:///home/sid/.local/share/gnome-shell/extensions/[email protected]/confirmDialog.js:66:13
                                          addButton/<@resource:///org/gnome/shell/ui/dialog.js:134:41
                                          @resource:///org/gnome/shell/ui/init.js:21:20

from gnome-shell-extension-clipboard-indicator.

zephyrchien avatar zephyrchien commented on June 20, 2024

I think this might be the result of the recent API change.

from gnome-shell-extension-clipboard-indicator.

zephyrchien avatar zephyrchien commented on June 20, 2024

@Tudmotu Thank you for your great work.

I did some attempts.. But there seems too many API changes that I was not able to fix all of them.

I observed at least these changes:

  • the constructors of MessageTray.Source and MessageTray.Notification: new(arg1, arg2) => new({properties})
  • setters and getters are removed, replaced by GObject's attributes.
  • some actions are removed. I partially fixed the previous problems but still ran into this error: this._notifSource.showNotification is not a function

from gnome-shell-extension-clipboard-indicator.

Tudmotu avatar Tudmotu commented on June 20, 2024

@zephyrchien Thank you for this, I think I fixed it!
Would you mind reviewing this PR I opened? You can pull the branch and test it out locally.
Thanks ๐Ÿ™

#452

from gnome-shell-extension-clipboard-indicator.

Related Issues (20)

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.