Code Monkey home page Code Monkey logo

gnome-shell-extension-clipboard-indicator's Issues

remmina can cause clipboard to lock desktop?

I have been using your extension for ages - love it! However, I've had a continual problem with my gnome-shell "locking up": the mouse moves fine, but focus is lost and I cannot do anything except Ctrl-Alt-F4, log into a tty and try to kill the problem

There's only one situation that leads to this problem. I'm a big user of remmina (ssh and RDP manager) and the only way this problem occurs is when I'm in a remmina session, and I click on my clipboard to grab some line out of history. When the problem occurs, the clipboard dropbox doesn't disappear - it stays present after I attempt to click out of it - and I cannot paste the content into the remmina window, I cannot "swoop" out to change desktops, I cannot change applications, etc.

By getting onto a tty, I can either "gnome-shell -r" or kill remmina - either fixes the problem.

So far I've been thinking there was some bug in remmina causing this (and reported it as such but it can't be duplicated), but I've suddenly realised the problem always involves clipboard too. So it could be either an interaction between remmina and clipboard - or it actually could be clipboard - and it's just that I spend so much time in my SSH sessions inside remmina, that statistically it "feels like" remmina's involved

Assuming this isn't a known problem, is there anything I could do to try to debug this to find the root cause? I've seen this since Fedora-21 (I'm on Fedora 23 now) with Gnome of course. BTW, this isn't continual, on a good day I can not see this problem - but some days it triggers 2-3 times (and of course in all cases there are hours of me sitting in a remmina session cut-n-pasting out of clipboard without any issues)

Thanks! Living without your extension is NOT an option ;-)

History duplicates

When I log in to my session, the extension duplicates the entries that were left in previous session, but is not only one duplicate, it duplicates many times

Add KeepassX support

KeePassX clears the clipboard after 10s by default, but the clipboard indicator still saves the content.

It would be really nice if the Clipboard Indicator wouldn't save the content at all.

Expose the keyboard shortcuts via the settings interface

Following PR #5, we would like to add two features:

  1. Allow users to disable the keyboard shortcuts via the settings interface.
  2. Allow users to change the default shortcuts via the settings interface.

Only after this is implemented we'll upload a new version to e.g.o, because we don't want to force the shortcuts on all users, as they might collide with other shortcuts they have configured.

Can't install extension even manually.

I tried installing it just by turning the slider to 'ON' on firefox. Pops up the 'Install' dialog, I press install but nothing happens. I clone this repository and move it to /usr/share/gnome-shell/extensions and do alt+f2 -> r and go to gnome tweak tool to select it but it's not there.

Other extensions work perfectly fine and install with no issues.

Antergos 64bit
Gnome 3.22.1

Setting HISTORY_SIZE problem

Hello

Thanks for this useful extensions.
I tried to set the history size to 500 so I changed the values in prefs.js

