Comments (20)
The Slack issue is slightly annoying, but the Terminal problem (where it repeatedly pastes as you drag around) is potentially more serious if you have a multiline command in your clipboard. Imagine copying a command to delete the most recent row from a db table. Drag the tab around and a whole boatload of rows are gone! Really surprised they haven't pushed out a hotfix to this yet!
@vitaminj Version v0.81.1 Is now out with the fix.
from powertoys.
We've debugged and it's that when there's no key set for Paste as Markdown or JSON we're actually catching the "none" shortcut.
When you press Slack's tray icon, it sends the "None" shortcut.
@stefansjfw is working on a fix
from powertoys.
Very good catch. PR opened with the fix
from powertoys.
So this is why I keep finding weird stuff pasted into Slack!
from powertoys.
As a workaround for the time being, you can set a shortcut for "Paste as Markdown" and "Paste as JSON" and it should no longer exhibit this behavior.
from powertoys.
Wonder how many unsolicited pr0n links and sensitive credentials have been submitted accidentally by this bug :]
from powertoys.
The Slack issue is slightly annoying, but the Terminal problem (where it repeatedly pastes as you drag around) is potentially more serious if you have a multiline command in your clipboard. Imagine copying a command to delete the most recent row from a db table. Drag the tab around and a whole boatload of rows are gone! Really surprised they haven't pushed out a hotfix to this yet!
from powertoys.
Validating that I have this issue and that setting a shortcut for "Paste as Markdown" seems to have solved it.
Will see if I now start getting JSON pastes until I set that as well or if I only had that issue with markdown.
Edit: No surprise, I did. Had to fill that hotkey too.
Also curious, though out of scope: what is slack doing to trigger this?
from powertoys.
I'm having this problem when I try to rearrange my opened tabs on Windows Terminal (drag one of my tabs from one place to another)! When I do this, a bunch of texts are paste in the dragged terminal!
Thanks.
from powertoys.
Also curious, though out of scope: what is slack doing to trigger this?
@MitchSchwartz Left-clicking Slack systray icon sends None keyboard key. As these hotkeys were not set, and all modifier keys are not pressed this matched our not-set hotkey default state.
@Dominiquini Does setting To Markdown and To JSON hotkeys make the problem go away for you ?
from powertoys.
Thank you for fixing this - was driving me crazy the past week - but was happening for me with Clarion based software, each time I opened it or triggered a new window to open - just fyi
from powertoys.
Microsoft PowerToys version
0.81.0
Installation method
PowerToys auto-update
Running as admin
None
Area(s) with issue?
Advanced Paste
Steps to reproduce
I attach a video the shows the behaviour. On Windows, when i have closed slack into systray and then open a chat window, all clipboard data is automatically inserted into slack. Even files i have copied in file explorer.
This does not happen when i just minimize to task bar instead of systray.
I do not press any key. Just open with a click on the systray icon.
The only plugin i have activated is Advanced Paste (Screenshot bellow). If i disable just this plugin or close power toys, the auto insert is gone.
This started immediately after todays update to 0.81.0.
This behaviour can lead to serious data breach if you do not pay attention.
powertoys.webm
✔️ Expected Behavior
No auto insert in any application.
❌ Actual Behavior
Auto insert with just focusing a window....
Other Software
Slack
Report
from powertoys.
Hi, could you attach /bugreport?
Thank you
from powertoys.
Does this happen with slack only? Or with other apps as well? Could you try e.g. notepad?
from powertoys.
Report added to original post.
No, as of now i only can see this in Slack. Signal, Notepad and office works fine, as far as i can see.
from powertoys.
I have debugged further and indeed, PowerToys make my system sending 1 special keystrokes when this plugin is enabled. I do not press any key (later i do CTRL+A and delete to remove pasted text), but when i use screenrecorder to record also system keystrokes, is see 1 'CTRL+V' automagically, when i just click the systray of slack. When i disable the powertoys plugin, no keystroke is sending anymore.
See new video.
powertoys-2.webm
from powertoys.
I have the same exact issue. Seems like that does not affect other applications that can be opened from systray (like discord or spotify)
from powertoys.
Also curious, though out of scope: what is slack doing to trigger this?
@MitchSchwartz Left-clicking Slack systray icon sends None keyboard key. As these hotkeys were not set, and all modifier keys are not pressed this matched our not-set hotkey default state.
@Dominiquini Does setting To Markdown and To JSON hotkeys make the problem go away for you ?
Yes, this solve the problem. Thanks!
from powertoys.
I'm gonna chime in here with microsoft/terminal#17324 as well. Looks like dragging a Terminal tab with Advanced Paste enabled will also repro similar behavior.
from powertoys.
Wonder how many unsolicited pr0n links and sensitive credentials have been submitted accidentally by this bug :]
Passwords would be my concern. Lots of people use password managers, and they often use the clipboard to paste passwords into text fields...
from powertoys.
Related Issues (20)
- keyboard manager: offer multiple presets
- Text got fractured / rendered incorrectly in Powertoys run when doing a web search HOT 2
- 没有Rename!!! HOT 2
- Manage keyboard shortcut to a specific application
- Power toys HOT 3
- Support 3 link type in Windows context menu HOT 1
- Automatic unzipping for downloaded zip-archives
- Convert {PNG,GIF,JPG} to ICO
- Ability to disable or remap Win+L hotkey
- FancyZone doesn't work for vmware workstation HOT 1
- Virtual second monitor HOT 3
- 添加一个选区翻译的功能
- More beautiful tray icon
- Add translation in Power Extractor HOT 2
- Fancy Zones Parent/Child Windows
- AI fixes in Terminal HOT 1
- Tray icon HOT 5
- Scrolling inside Fancyzones Setting is jumpy HOT 1
- Currency conversion in the powertoys run HOT 3
- Color picker cannot get the color of websites with custom cursors.
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 powertoys.