[Eric] File opening default filter
Algis Kabaila
akabaila at pcug.org.au
Tue Aug 17 03:36:30 BST 2010
On Thursday 12 August 2010 19:25:57 Detlev Offenbach wrote:
> On Donnerstag, 12. August 2010, Algis Kabaila wrote:
> > On Thursday 12 August 2010 17:38:56 Detlev Offenbach wrote:
> > > On Donnerstag, 12. August 2010, Algis Kabaila wrote:
> > > > Hi,
> > > >
> > > > I am using eric4-4.4.7 (r3805) and what a fine program it is!
> > > >
> > > > When trying to open a file, I am presented with a drop-down list
> > > > which by default gives a "batch file" filter for files. I think a
> > > > more general default filter would be "All Files".
> > > >
> > > > I would like to set the filter to "Python", as that is what I use
> > > > Eric for.
> > > >
> > > > I feel sure that in that massive "Settings -> Preferences" listing
> > > > there is an option to change the default file filter. Regretfully,
> > > > I can not find it. Would you help, please?
> > >
> > > It is on the Editor->Filehandling page. Please be aware, that it has no
> > > effect on Linux systems using a KDE dialog wrapper for Qt because KDE
> > > dialogs work different from Qt dialogs. In that case, you should
> > > disable the usage of these wrappers (unfortunately I don't know how)
> > > or use the wrappers of eric4 (if PyKDE4 is installed). The internal
> > > wrappers handle the filter preselection right.
> > >
> > > Detlev
> >
> > Thanks for your reply. My "Settings -> Preferences -> Editor ->
> > Filehandling" 'Default File Filters' were set to Python (*.py *,py3). As
> > an experiment, I changed it to 'All Files'. To no avail - the default
> > remains "Batch Files", which I do not use at all.
> >
> > I am using kubuntu, which had a KDE desktop, of course. I either do not
> > remember installing PyKDE4 as such, but it is possible. In any event, I
> > would expect the KDE desktop "want' to use PyKDE4.
> >
> > I do not have the knowledge to tackle the incompatibility problem, which
> > this hiccup seems to be, so will look for a "work around". One
> > possibility would be to use a VM (Virtual Machine), free of KDE
> > installation and with Eric installed. Will think about it a bit more.
> >
> > Thank you again for kindly provided information,
>
> You are experiencing the faulty behavior implemented by most distros these
> days. To use the eric4 supplied wrappers go to the Interface config page
> and select "Use KDE4 dialogs". PyKDE4 is installed per default by most
> distros.
>
> Regards,
> Detlev
Thank you for your advice. Yes, that did solve the problem that has plagued
me. What a great program!
Generally I am in favour of forks, but fail to understand why PyQt4 was forked
by PyKDE4. PyKDE4 web site tells that it is "not allways compatible with MS
Windows". As it also interferes with PyQt4, it does adversely affect KDE
IMHO. I do not think that it is possible to uninstall PyKDE4 from a KDE
desktop environment as it appears that KDE desktop depends on PyKDE4 in some
aspects.
Personally, I will probably move away from the KDE desktop to gnome, to
"standard" ubuntu.
Thanks for the great program and for the great support.
OldAl.
More information about the Eric
mailing list