Invasive messages using windows native file dialogs

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Invasive messages using windows native file dialogs

V. Armando Solé
Hello,

Using native file dialogs with latest available wheel (pip install
PyQt5) on Python 3.6 gives messages on console whenever a file is
selected or directory is changed.

Message:

QWindowsnativeFileDialogBase:onSelectionChange( ....)

System: Windows 7, Python 3.6, PyQt 5.10, Qt 5.10

Test code:

import sys
import PyQt5.Qt as qt
app = qt.QApplication([])
w = qt.QFileDialog.getOpenFileNames()
w._exec()
sys.exit()

Is there a way to suppress that logging information?

Thanks a lot,

Armando


_______________________________________________
PyQt mailing list    [hidden email]
https://www.riverbankcomputing.com/mailman/listinfo/pyqt
Reply | Threaded
Open this post in threaded view
|

Re: Invasive messages using windows native file dialogs

V. Armando Solé
Solved by PyQt 5.10.1

On 23/02/2018 13:56, V. Armando Solé wrote:

> Hello,
>
> Using native file dialogs with latest available wheel (pip install
> PyQt5) on Python 3.6 gives messages on console whenever a file is
> selected or directory is changed.
>
> Message:
>
> QWindowsnativeFileDialogBase:onSelectionChange( ....)
>
> System: Windows 7, Python 3.6, PyQt 5.10, Qt 5.10
>
> Test code:
>
> import sys
> import PyQt5.Qt as qt
> app = qt.QApplication([])
> w = qt.QFileDialog.getOpenFileNames()
> w._exec()
> sys.exit()
>
> Is there a way to suppress that logging information?
>
> Thanks a lot,
>
> Armando
>
>
> _______________________________________________
> PyQt mailing list    [hidden email]
> https://www.riverbankcomputing.com/mailman/listinfo/pyqt



_______________________________________________
PyQt mailing list    [hidden email]
https://www.riverbankcomputing.com/mailman/listinfo/pyqt