Comments (6)
Do we want to make it a pure menu?
With something like this:
diff --git a/src/qlippersystray.cpp b/src/qlippersystray.cpp
index 52ea360..430911c 100644
--- a/src/qlippersystray.cpp
+++ b/src/qlippersystray.cpp
@@ -51,14 +51,6 @@ QlipperSystray::QlipperSystray(QObject *parent)
m_shortcutMenu->setModel(m_model);
m_shortcutMenu->setWindowTitle(tr("Qlipper - a clipboard history applet"));
- // Windows API does not handle well some combinations of flags in custom widgets.
-#ifndef Q_OS_WIN32
- // This flag is mandatory to get focus when user activates global_key.
- // OK, window gets a decoration but it works. Menu is displayed without the
- // the decoration if is the systray icon clicked.
- m_shortcutMenu->setWindowFlags(Qt::Dialog | Qt::CustomizeWindowHint);
-#endif
-
connect(m_shortcutMenu, SIGNAL(triggered(QModelIndex)), m_model, SLOT(indexTriggered(QModelIndex)));
connect(m_shortcutMenu, SIGNAL(triggered(QModelIndex)), m_shortcutMenu, SLOT(close()));
... it is done. It works on linux. This change doesn't change anything for windows (the #ifdef
). But I can't test with MacOS.
from qlipper.
Fixes it for me: thanks palinek !
(using linux here), can't help with OSX or Windows.
from qlipper.
Not closing yet for it is not mainlined...
from qlipper.
I'm not going to make this change into master, because setting the flags seems to be intentional there and I don't know the background...
@pvanek ?
from qlipper.
@Arnaudv6 What exact Qt version do you use?
from qlipper.
@martinrotter 5.7.0
...why?
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.