martinrotter/textosaurus

open file with extension from menu

tyzmodo opened this issue · 7 comments

Brief description of the issue.

the file extension recognizer in menu-->file-->open doesn't work,you have to drap&drop or rely on sidebar file browser

How to reproduce the bug?

  1. from menu click file-->open file
  2. choose a file name extension like '.txt'or ".c"
  3. no file displayed,only folders listed

What is the expected result?

the file with selected extension name should be displayed

What actually happened?

no file displayed,only folders listed

Other information (logs, see Wiki)

which OS do you use? do you use latest textosaurus version? does latest dev build - https://github.com/martinrotter/textosaurus/wiki/Development-builds work?

can you perhaps make a short screen-cast video to demonstrate the bug?

I tried the latest dev build appimages of winodws and linux at home,the problem appears.
the dev build link seems expired now so here at my workspace I use a previous downloaded eb848e0 commit appimage to record the video . the video is zipped to attach.
screenrecord.zip

sorry i forgot to mention ,my windows version is windows7 x64 my linux version is archlinux,here my linux os at work is linux lite which is similiar to ubuntu. both os is of zh_cn locale

i see, i cannot reproduce problem, it just works here, i will do some checks

I committed new changes, I added launch flag --nativedialogs which, if used, forces usage of native dialogs which might work better than Qt dialogs for some users.

So wait until new dev build gets generated and then launch Textosaurus with textosaurus.exe --nativedialogs and try to simulate bug and see if it is resolved with this switch ON.

Ok,thank you

Yes,the problem is solved by setting that option on,thank you very much!