Hello,

I just upgraded nana v1.6.1 to v1.7.1.
As you know, some file constructor is removed v1.7.1 so I rewrote my code as follows:

// MyAppDlg inherits nana::form
void MyAppDlg::onBrowseVideoSource(int32 index)
{
    // _filebox is std::unique_ptr<nana::filebox>
    _filebox.reset(new nana::filebox(*this, true));
    _filebox->add_filter("All Files", "*.*");
    _filebox->add_filter("Image File", "*.img");
    _filebox->init_path(_programPath);

    auto files = _filebox->show();

    if (!files.empty()) {       // never reaches here when clicking OK button
        ...
    }
}

When I run this code, filebox->show() never returns even if OK button is clicked..

Is this a bug?

Thank you.

Hello, I just upgraded nana v1.6.1 to v1.7.1. As you know, some file constructor is removed v1.7.1 so I rewrote my code as follows: ```` // MyAppDlg inherits nana::form void MyAppDlg::onBrowseVideoSource(int32 index) { // _filebox is std::unique_ptr<nana::filebox> _filebox.reset(new nana::filebox(*this, true)); _filebox->add_filter("All Files", "*.*"); _filebox->add_filter("Image File", "*.img"); _filebox->init_path(_programPath); auto files = _filebox->show(); if (!files.empty()) { // never reaches here when clicking OK button ... } } ```` When I run this code, filebox->show() never returns even if OK button is clicked.. Is this a bug? Thank you.

Thanks for your feedback! I will respond to you later.

Thanks for your feedback! I will respond to you later.

Hi, a fix has been checked into the hotfix-1.7.1 branch. Thank you for reporting this bug.

Hi, a fix has been checked into the `hotfix-1.7.1` branch. Thank you for reporting this bug.

Hello, I'm using version 1.7.1 but still have the same problem. My OS is Xubuntu 18.10

Hello, I'm using version 1.7.1 but still have the same problem. My OS is Xubuntu 18.10
25
views
3
replies
3
followers
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft