From kde-commits Thu May 31 23:48:36 2001 From: David Faure Date: Thu, 31 May 2001 23:48:36 +0000 To: kde-commits Subject: Re: kdelibs/kfile X-MARC-Message: https://marc.info/?l=kde-commits&m=99135647819055 On Friday 01 June 2001 02:28, Carsten Pfeiffer wrote: > On Fri, Jun 01, 2001 at 01:49:04AM +0200, kde-cvs@kde.org wrote: > > > > Yes, it's called preview but we use it in KOffice to provide a widget where > > we ask for options for the filters. If there's some extension stuff I'll be happy > > to use it :) > > Ok... what are the needs in KOffice? I mean, the geometry requirements. > Could the extension be below the filedialog or does it have to be on > either side, left or right? Currently there are only two filter dialogs: the CSV one (import/export) and the HTML-export one. Both are about groupboxes with radiobutton. I think they are better suited in something on the left or right, otherwise e.g. the HTML one would take up too much height. But more below. > Anyway, the grey flicker is a bug (the default-preview is shown right from > KFD's c'tor and then killed when KOffice sets its own). I need some sleep > to find a way to separate that :-/ Hmm, actually, there should be no > problem as long as the dialog is not visible. Well, first sleep, then check. Actually, this goes further. The problem with the current situation is that if one types a filename and presses enter, the options will never show up. Hmm, this is very much like what we discussed in fact. If we fix kfiledialog so that when selecting the mimetype, the extension appears, then it'll be possible to select the options even for a new file - which isn't possible currently, since it only shows up for existing files ! Yet another reason for separating the preview stuff (existing files only, and actually previewing :) ), with the extension stuff. BTW koffice-1.1-final will require kdelibs-2.2 (which will be out by then). (Otherwise people can't see that they can import MSWord files, since they were only recognized by content in 2.1.x but kfiledialog didn't support that...) So anything we do now can be used in koffice-1.1. We just have to wait before making it unconditional (for now 2.1 support should be kept). -- David FAURE, david@mandrakesoft.com, faure@kde.org http://perso.mandrakesoft.com/~david/, http://www.konqueror.org/ KDE, Making The Future of Computing Available Today