darktable-org / darktable

darktable is an open source photography workflow application and raw developer
https://www.darktable.org
GNU General Public License v3.0
9.15k stars 1.11k forks source link

Can't use the clipboard in other applications - windows 10 #14707

Open ActarusLeGrand opened 1 year ago

ActarusLeGrand commented 1 year ago

Describe the bug

When DT 4.2.1 is in use, after a while the clipboard in windows stop copying from eg: MS one note won't copy any text (Eg text in OneNote itself) the paste button won't work because it won't copy anything. Or MS Edge won't copy anything eather. I close DarkTable and the clipboard start working again. Even if I empty the clipboard, I can't copy any text or image. I also use the external Editor script, I can't tell if it does come from the script or not. I nerver had that issue before installing DarkTable.

Steps to reproduce

Start Darktable. Work on it, copy and paste from browser to oneNOte. It does not start right away. But eventually it won't copy anymore to the clipboard.

Expected behavior

To copy and paste text and image from any browser to oneNote.

Logfile | Screenshot | Screencast

No response

Commit

No response

Where did you install darktable from?

darktable.org

darktable version

4.2.1

What OS are you using?

Windows

What is the version of your OS?

Win 10

Describe your system?

Are you using OpenCL GPU in darktable?

Yes

If yes, what is the GPU card and driver?

PNY 1030 2 gb

Please provide additional context if applicable. You can attach files too, but might need to rename to .txt or .zip

I also use the external Editor script, I can't tell if it does come from the script or not. I nerver had that issue before installing DarkTable.

ActarusLeGrand commented 1 year ago

System 2023-06-12_16-21-12

ActarusLeGrand commented 1 year ago

In property I also have under Processing, GPU: DT ressource to large.

gi-man commented 1 year ago

I also use the external Editor script, I can't tell if it does come from the script or not.

What is this external Editor script?

wpferguson commented 1 year ago

The external editor script is a lua script that allows you to export an image from darktable and open it in an external editor. When the editor is closed, the result can be imported back into darktable.

https://github.com/darktable-org/lua-scripts/blob/master/contrib/ext_editor.lua

However, the external editor has nothing to do with the clipboard. Maybe the application that it opens uses the clipboard, but not the script itself.

wpferguson commented 1 year ago

I think you might be running out of memory. You only have 16GB installed of which less that 8GB is available to run darktable. I would suggest trying default or small for darktable resources.

ActarusLeGrand commented 1 year ago

I also use the external Editor script, I can't tell if it does come from the script or not.

What is this external Editor script?

It's the script external editor that come with DT.

gi-man commented 1 year ago

I also use the external Editor script, I can't tell if it does come from the script or not.

What is this external Editor script?

It's the script external editor that come with DT.

Not really. Lua scripts is something you installed and added to darktable. Running out of memory to hold the image sounds like a likely scenario per Bill's post.

wpferguson commented 1 year ago

@ActarusLeGrand when you encounter the clipboard not working start performance monitor and check the memory

ActarusLeGrand commented 1 year ago

@ActarusLeGrand when you encounter the clipboard not working start performance monitor and check the memory

I put the priority to normal and I will monitor.

ActarusLeGrand commented 1 year ago

WIth normal, I end up getting the same problem. When I close DT, the clipboard work again. But it's less often. But it just happened just now.

ralfbrown commented 1 year ago

@ActarusLeGrand Are you still having this problem with 4.4.1?

ActarusLeGrand commented 1 year ago

@ActarusLeGrand Are you still having this problem with 4.4.1?

Yes.

wpferguson commented 1 year ago

Try setting your resources to small and see how that affects it. When (if) you aren't able to use the clipboard any more, check windows performance monitor and see how much memory you have free.

github-actions[bot] commented 10 months ago

This issue has been marked as stale due to inactivity for the last 60 days. It will be automatically closed in 300 days if no update occurs. Please check if the master branch has fixed it and report again or close the issue.

ericwj commented 6 months ago

Imho this happens whatever you do - even nothing - as long as darktable is open long enough. I have this brilliant tendency to open programs early and pretty much never close them again. I have been absolutely puzzled and frustrated by this, not knowing or seeing any connection with darktable whatsoever.

I am on version 4.4.2 pretty much since I first installed darktable a few months ago.

I am on Windows 11 latest of the latest permanently afaik now 23H2 build 22631.3007

I have verified the following:

Worse yet, it can keep deleting text on cut, only to paste whatever you got on the clipboard hours ago and hence risk losing whatever you cut unless undo still works/is available/implemented.

This is a nasty problem. Please prioritize.

My system is very capable and I have almost never less than some 10GB free memory, nor do I use LUA or do anything but very basic things (beyond opening a folder with a few hundred RAW photo's and hitting random buttons and sliders)

To give my opinion I suspect hooks. Please delete hooks. System wide hooks. Pure evil. Especially open source ones written in C for Linux critically acclaimed masterfully incomprehensibly portable. There exists a class of people who just don't read Windows docs.

github-actions[bot] commented 4 months ago

This issue has been marked as stale due to inactivity for the last 60 days. It will be automatically closed in 300 days if no update occurs. Please check if the master branch has fixed it and report again or close the issue.

ericwj commented 4 months ago

/keepalive /disable-bot

github-actions[bot] commented 2 months ago

This issue has been marked as stale due to inactivity for the last 60 days. It will be automatically closed in 300 days if no update occurs. Please check if the master branch has fixed it and report again or close the issue.