LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-02-2017, 04:52 PM   #1
olaoni
LQ Newbie
 
Registered: Feb 2016
Posts: 19

Rep: Reputation: Disabled
Meld diff tool auto expanding issue


Hi All,

Is there a way to stop Meld from auto expanding directory trees when performing diff compare

This can be annoying when you are comparing big project like Linux sources and having to spend loads of time closing directory that are of no interest.

Many thanks in advance.

Ola
 
Old 01-03-2017, 10:38 AM   #2
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
The version of Meld I am using (3.14.2) only expands a directory on Directory Comparison if that directory contains differing files/subdirectories between the two sources, including if the dates are different.

Are you sure that there are absolutely no differences between the content and metadata of the files/subdirectory entries in your directories that auto-expand?
 
Old 01-03-2017, 11:10 AM   #3
olaoni
LQ Newbie
 
Registered: Feb 2016
Posts: 19

Original Poster
Rep: Reputation: Disabled
Hi hydrurga,
Thanks for responding. My issue is not that meld does not expand directories. My issue is that once you initiate a compare. Meld recursively expand all directories where it detects changes. This is fine but I think there should also be an option that just marks these directories as different without having to expanding them.

I find that sometimes when I am comparing large code base such as Linux Kernel in order to determine my current position I have to collapse each tree sub-directories which can be time consuming.

I am currently using version 3.17.1. I but I also tried the same version you are using just in case they exhibit different behaviours but they don't.

At the back of my mind I was sure that behaviour I was describing existing on earlier Meld builds so I just been few a of the old releases and came to notice that the last version that exhibits this function is 1.8.6.

You can start Meld as follows:
Quote:
meld linux linux.old
When meld initially performs its scan all the sub-directories under linux directories are auto expanding if you then click on the expand icon all the sub-directories gets collapsed with the exception of the top directory in this case. But all the other directories with change are then reflected with little blob indicating changes.

This behaviour is different from version 3.xx upwards.

Last edited by olaoni; 01-03-2017 at 11:48 AM. Reason: Adding more information
 
Old 01-03-2017, 11:31 AM   #4
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Ok, I see. I don't think there is an option for that. Have you thought about contacting the developer Kai Willadsen and asking him if he could add it in?
 
Old 01-03-2017, 11:53 AM   #5
olaoni
LQ Newbie
 
Registered: Feb 2016
Posts: 19

Original Poster
Rep: Reputation: Disabled
Thanks hydrurga I shall contact him.
 
Old 01-03-2017, 11:54 AM   #6
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Quote:
Originally Posted by olaoni View Post
Thanks hydrurga I shall contact him.
Great. Let us know how you get on!
 
Old 01-05-2017, 04:01 PM   #7
olaoni
LQ Newbie
 
Registered: Feb 2016
Posts: 19

Original Poster
Rep: Reputation: Disabled
[SOLVED] Meld diff tool auto expanding issues

Hi Hydrurga,

Please see Kai Willadsen response for meld auto expand request https://bugzilla.gnome.org/show_bug.cgi?id=776828
Regards

Ola
 
1 members found this post helpful.
Old 01-06-2017, 01:59 AM   #8
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Quote:
Originally Posted by olaoni View Post
Hi Hydrurga,

Please see Kai Willadsen response for meld auto expand request https://bugzilla.gnome.org/show_bug.cgi?id=776828
Regards

Ola
Thanks Ola. You gave it a go but no joy it seems. How's your programming ability? ;-)
 
Old 01-07-2017, 06:20 PM   #9
olaoni
LQ Newbie
 
Registered: Feb 2016
Posts: 19

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by hydrurga View Post
Thanks Ola. You gave it a go but no joy it seems. How's your programming ability? ;-)
Hi Hydrurga,
Sorry for late response been very busy. Programming in C/C++ reasonably good, I have being doing it for very close to 2 decades. Background is Electronics engineering and then micro-controller with or without RTOS but fairly new to Embedded Linux.
 
Old 01-08-2017, 04:12 AM   #10
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Quote:
Originally Posted by olaoni View Post
Hi Hydrurga,
Sorry for late response been very busy. Programming in C/C++ reasonably good, I have being doing it for very close to 2 decades. Background is Electronics engineering and then micro-controller with or without RTOS but fairly new to Embedded Linux.
Nice. Perhaps you might consider, as a side project when you're less busy, downloading the source code for Meld, modifying it to prevent auto-expansion and then recompiling it. I don't think it would be too difficult (maybe even a judiciously-placed /* */ will do the trick).
 
Old 01-08-2017, 04:41 AM   #11
olaoni
LQ Newbie
 
Registered: Feb 2016
Posts: 19

Original Poster
Rep: Reputation: Disabled
Post

Quote:
Originally Posted by hydrurga View Post
Nice. Perhaps you might consider, as a side project when you're less busy, downloading the source code for Meld, modifying it to prevent auto-expansion and then recompiling it. I don't think it would be too difficult (maybe even a judiciously-placed /* */ will do the trick).
Okay will do
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Meld 3.15.2 Diff and Merge App Released with GTK+ 3.20 and XDG-App Support, More LXer Syndicated Linux News 0 03-28-2016 06:12 AM
diff tool of choice ... for 14.2 Wiser Slacker Slackware 7 02-15-2016 12:11 AM
LXer: Meld 3.11.2 Diff and Merge Tool for GNOME Has Been Released LXer Syndicated Linux News 0 07-12-2014 10:34 PM
LXer: Meld 1.7.5 Diff and Merge Tool Is Available for Download LXer Syndicated Linux News 0 09-02-2013 08:51 AM
LXer: Usenix: Dartmouth expanding diff, grep Unix tools LXer Syndicated Linux News 0 12-08-2011 11:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration