Comments (4)
Hi - thanks for reporting this bug. I've just had a quick test of this and I can't seem to replicate the issue.
Can you provide the following:
- Name and version of the browser you're using.
- Exact steps to make the search and select in google.
- The DEBUG messages (at least one loop's worth) from clipster.
Thanks!
from clipster.
I've tried to work out a minimal case, but I'm sorry to say I haven't found exactly how to trigger it.
This is the closest I've gotten:
- Firefox 49.0 on NixOS, with a fresh new profile.
a) go to google.com
b) search clipster
c) select some text with the mouse. clipster is fine
d) again select some text with the mouse. clipster goes wild.
3) http://pastebin.com/Nxg4dyCt
After this, I get an empty menu when running: clipster -o -n 200 -0 | rofi -i -dmenu -sep '\x00' -eh 2 -p paste: | tr -d '\n' | clipster
.
On the other hand, clipster -cs
still works fine.
After I delete the history file and rerun the daemon, both commands work again.
I just double-checked with python3, and it turns out that clipster doesn't go into an endless loop, but it does still produce an empty rofi menu when following the above steps.
from clipster.
Thanks for this - line 35 of the full logs provided the clue to (yet another instance) where unicode wasn't handled properly for 2.x:
if self.read_board(boards[0]) != text:
This failure meant the clipboard contents never matched and it got stuck in a loop copying back and forth between boards.
This should now be fixed in 9848f06.
Please grab the latest version of clipster and let me know if this fixes the bug for you.
Thanks!
from clipster.
Thanks, that fixes it.
I still get an empty rofi menu sometimes, but I'll open a new issue for that when I have a bit more concrete information.
from clipster.
Related Issues (20)
- warnings HOT 2
- Infinite loop on re.findall HOT 4
- No Encoding Declared with Python2
- the config file does not work HOT 4
- Empty history JSON file crashes clipster HOT 2
- Clipster crashes when deleting multiple entries quickly from selection window HOT 2
- Clipster doesn't capture when using `Gtk.Clipboard`'s `set_text` to copy (in Python) HOT 1
- Packaging up a 2.0.2 release HOT 3
- --daemon doesn't make clipster run in background HOT 2
- sync_selections + pattern_as_selection = infinite loop HOT 1
- Clear clipboard after a configurable period of time HOT 1
- enable option -N for input HOT 1
- CLI output problems
- Feature request(s): unidirectional sync, sync without history HOT 4
- deprecation warnings when running the deamon HOT 2
- Clipboard is not replaced when selecting item from history HOT 4
- disable middle mouse button as paste HOT 2
- Gtk-WARNING: Theme parsing error HOT 1
- Question: Any plans on python3 ? HOT 1
- [Errno 2] No such file or directory: '/run/user/0/clipster.pid' HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from clipster.