Comments (9)
Besides, let me explain the impact of the other two options on the always_ on_ top
function:
Note that their priority is also arranged in the following order!
-
Close mian window
after item activated (in preferences - history, as same as "activate_closes" in the script)
When this option enable, window always close after one item activated, evenalways_ on_ top
is enable. -
Close when unfocused
(in preferences - general, as same as "close_on_unfocus" in the scrupt)
when this option enable, window always close when lose focus. -
always_ on_ top
only controls whether the window is above other windows, without controlling whether it is closed.
In my script, when the always_ on_ top
function is enabled, the other two options are turned off simultaneously, achieving a universal sense of always_ on_ top
.
from copyq.
you also need to disable close_on_unfocus
and activate_closes
at the same time.
Or, use this script:
toggle always_on_top
from copyq.
Thanks a lot for the advice and script!
But, IMHO, such behavior of CopyQ is somehow contradictory in terms of logic and operation:
- logic. I think, it's quit weird when the user needs to adjust other parameters for the one to work properly. Shouldn't the application consider all settings and, if there are dependencies, change them accordingly or prioritize the more obvious setting while ignoring the related ones?
- operation. As you can see, I didn't change any other parameters only "Always on Top", but sometimes it works and sometimes it doesn't. If other parameters also affect the behavior of the application, why do they sometimes make changes to the operation of the application and sometimes not?
from copyq.
@GFDGIT
Can you please give me a hint on how to make it so that after disabling the "Always on Top" function using your script, the main window does not close but remains in the background, visible on the taskbar and through Alt+Tab?
from copyq.
Unfortunately, the script works the same way as when "Always on Top" is manually enabled - sometimes the main window stays on top, sometimes it goes to the background, despite the "Always on Top" option being enabled.
from copyq.
@GFDGIT Can you please give me a hint on how to make it so that after disabling the "Always on Top" function using your script, the main window does not close but remains in the background, visible on the taskbar and through Alt+Tab?
I figured it out myself - I commented out the following lines in the script and left these parameters disabled in Preferences.
//config("activate_closes",on)
//config("close_on_unfocus",on)
from copyq.
- logic. I think, it's quit weird when the user needs to adjust other parameters for the one to work properly.
Sorry, I misunderstood your question.In the video, you enabled always_ on_ top
, and close when unfocus
is closed. In this case, even if the focus is lost, the window should not disappear.
- operation. As you can see, I didn't change any other parameters only "Always on Top", but sometimes it works and sometimes it doesn't.
I am unable to reproduce the above behavior, may this be a bug? You may want to check if the software has been updated.
from copyq.
I am unable to reproduce the above behavior, may this be a bug? You may want to check if the software has been updated.
Yes, I think, it's a bug, that is why I've committed this issue.
Besides, let me explain the impact of the other two options on the
always_ on_ top
function
Thanks a lot!
from copyq.
This is possibly a bug in Qt framework. There is already one workaround in CopyQ to keep the window open when the "Always on Top" flag changes.
from copyq.
Related Issues (20)
- Paste in pycharm is unreliable [linux][Focus issue] HOT 2
- v9 and RDP: Remote machine does not see copied items from local machine HOT 2
- Copyq not working when copying in private browsing (firefox) HOT 2
- Does not start. HOT 3
- Copyq icon does not show in panel. HOT 1
- wl-copy in wsl no longer displays in clipboard history on copyq version 9.0.0 HOT 4
- Weird flickering of items and menus. HOT 1
- Copyq disappears when I click on it HOT 1
- Does not work with Wayland (ok switching to X11) HOT 1
- inconsistent search selection
- Command "Ignore *"Password"* window" doesn't work HOT 6
- Manually editing the contents of the Item Content window
- Wish to optimize multi-device data synchronization
- How can I disable text/plain;charset=utf-8 ?
- Add an option to append to the clipboard based on an alt C or other key press HOT 2
- CopyQ v8 and v9 crash often HOT 5
- v8 and v9 are not working on macos 14.5 HOT 6
- CopyQ v9 sometimes fails to copy HOT 4
- #2679, #2680 break copying from private/incognito windows on Windows HOT 4
- Calling onTabSelected() breaks tab switching HOT 3
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 copyq.