Text panel empty after setting new font
Changing a font results in blank text concordances panel.
Comments (17)
-
repo owner -
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.
-
repo owner -
assigned issue to
-
assigned issue to
-
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.
-
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?
-
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?
-
repo owner What do you mean by "not used"?
Rerunning query makes sense (or not cleaning it if server-related options haven't changed)
-
reporter You said earlier
Seems very strange because font size is not used at all.
-
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.
-
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.
-
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?
-
reporter Let's delay the decision till we talk about system font dialog.
-
repo owner - changed status to open
-
repo owner - edited description
- changed title to Results empty after setting new font
-
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.
-
repo owner - changed title to Text panel empty after setting new font
-
repo owner - changed status to resolved
Do not clear results if server list was not modified. Closes
#67. This also applies new font to old results, if present).→ <<cset fc55fca152b9>>
- Log in to comment
How can you select non-existent font?