On Fri, Aug 23, 2013 at 4:07 PM, Kai Willadsen <[email protected]>wrote:

> On 17 August 2013 09:01, david kerns <[email protected]> wrote:
> > On Fri, Aug 16, 2013 at 2:57 PM, Kai Willadsen <[email protected]>
> > wrote:
> >> This is actually a really old request
> >> (https://bugzilla.gnome.org/show_bug.cgi?id=416387) that is sadly
> >> difficult to figure out. Actually implementing it would be fairly
> >> trivial. Keeping anything else remotely sane while doing so seems
> >> impossible.
> >>
> >> The problem is that selection handling across multiple trees is
> >> complicated. At the moment, we Do The Right Thing by just enforcing
> >> that there is only one active selection between all the current trees.
> >> If we allowed each tree to have its own active selection, then every
> >> compare operation becomes ambiguous. How do we know whether you
> >> *meant* to compare X in tree one with Y in tree two, or whether you
> >> just left the cursor there? etc.  It's also quite visually distracting
> >> having multiple selections, but that's a different story.
> >>
> >> So I'm afraid that I don't know of any better way to do this than what
> >> we currently enable: open up the files and then use the file browser
> >> to select the file you really wanted to diff.
> >>
> >> ...but I'm interested in any possible solutions to the problem.
> >>
> >> cheers,
> >> Kai
> >>
> >>
> >
> > Fighting gmail's default of top posting
> > so, here's a solution that might be more work then the perceived benefit,
> > but I'll throw it your way just in case ;)
> >
> > (I was just playing with 1.7.4)
> >
> > I'm doing a "meld dir1 dir2" as described in my OP. I'm looking at the
> two
> > directory structures.
> > I click "New Comparison" and get a new "blank tab", then I click back on
> the
> > first tab,
> > now imagine I can drag/drop any 2 or 3 files from the directory list onto
> > the blank tab, and poof, "meld magic"!
>
> That actually all sounds fairly sensible. Basically this just involves
> making tabs (specifically new comparison tabs) drop targets and
> letting our trees be drag sources... which all makes sense.
>
> There are some caveats. I don't know whether it's possible/sane to be
> dragging from multiple trees at once, and even if we wanted to that
> would mean allowing multiple selections... so you'd probably have to
> drag your files to the tab one at a time. This brings up the second
> problem, which is that we can't auto-start two-way comparisons this
> way, because we have no signal that the comparison is actually ready
> (and isn't just two files into a three-way comparison). So you'd still
> need to switch to the new tab and click Compare.
>
> Anyway, I do think that these seem like sensible enhancements anyway.
> If you could open a new bug for this, that would be awesome.
>
> cheers,
> Kai
>
>
done. 706695
_______________________________________________
meld-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/meld-list

Reply via email to