Issue 68219 - gtk fpicker - expand 'type' on Export ...
Summary: gtk fpicker - expand 'type' on Export ...
Status: CLOSED FIXED
Alias: None
Product: gsl
Classification: Code
Component: code (show other issues)
Version: 680m179
Hardware: All Linux, all
: P3 Trivial (vote)
Target Milestone: OOo 2.3
Assignee: thorsten.martens
QA Contact: issues@gsl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-07 12:36 UTC by mmeeks
Modified: 2009-04-23 14:07 UTC (History)
2 users (show)

See Also:
Issue Type: PATCH
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
patch (2.31 KB, patch)
2006-08-07 12:36 UTC, mmeeks
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this issue.
Description mmeeks 2006-08-07 12:36:23 UTC
So - this is really #51002# re-filed, since (it seems) that got marked fixed
without this being fixed ;-)

[snip]
So - it turns out that the file-type functionality is rather confusing on
export, where the type combo is hidden, and well, life is non-obvious.

This adds an extra psuedo-control which is that & get the helper to expand it,
so we show the type selection prominently on export in the gtk+ file selector
[snip]
Comment 1 mmeeks 2006-08-07 12:36:51 UTC
Created attachment 38311 [details]
patch
Comment 2 caolanm 2006-08-11 13:08:35 UTC
Dunno really, I kind of like it the way it is

a) There's already the env variable "SAL_EXPANDFPICKER" which when set to 1 does
this, though admittedly affects open as well as save (and set to 2 expands the
browser as well)
b) The only other sort of similiar app is the gimp, which defaults to not
expanding the types, and we have the same "use extension as default save type"
logic in place which reduces the need to use the drop down list of types in most
cases
Comment 3 mmeeks 2006-08-11 15:01:10 UTC
Well - on export, it's not very discoverable; the set of export formats is
non-obvious in most cases - and it's nice to see PDF / XHTML listed there (IMHO
etc. ;-) ie. Export is different to 'Save As'/

The Gimp doesn't do export, Inkscape has a hard-coded 'Export Bitmap' File menu
option, gnumeric doesn't do it ... so really nothing to go on.

Convinced ?
Comment 4 caolanm 2006-08-11 15:11:43 UTC
oh, export dialog, not save dialog, makes sense. I probably should actually
apply it rather than guess what it does from reading the bare patch. 

Would be nice if the "export as PDF" dialog didn't actually have the full list
of exportable formats available, only implicitly PDF so the format list would be
empty in the dialog, removing the verbosity of export to PDF in this case.
Comment 5 caolanm 2006-08-14 11:21:51 UTC
cmc->mmeeks: Looks good, but I'm not touching any more fpicker stuff with a 10
foot bargepole
Comment 6 pavel 2006-11-10 08:12:44 UTC
retarget
Comment 7 pavel 2007-01-19 23:47:21 UTC
retarget
Comment 8 philipp.lohmann 2007-05-31 09:50:11 UTC
Do we still want this patch ? We should commit it then at some point :-)
Comment 9 mmeeks 2007-05-31 09:59:08 UTC
sure - I guess we need to resurrect cmc's CWS at some stage: but lets get the
process problem that lead to his acute pain fixed first :-) that is unless
someone else has a CWS they want to include this in [ it's not as if Sun uses
the gtk+ file-picker by default anyway so ... ;-].
Comment 10 philipp.lohmann 2007-06-28 12:14:23 UTC
ping
Comment 11 mmeeks 2007-07-04 11:50:46 UTC
pl - pong ? any chance you can include it in one of your CWS? :-) it'd save a
ton of grief, and should be low-risk.
Comment 12 philipp.lohmann 2007-07-04 17:05:38 UTC
will do, seems harmless enough. OTOH I'd like to have an implementation for the
other platforms, too.
Comment 13 philipp.lohmann 2007-07-04 18:10:04 UTC
committed in CWS vcl80
Comment 14 philipp.lohmann 2007-07-12 15:56:39 UTC
please verify in CWS vcl80
Comment 15 h.ilter 2007-07-20 13:32:29 UTC
Verified with cws vcl80 = ok
Comment 16 Mathias_Bauer 2007-09-06 17:24:14 UTC
from #desc12: "and should be low-risk."

Well, a look to issue 81318 shows us something different. :-(
Unfortunately that was discovered pretty late. 
IMHO it's a show stopper but it seems that this opinion is not shared.
Comment 17 philipp.lohmann 2007-09-06 17:58:05 UTC
excuse me, but could you explain to me how adding a new control to the IDL and
activating it could possibly adversely affect other implementations (like the
windows file picker) ? I do not remotely understand how this can be related to
issue 81813
Comment 18 Mathias_Bauer 2007-09-06 19:56:45 UTC
The bug was caused because adding the control triggered an unfortunate side
effect. This was of course not forseeable for the developer that created the
patch (and for the developer that accepted it). 

My comment didn't aim at the patch being fine or not (IMHO it was fine und
correct). My concern is the amount of testing applied.

This issue is a good example that even if the developers swear that their change
is "low risk" it is a good idea to apply some testing, especially if the patch
is done short before a release. 

So every change in file dialog related code should perhaps be tested for all
common uses cases and on all platforms. 
Comment 19 thorsten.martens 2009-04-23 14:07:02 UTC
closed