this.field_size = new Gtk.SpinButton({
adjustment: new Gtk.Adjustment({
lower: 1,
upper: 500,
step_increment: 1

and in extensions.js to

let MAX_ENTRY_LENGTH = 500

So with GNOME Tweak Tool I can set the history size up to 500 but if I close the settings screen and reopen it, the history size is back to 50. How to change history size the right way?

Thx for helping out here.

Feature: Search function

Hello

Would it be possible to have a search function integrated into the extension? Would be a nice thing if there is a huge amount of data kept in the history.

Thx for considering.

Blacklist or remove clipboard data like passwords when an application clears it

As a feature request to make this extension more security friendly, it would be good to have an option to blacklist data that is copied from password managers into the clipboard and/or remove data from the clipboard when an application clears it.

It does sound complicated to look into this given:

  1. the clipboard doesn't identify which application pasted the data
  2. another application might change the clipboard content before the password manager clears it after a timeout

For example, applications like KeePass remove the password on the CLIPBOARD after 30 seconds. However, this extension will keep that data and store it its cache/registry file.

Similarly, and issue was logged for GPaste: Application blacklist needed. The solution there, while not ideal, was to add an extra key binding to pop the item out.

It might, at minimum, be possible to detect if the clipboard data is cleared and honor that.

Current workarounds with manual intervention by user

  • Private mode
  • Clear history

Full screen to the wrong screen with Remmina

Hi,

a strange bug: when using Remmina (RDP client) to connect to a terminal server from a secondary monitor, the full screen session is opened on the primary monitor (instead of the secondary).
If I disable Clipboard indicator extension, all is OK.

I have managed to get Remmina and Clipboard indicator working together by switching on and off Private mode, several times (and emptying the history) ! ? ! ? !

Menu toggle not working

I've recently pieced together an extension to toggle menus (credit to you for some of your code from this extension that I used), but in testing and trying to figure out how to toggle the menus, I found that with 'Keyboard shortcuts' enabled and the 'Toggle the menu' shortcut specified the menu is only opened, not closed, and doesn't actually toggle. For reference, I'm using GNOME 3.24.

Rather than a check for whether the menu is visible and then opening/closing, you could probably just use the menu toggle method in the _toggleMenu function:

_toggleMenu: function() { this.menu.toggle(); }

I wasn't sure if it made sense to create a pull request for such a small change, or if there's a legacy reason for the code such as the toggle only being added since a particular version of GNOME, though I get the impression it's been there for a while.

Previous entry delay

Steps to reproduce:

  • Ctrl + F11
  • Ctrl + V

If you do it quickly, it will paste current entry instead of previous. If you wait a couple of seconds, it works correctly.

There is a delay when going to previous/next entry, not sure why.

Can cause lag

Let me elaborate, if the person is running GNOME and Wayland, it will cause the shell to freeze/lag every time the extension checks the clipboard.

Clipboard Notification

Ever since the last update a notification pops up whenever something is copied into the clipboard. It can be a bit annoying, especially for frequent copy/pasting. It would be great to be able to disable that from the extension options.
Great work on the extension by the way. I can't live without it now :)

New version distorts elements in the Gnome Shell

Hey,

after the recent update of your extension on the gnome's extension site, some graphical elements in the Gnome Shell are distorted, have a look here and here.

Using Ubuntu Gnome 14.10 with Gnome 3.12 (and some 3.14 packages from the off. Gnome 3 repo in Launchpad). The theme is called Numix and is easily installable with this little app.

Best!

set popup menu max-height

I have 50 items in the clipboard, and I can't see them all because the bottom of the popup menu is beyond the bottom of the screen. It would be great to set the max height or make the popup menu scrollable.

Design and implement a feature to manage the PRIMARY selection

First thing: should make sure this is indeed at all possible.

Currently, the indicator only handles the CLIPBOARD selection.
The indicator should be able to manage the PRIMARY selection as well.
This has to be designed appropriately, and the interface should not conflict with current behavior (I would like not to mix the 'CLIPBOARD' registry with the 'PRIMARY' registry).

Any suggestions as to how the interface should look and behave, are more than welcome. :)

Italian translation

Hi,
I would like to give the italian translation for your clipboard extension.
I hope you will appreciate it. :)

Cya!

it.tar.gz

Can't open preferences

Nothing happens when I try to open the extension's preferences through Tweak Tool or extensions.gnome.org

I can see these messages with journalctl -f:

gnome-shell-ext[8547]: JS ERROR: TypeError: imports.extensionPrefs is undefined
unknown[8547]: Execution of main.js threw exception: JS_EvaluateScript() failed

I'm running Gnome 3.22.2 on Debian sid.

[Feature request] Pin value

Hi,
I used clipIt (https://apps.ubuntu.com/cat/applications/precise/clipit/) on Unity, but after I switched to gnome I found this extension.
Only one feature, that I need here, is to store a persistent value into the history list. I have a special character in my name and it's super useful for everyday usage. And I think it would be great for other people too (not only for that name thing).

How it looks like:
screenshot from 2017-10-23 14-29-46

ΓΆ is the static item

Pasting in vim does not work

[Not sure if there are any vim users here ]

The "+" register usually has the clipboard contents. After cycling through entries with the extension, it ends up empty. Gedit does work correctly. Wonder if you investigated this?

Thanks

Arrow key navigation randomly stops working

Found a strange issue:

Using the arrow keys (i.e. up / down) to navigate the history list randomly stops working. Once it stops working, you need to manually move the mouse to the menu to select an item from the history list.

I haven't figured out how to trigger it to fail yet... :-(

Let me know if there is any debugging I can do to help track it down.

> lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 17.10
Release:        17.10
Codename:       artful
> gnome-shell --version
GNOME Shell 3.26.1

Add Clear Clipboard option

In the extension's context menu, there's the Clear history menu item, but I think a Clear clipboard option next to it would prove useful. Clearing the data currently stored in clipboard (as well as its corresponding entry in history) would benefit privacy, among other things.

Thanks.

Feature: autocopy on selection

Hello friends,

There's a neat feature in terminator that enables autocopying any selection to the clipboard and I was wondering if it would be possible to generalize it to the entire desktop environment through our beloved extension here.
Please let me know what you think :)

Cheers!

Wayland Support

Is there any potential for making this extension compatible with GNOME on Wayland? Right now it loads properly, but nothing shows up in the menu.

Haven't had a chance to look at the code myself, but I think that would be a nice addition

Greek translation

Hello, I translated this extension in greek, where can I upload the archives?

Optional notification

Notification on copy might be a good visual aid but in other cases not preferred - is there a simple way to turn it off?

How to remove the following...

How to remove...
-- private mode (not just disable, but remove the toggle switch)
-- dropdown icon to the right of the clipboard icon.

How to remove both of these?

Thanks

Shortcuts don't work after lock screen

Hey!

The keyboard shortcuts in your extension refuse to work after Gnome's lock screen is activated, either manually or after a certain time. Curiously, they start to work after the Gnome Shell is reloaded (Alt+F2 and then "r").

What's the best way to debug this issue?

Using Ubuntu Gnome 14.10 (with off. gnome 3 ppa) and the latest version of your extension, installed via https://extensions.gnome.org/.

Shell version: 3.12.2
Extension version: 8

Best wishes!

Gnome 3.18

It'd be nice to add support for new Gnome 3.18 found in Fedora 23 Beta.

Paste on middleclick doesn't work

Pasting on applications context menus as well as by using CTRL-V works fine. It pastes the topmost string on clipboard-indicator. However, if you use middleclick for pasting it behaves differently. Then the last copied string is pasted (even if another one is selected in clipboard-indicator)

Add a "Private mode" switch

So one can temporary disable the clipboard monitor, for the same reason private mode exists on browsers ;)
A 'disabled' (50% transparent) icon could indicate the 'off' state.

The new notification is useless.

It shows up only sometimes, and get's stuck on screen often after pressing f12 or f11. It is broken. Most of the time it stays in the notification tray so I can't see what I just selected with f12 or f11.

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.