RFE: add a new File debconf template type

Bug #1095115 reported by i30817 on 2013-01-01
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
debconf (Ubuntu)
Wishlist
Unassigned

Bug Description

This would be nice so that users could use the system filechooser on graphical mode, and have tab completion on text mode, rather than writing a freeform string.
The 'file doesn't exist yet' usecase should be usable, too, so i guess GUI mode still needs a text field, but most filechoosers have those (haven't seen one without yet on linux).

A simple validation that the thing is indeed a validfile name would be nice too, at least for the CLI-mode.

ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: debconf 1.5.46ubuntu1
ProcVersionSignature: Ubuntu 3.5.0-21.32-generic 3.5.7.1
Uname: Linux 3.5.0-21-generic x86_64
NonfreeKernelModules: fglrx
ApportVersion: 2.6.1-0ubuntu9
Architecture: amd64
Date: Tue Jan 1 19:34:08 2013
InstallationDate: Installed on 2011-12-25 (372 days ago)
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
MarkForUpload: True
PackageArchitecture: all
SourcePackage: debconf
UpgradeStatus: Upgraded to quantal on 2012-10-20 (73 days ago)

i30817 (i30817) wrote :
i30817 (i30817) on 2013-01-01
description: updated
description: updated
description: updated
description: updated
description: updated
description: updated
Colin Watson (cjwatson) wrote :

With the amount of work this would require at various levels of the stack, this is fairly unlikely to happen soon; but a specific use case where a file type would be compellingly useful would help.

Changed in debconf (Ubuntu):
status: New → Triaged
importance: Undecided → Wishlist
i30817 (i30817) wrote :

I'd would have liked to use it on a package i've 'enhanced' for a exult daily build here:
https://code.launchpad.net/~exult-team/+archive/exult-daily

The issue is that the package asks the user the first time for the location of the games, so it can copy them into their lsb appropriate dirs (for various, obvious reasons).

This stuff is then validated, and that is painful, but the RFE is mostly about the graphical filechooser (though in this case it's 'directory' chooser). This because *that* is painful for the *users*

i30817 (i30817) wrote :

As for the 'validation' part of the RFE, it's not about any semantic validation; but that the file chosen is indeed, a valid file in the filesystem, or (if it is to be a existing file template), that it indeed exists).

I suppose the filechooser in the graphical UI should only be used in this 'existing file template' too.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers