Comments (12)
I'll look into this, thanks for reporting.
BR
from compareplus.
Thank you my friends.
xylographe,
[Preferred: A-B Compare is performed, afterwards focus is set to A. But that's a different issue ;) ]
Can you explain that please?
Do you mean B should be in the right/bottom view? If positive, #29 is relevant.
Best regards.
from compareplus.
Yes, A in the main (left) view, B in the sub (right) view, because A will be the base file.
I always order different versions from oldest (on the left) to most recent (on the right).
As I mentioned in another issue, I'm visually left-to-right oriented.
from compareplus.
Thanks for clarifying that.
A ("base file") is the old file.
B (current file) is the new file.
You want B to be in the right view.
If that was the behavior and you happened to Compare when A was active, you wouldn't get the desired layout. Correct?
IOW, you have to "calculate" (or at least make sure) which file is active before comparing. Right?
Do you agree that many users might open the new file, then the old one and Compare?
Don't you think that some users might wonder why the current file is placed in the secondary panel?
from compareplus.
Assume (X, ^A, B, Y) [A is active (^)], then triggering "Compare" would result in (^X, B, Y | A) with an X-A compare, which would be useless if X and A are unrelated. So, indeed, I would activate B, then trigger "Compare", to get the desired A-B compare: (X, ^A, Y | B). One could look at it as an implicit "Set first" on the left neighbour of the active file. After "Clear Compare" I would like the original situation restored: (X, A, ^B, Y).
It seems natural to me that the origin (old/base) is on the left side and the current (new) on the right side when comparing two files. Therefore it's normal that the current (new) file is placed in the secondary view, while the origin (old) remains in the primary view. I think, many more users might be surprised if you were to place origin (old) in the secondary view, keeping current (new) in the primary view. I certainly wouldn't want new on the left and old on the right.
from compareplus.
Hello @xylographe and @Yaron10 ,
It appears that is totally a user perspective and thus it seems inevitable some users to get dissatisfied with the implementation (whatever that may be).
@xylographe ,
My preference as a user is exactly the opposite of yours, no offence here.
So it seems that in the far future the compare plugin would need some user setting about the preferred behavior.
For the time being I find it natural to move the first file ("Set first" or the currently active file from which we start the compare in single view) to the first N++ view (top/left) as it is the case now.
The notation of "new/old" version of the file here is totally missing and is known only by the user.
Well, the things will be different when we do compare to last save, Git or SVN - then we are entering the realm of the user preference (as discussed above).
Thanks for sharing your thoughts.
If you'd like to further discuss this or request a change in this regard would you please move to the General Discussion or a new issue thread, please?
I'd really like to keep the concrete issues as clean as possible so nothing get's lost in-between and I can orient faster in what's proposed/discussed/requested/pending.
IOW -> Let's try to keep a single topic in a single issue.
Thanks for understanding.
BR
from compareplus.
Fixed in master, thanks,
BR
from compareplus.
Thank you Pavel.
Fix confirmed (CP 754fa33)
from compareplus.
Hello Pavel,
The issue reported here has been resurrected in v3. :)
STR:
Open any docked window.
Move the focus to the editor.
Compare.
Result:
The docked window gets the focus.
I hope you're doing well.
BR
from compareplus.
Hello @Yaron10 ,
Thank you very much for all your recent feedback.
I'll have a look and write whenever I can.
BR
from compareplus.
Hello Yaron,
Please try this binary.
Thank you.
BR
from compareplus.
Hello Pavel,
Welcome back. I hope you had a good time.
👍
Thank you for the quick fix. I appreciate it.
BR
from compareplus.
Related Issues (20)
- Cannot download ComparePlus plugin ZIP from my work laptop (connected via VPN) HOT 10
- Ability to Copy-Paste only new or changed strings in Show Only Diffs (Hide Matches) mode HOT 2
- Where is dll for latest version? HOT 1
- Navigation bar not showing HOT 11
- How to view .diff single file as comparison in split view? HOT 1
- Compare only the 1st part of a line HOT 4
- After exiting compare, current selected line Colors/Linter is set to black instead of light grey. HOT 5
- Large file compare causing display issues HOT 3
- Add possibility to close both files after compare HOT 7
- Show Only Diffs (Hide Matches) doesn't work HOT 2
- Perfect match text with black highlights HOT 3
- New feature request: Merge changes HOT 1
- Make it possible to translate menus into French or any other language. HOT 6
- Copy/past hot keys HOT 1
- Page down key does not work if there are too many removed lines HOT 7
- Implement cross-diff similarities check HOT 3
- Comparing 2 xml files from printer settings kinda fails HOT 3
- Request: Colorless Match HOT 3
- Request: Manual Line Matching HOT 2
- Add option Copy Diff only HOT 1
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 compareplus.