Bugzilla – Bug 155300
mgdiff file open dialog broken
Last modified: 2006-03-07 10:33:30 UTC
The file open dialog in mgdiff is broken: a) The "filter" field isn't initialized to ~/* as in prior version although the contents of the home directory are displayed. b) Selecting a file and clicking OK results in an error box ":No such file or directory" c) Entering a filter expression and the enter key results in the matching files being displayed but the "filter" field immediately clears and selecting a displayed file and clicking OK results in the same error box as described above. d) The only way to compare two files is to type the fully-qualified path names of the files in the left/right file fields. This bug appears to be in one of the libraries used by 'mgdiff' rather than in the program itself since downgrading to the version included in SuSE 10.0 doesn't change the observed behavior.
There _is_ an update to 1.0.1 and yes as described in a) the current working directory instead of the home directory is showed. I'll not change this. The behaviour in b) I can not verify. Here I click OK in the first column after selecting the first file and then I click OK in the second column after selection the second file. This works perfect. The behaviour in c) is as I expect. In other words I do not unterstand your problem. I've expanded the filter in the first columen and after clicking on the filter button I see the appropiate files listing. The same in the second column. What is wrong with that? If I make the filter fields empty and click on the filter button I get the current working directory with its file list. If I type in ~/* an click onto the filter button I get the file list of the home diretory.
Created attachment 71395 [details] Screenshot of the message box The behavior that I describe is occurring on two different systems that have been upgraded from 10.0 to 10.1 Beta6 (one box was upgraded to Beta 3 then Beta 5 and Beta 6 -- the other was upgraded to Beta 5 and then to Beta 6). When I select a file in the first column and click "OK", I get the message box that I describe above. I've attached a screenshot. When I get some time, I'll do a fresh install of Beta 6 on one of the systems and see if the problem is still observed.
The question is: Why are the two filter lines empty if you have started mgdiff. I do not see this.
That's part of the problem (maybe all of the problem) -- and if I enter a filter expression in one of those boxes and hit <enter>, the box is immediately cleared (although the file list is displayed). Selecting a file and clicking OK results in the same message box shown in the screenshot.
Args ... it depends on the locale. If I use LC_CTYPE=de_DE.UTF-8 I get the following message at startup: Xt Warning: Name: Text Class: XmTextField Character '\146' not supported in font. Discarded. and two empty filter lines. Andreas? Could it be that openmotif is not UTF-8 safe?
Tom? Please try out if the following command line LC_CTYPE=POSIX mgdiff on the bash prompt works for you.
I have no idea. I know nothing about motif.
Werner -- the command LC_CTYPE=POSIX mgdiff works for me.
------------------------------------------------------------------- Tue Mar 7 11:30:25 CET 2006 - werner@ssue.de - Change order of setlocale() and XtSetLanguageProc() (bug #155300) -------------------------------------------------------------------