After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 164589 - GtkFileFilterInfo::mime_type is always NULL in win32
GtkFileFilterInfo::mime_type is always NULL in win32
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: General
git master
Other Windows
: Normal normal
: ---
Assigned To: Jody Goldberg
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2005-01-19 14:22 UTC by sbi
Modified: 2005-02-22 19:22 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch for src/gui-file.c (1.22 KB, patch)
2005-01-23 15:28 UTC, Ivan Wong
none Details | Review

Description sbi 2005-01-19 14:22:40 UTC
Steps to reproduce:
1. open gnumeric
2. "insert" --> "image..." to choose picture --> "Öffnen"
3. es erscheint kein Bild, dann mit linker Maustaste in ein Feld klicken
--> dann stürzt Gnumeric ab

Stack trace:


Other information:

Fehlermeldung:
"gnumeric.exe hat Fehler verursacht und wird geschlossen. Starten Sie das
Programm neu."

Mein System:
AMD XP 2000+
256MB RAM
Windows 2000 mit SP 4
Comment 1 Morten Welinder 2005-01-19 16:13:34 UTC
Gnumeric 1.4.1.
Comment 2 Ivan Wong 2005-01-23 15:28:52 UTC
Created attachment 36415 [details] [review]
patch for src/gui-file.c

Confirmed that the fix in 1.4.2 works. In addition, the file filter of the
image file selector doesn't work correctly as GTK_FILE_FILTER_MIME_TYPE is not
available on Win32. This patch should fix the filter.
Comment 3 Morten Welinder 2005-01-25 15:25:17 UTC
I does see why this patch needs any ifdefs at all.

Can we just test mime_type if it is there and use extensions if not?
Comment 4 Morten Welinder 2005-01-26 20:04:46 UTC
Actually, why did it crash on win32?  Did a non-image pass the test and make
things crash elsewhere?  If so, we should independently fix the point where the
crash was.
Comment 5 Jody Goldberg 2005-01-26 22:27:28 UTC
The crash was unrelated.
It was the race condition that emmanuel kept hitting.
Comment 6 Morten Welinder 2005-02-22 19:22:02 UTC
Fixed in cvs.