[Panel-devel] kalming kickoff

Kevin Ottens ervin at kde.org
Mon Nov 12 20:24:26 CET 2007


Le lundi 12 novembre 2007, Aaron J. Seigo a écrit :
> well.. that's just it. it isn't in the DVD drive. isAccessible() returns
> false. i haven't put another disk in the drive since i ejected it, and
> apparently HAL was too stupid to notice.

Well, that's a bug in HAL. I'd be surprised if it'd be persistent to HAL 
restarts though.

> > > instead, i'd like to just say "DVD drive" on top, perhaps with the
> > > eventually mountpoint ("/media/cdrom0") below it in the subtext.
> >
> > Mountpoints are known only when the device is mounted.
>
> really? because i'm seeing it now: DVD is unmounted but it gives
> me /media/cdrom0 as the mount point. maybe it's just more HAL screw ups
> then?

No, it's me being tired. I should have written "Mountpoints are known 
*reliable* only when the device is mounted". For some devices it can 
perfectly be unknown.

> this is a generic issue, though. it's the same thing with other such
> removable devices which may not be optical in nature?

You don't need as much information for the other ones IMHO, they're just 
drives having a bus and a given type. Only Optical drives have so many 
varieties (and varieties the user care about apparently...).

> > Sure, really I'm restating it here but most of the things you list are
> > problems already solved in KFilePlacesModel. If I were you I'd use that
> > maybe using a proxy model to attach more information (like the subtext
> > line you seem to want).
>
> i agree; but unless someone steps up this won't happen from me until after
> 4.0 since it would mean going through a bunch more work. i'm ok with a
> decent bodge for 4.0 with a better solution for 4.1.

OK. I'll see if I can find sometime. But if I work on this one you'll have to 
check the size problems with the handle (all the issues left with the applet 
handle boil down to the way size is managed in applets). Deal? :-)

Regards.
-- 
Kévin 'ervin' Ottens, http://ervin.ipsquad.net
"Ni le maître sans disciple, Ni le disciple sans maître,
Ne font reculer l'ignorance."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/panel-devel/attachments/20071112/0a9fa16a/attachment.pgp 


More information about the Panel-devel mailing list