Comments (6)
I can confirm this.
To fix it, you could add in QlipperItem::QlipperItem(QClipboard::Mode mode)
if (format != "MULTIPLE")
m_content[format] = mimeData->data(format);
However, this could be further improved. There are still useless binary entries in the clipboard history, because Emacs has a lot of strange (probably internal) formats in its clipboard entries ("TIMESTAMP", "MULTIPLE", "text/plain", "COMPOUND_TEXT", "TARGETS", "LENGTH", "DELETE", "FILE_NAME", "CHARACTER_POSITION", "LINE_NUMBER", "COLUMN_NUMBER", "OWNER_OS", "HOST_NAME", "USER", "CLASS", "NAME", "ATOM", "INTEGER", "SAVE_TARGETS"
"text/plain;charset=utf-8" for a simple copied text). Maybe it would be better to restrict the saved content to "real" MIME data, e.g. using something like this:
if (format.contains(QLatin1Char('/')))
m_content[format] = mimeData->data(format);
or only store the basic data types provided by QMimeData
(text(), html(), urls(), imageData(), colorData()).
from qlipper.
That sounds good. Any chance some patch like this could get in? Is qlipper maintained?
from qlipper.
just make a PR i would suggest :)
from qlipper.
I patched it locally, and will see whether I notice any breakage.
from qlipper.
Just made a PR.
from qlipper.
fixed in #37
from qlipper.
Related Issues (20)
- new point release
- How do I configure the qlipper to start along with Ubuntu 18 HOT 1
- option to disable system tray icon
- Qlipper makes Gimp crash when copying image in Gimp HOT 7
- how can I get qlipper's clipboard from the command line? HOT 1
- checkbox in the configuration: "disable list when not in focus" HOT 1
- network binding should be conditional to relevant preferences
- networking port change requires a restart
- does networking even work?
- VMware clipboard integration non-functional
- The history page take 5~20 sec to close once you chose one of items in the list HOT 1
- Tray icon adjustments
- Binary data filtering
- Bookmark feature
- Qlipper usability report HOT 2
- qlippernetwork.cpp: no matching function for call to QlipperItem::toClipboard() HOT 2
- Feature Request: Blacklist some applications HOT 4
- Fix language/country codes (sr_RS) HOT 2
- How do update translations HOT 5
- Make application paste when select an item HOT 7
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 qlipper.