Text panel empty after setting new font

Issue #67 resolved
jsbien created an issue

Changing a font results in blank text concordances panel.

Comments (17)

  1. jsbien reporter

    Good question! Actually I had in mind a non-existent font size. I will try to reproduce problem and gather more data on Thursday.

  2. jsbien reporter

    For example font Cantarell at size 72 gives blank concordance panel. Changing the size back to the default size (11) doesn't help. (Debian wheezy, wbl, Karłowicz etc., query []). Fortunately after the program restart the default previous size is restored.

  3. Michał Rudolf repo owner

    Seems very strange because font size is not used at all.

    And after setting preferences concordance panel is always cleared, but rerunning query shows it in newly selected font.

    What is the difference in behavior between setting Canterell@72 and some other font in standard size?

  4. jsbien reporter

    Looks like I forgot to rerun the query.

    What about introducing an option to rerun the query automatically? I think this is what users expect, although sometimes rerunning a time consuming query may be not desirable.

    Why font size is not used?

  5. Michał Rudolf repo owner

    What do you mean by "not used"?

    Rerunning query makes sense (or not cleaning it if server-related options haven't changed)

  6. Michał Rudolf repo owner

    Sorry, I overlooked the word "size" it. Should we also store/use font size?

    Some parameters (like bold/italic) will be ignored anyway.

  7. jsbien reporter

    Yes, for rare and/or complicated characters increasing font size is very convenient.

    It should be clear for the user which parameters are ignored.

  8. Michał Rudolf repo owner

    It may not be easy, as Qt uses system font dialog on each OS.

    The only way to limit what can be chosen is by making selectable font list. We lose font preview and list of available font sizes (the latter probably makes sense only for bitmap fonts, so maybe it is not important).

    Should we go that way?

  9. Michał Rudolf repo owner

    I am limiting this issue to clearing concordances after preferences are changed. If we find more font changes are needed (font size/decoration, limiting font dialog), let's create new issue for that.

  10. Log in to comment