Comments (7)
Agree. Handling selections is really tricky unfortunately with changes potentially having lots of side effects because there are so many combinations of operations related to clicks.
If I recall the decision was made explicitly originally because it severely complicated things by not moving the selection.
Taking a look around various applications most - but not all - do what you suggest, ie. they don't navigate.
from markdownmonster.
Ok I was able to make this work.
I also added the filename to the top of the context menu so there's no confusion what you're working with.
Fix in 3.2.17.1
from markdownmonster.
Mostly fixed... if you right click and get the context menu, and then accidentally right click on the file while the context window is open (it was an honest misclick, I promise!! : ) then it still shows up in the preview.
What are you using to do the screen recording in the other bug? It might help you see something I'm not explaining on a bug or two that I file.
from markdownmonster.
Hmmm... damn this is complex. The issue is that in order to handle all these special click scenarios MM does low level mouse and key handling and there 3 different mouse click events that interact.
Played around with this with rapid clicks and 'misclicks' and sure enough I was able to occasionally right click and open a document. Still couldn't quite make out what the issue was.
But after a bit of sleuthing I finally figured out that the MouseUp event was still firing and depending on how quickly the button was released. So it was working most of the time but not always.
IAC I think I have the fix for this now:
// in MouseUp
if (e.ChangedButton == MouseButton.Right || e.RightButton == MouseButtonState.Pressed)
{
isDoubleClick = false;
return;
}
Incidentally the 'misclicks' would also result in crashes on many occasions, so this should fix that as well. I think this fixes potentially a number of related issues where double clicks and/or right clicks are involved which should improve behavior of the folder view in general.
from markdownmonster.
Nice! Let me know when there is a new version again... no hurry on this one. Could you have a look at #1091 ? as I'm structuring chapters and sections I do a lot of moving and that one is annoying...
from markdownmonster.
3.2.17.3
from markdownmonster.
Seems fixed, I can now spam-right-click and only get the context window and nothing opens, thanks!
from markdownmonster.
Related Issues (20)
- Can open file multiple times HOT 5
- FB refresh icon shows selected when unselecting FB sync HOT 1
- Have a way to keep read-only files open in tabs (pin?) HOT 2
- Regression: mouse drag errors? HOT 1
- Different context menu after first opening MM HOT 1
- Renaminng renames wrong file HOT 2
- Problems with HTML preview HOT 2
- Feature Request: Improve Embed Link dialog (`Ctrl+K`) when clipboard contains HTML link HOT 7
- Already solved... HOT 1
- Preview window always opens HOT 4
- Inconsistency in alert colors between the Github and Github Dark themes. HOT 8
- Error in UI HOT 1
- AI Feature: AI Request Failed invalid uri HOT 2
- Prevent empty copy/cut from overwriting paste buffer HOT 2
- Renaming file opens empty file and empty bak files HOT 1
- It is very frustrating that every time you start `MM` and exit `MM`, `MM` initializes the settings file causing user settings to be lost. HOT 7
- Unable to paste image from clipboard HOT 3
- Feature Request: Add Copy Image to Clipboard for Mermaid diagrams HOT 5
- [Feature Request] Option to Hide Hidden Files and Folders in the Folder Browser Sidebar HOT 5
- Markdown Preview Error when Pandoc Selected as Parser
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 markdownmonster.