Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 23

Thread: Kwrite automatic spell checker not highlighting

  1. #11
    Join Date
    Sep 2013
    Location
    Norfolk, UK
    Posts
    1,262

    Default Re: Kwrite automatic spell checker not highlighting

    Quote Originally Posted by wolfi323 View Post
    Actually it should work, more or less.
    Own case:
    Switching language made no difference...
    Changing font from Ubuntu Mono (really like the Ubuntu fonts) to Droid Sans Mono works, the underlining appears...

    Hopefully the OP will find the same.
    Regards, Paul

    2x Tumbleweed (Snapshot: 20191012) KDE Plasma 5
    2x Leap 15.1 KDE Plasma 5

  2. #12
    Join Date
    Jun 2009
    Location
    Mangfall, Germany
    Posts
    1,500

    Default Re: Kwrite automatic spell checker not highlighting

    hi wolfi323,

    thx for the reply and info

    after changing the font in kwrite and Qt Settings to oxygen-sans-book 11pt. the
    spell checker now almost works as expected

    it does not work though with many other fonts

    When kwrite is started from a terminal, an output for each word
    covered by the spell checker is still given as shown, e.g.

    Code:
    hp-17-p105ng<2016Mär14><23:10><~/Documents>kwrite 
    smartctl-A780GM-151120.txt     No language dictionaries for the language: "en"
     .
     .
     .
    No language dictionaries for the language: "en"
    hp-17-p105ng<2016Mär14><23:10><~/Documents>
    cheers

  3. #13

    Default Re: Kwrite automatic spell checker not highlighting

    Quote Originally Posted by keellambert View Post
    after changing the font in kwrite and Qt Settings to oxygen-sans-book 11pt. the
    spell checker now almost works as expected

    it does not work though with many other fonts
    I suppose somebody should write a bug report upstream at http://bugs.kde.org/ about this, I don't think there is one already.
    I am not sure if it's a problem in kwrite/kate or frameworks-ktexteditor though (probably the latter).

    I will do it myself if I find the time, but I might forget... (I'm not using it myself really, and I'm busy with other stuff )

    When kwrite is started from a terminal, an output for each word
    covered by the spell checker is still given as shown, e.g.
    I think this can be ignored and is rather mere debug output...

  4. #14
    Join Date
    Sep 2013
    Location
    Norfolk, UK
    Posts
    1,262

    Default Re: Kwrite automatic spell checker not highlighting

    Quote Originally Posted by wolfi323 View Post
    But highlighting of errors in the text did (does?) not work with certain fonts, Liberation Mono in particular:
    https://bugzilla.opensuse.org/show_b...?id=941887#c10
    So try with a different font.
    This actually seems related to the font size rather than family.

    For example, Liberation Mono does work, but only when the size is ≥14

    Likewise, Ubuntu Mono (The font I'd been using, at size 9), works when it's size is ≥11

    Droid Mono, on the other hand works at size ≥5, the underlining is only lost at size 4


    Also, try to switch to a different language, e.g. "English" instead of "English - British" or vice-versa, both in the "global" settings in systemsettings5 and the specific settings in kwrite.
    I guess there must be two separate bugs here then... working with "English" instead of "English - British", or whatever, won't be affected by the font size (?)
    Regards, Paul

    2x Tumbleweed (Snapshot: 20191012) KDE Plasma 5
    2x Leap 15.1 KDE Plasma 5

  5. #15
    Join Date
    Jun 2009
    Location
    Mangfall, Germany
    Posts
    1,500

    Default Re: Kwrite automatic spell checker not highlighting

    Quote Originally Posted by wolfi323 View Post
    I suppose somebody should write a bug report upstream at http://bugs.kde.org/ about this, I don't think there is one already.
    I am not sure if it's a problem in kwrite/kate or frameworks-ktexteditor though (probably the latter).
    Hi,

    thx again for the feedback

    today the font selections were changed back to those preferred,
    Qt Configuration: DejaVu Sans, book, 9pt.
    kwrite: DejaVu Sans Mono, book, 9pt.
    and the auto underlining and spell checker worked fine

    this was the original setup (?) when the spell checker was not functional

    assumption: toggling the Qt values reset the appropriate defaults

    observation: after changing selections in Qt it can take minutes, not seconds,
    for the changes to filter through to kwrite

    cannot detail today's situation as per yesterday, hence no data for a bug report
    at this time

    cheers

  6. #16
    Join Date
    Sep 2013
    Location
    Norfolk, UK
    Posts
    1,262

    Default Re: Kwrite automatic spell checker not highlighting

    Quote Originally Posted by keellambert View Post
    today the font selections were changed back to those preferred ... and the auto underlining and spell checker worked fine
    Strange... I'm not able to replicate that behaviour.

    If I change the (kwrite) font back to that which I'd been using (Ubuntu Mono 9) then I lose the underlining; no matter if I wait, or indeed log out/in.

    Out of curiosity I also tried DejaVu Sans Mono, Book - That works OK here at sizes ≥5 ...
    Regards, Paul

    2x Tumbleweed (Snapshot: 20191012) KDE Plasma 5
    2x Leap 15.1 KDE Plasma 5

  7. #17
    Join Date
    Sep 2013
    Location
    Norfolk, UK
    Posts
    1,262

    Default Re: Kwrite automatic spell checker not highlighting

    OK - Bug report here if anyone feels they wish to add to it...

    https://bugs.kde.org/show_bug.cgi?id=360555
    Regards, Paul

    2x Tumbleweed (Snapshot: 20191012) KDE Plasma 5
    2x Leap 15.1 KDE Plasma 5

  8. #18

    Default Re: Kwrite automatic spell checker not highlighting

    Quote Originally Posted by tannington View Post
    This actually seems related to the font size rather than family.
    Hm, never thought about changing the font size.
    I actually only noticed that it might be related to the font because it didn't work here when running kwrite in KDE4, while it worked fine in Plasma5 (which has Oxygen Mono as default monospace font).

    But the problem being size dependant actually makes more sense anyway, yes.
    I'd guess that with a too small size there just isn't enough space to display that underline or something like that.

    Although as you write the critical size does seem to depend on the font family too.
    And I would assume that it depends on the DPI as well.

    I guess there must be two separate bugs here then... working with "English" instead of "English - British", or whatever, won't be affected by the font size (?)
    I never wrote that this is related.
    But please note that that's what I experienced in KDE4, in earlier openSUSE versions.
    I don't know whether this problem still exists or not.

    Quote Originally Posted by keellambert View Post
    observation: after changing selections in Qt it can take minutes, not seconds,
    for the changes to filter through to kwrite
    And what exactly does "changing selections in Qt" mean?

    What Qt configuration did you change where/how?
    If you ran qtconfig, that's for Qt4 and has no effect on Qt5/KF5 and therefore kwrite since version 14.12.0 (i.e. higher than 4.14.3).

    Quote Originally Posted by tannington View Post
    OK - Bug report here if anyone feels they wish to add to it...

    https://bugs.kde.org/show_bug.cgi?id=360555
    Thank you.
    Last edited by wolfi323; 15-Mar-2016 at 08:34.

  9. #19
    Join Date
    Sep 2013
    Location
    Norfolk, UK
    Posts
    1,262

    Default Re: Kwrite automatic spell checker not highlighting

    Quote Originally Posted by wolfi323 View Post
    I never wrote that this is related.
    But please note that that's what I experienced in KDE4, in earlier openSUSE versions.
    I don't know whether this problem still exists or not.
    Yes, I know you didn't. You offered that as another reason that spell checking in general wasn't working. I was making the comment that, therefore, it was probably two separate bugs. Sorry for the confusion
    Regards, Paul

    2x Tumbleweed (Snapshot: 20191012) KDE Plasma 5
    2x Leap 15.1 KDE Plasma 5

  10. #20
    Join Date
    Jun 2009
    Location
    Mangfall, Germany
    Posts
    1,500

    Default Re: Kwrite automatic spell checker not highlighting

    hi tannington,

    And what exactly does "changing selections in Qt" mean?
    Selection of font, font style, font size

    What Qt configuration did you change where/how?
    If you ran qtconfig, that's for Qt4 and has no effect on Qt5/KF5 and therefore kwrite since version 14.12.0 (i.e. higher than 4.14.3).
    the file being called is /usr/bin/qtconfig, which is included in package
    libqt4-x11-4.8.6-5.2.x86_64

    the kwrite being used is from package kwrite-15.12.2-12.1.x86_64,
    Requires:
    libc.so.6(GLIBC_2.14)(64bit)
    libstdc++.so.6()(64bit)
    libstdc++.so.6(GLIBCXX_3.4)(64bit)
    libstdc++.so.6(CXXABI_1.3)(64bit)
    libQt5Core.so.5()(64bit)
    libQt5Core.so.5(Qt_5)(64bit)
    libQt5Core.so.5(Qt_5.5)(64bit)
    libQt5Gui.so.5()(64bit)
    libQt5Gui.so.5(Qt_5)(64bit)
    libQt5Widgets.so.5()(64bit)
    libQt5Widgets.so.5(Qt_5)(64bit)
    libKF5I18n.so.5()(64bit)
    libKF5CoreAddons.so.5()(64bit)
    libKF5ConfigCore.so.5()(64bit)
    libKF5WidgetsAddons.so.5()(64bit)
    libKF5ConfigWidgets.so.5()(64bit)
    libKF5XmlGui.so.5()(64bit)
    libKF5ConfigGui.so.5()(64bit)
    libKF5DBusAddons.so.5()(64bit)
    libKF5Parts.so.5()(64bit)
    libKF5TextEditor.so.5()(64bit)
    libKF5Activities.so.5()(64bit)
    kate-plugins = 15.12.2

    ok, point taken

    cheers
    =====

Page 2 of 3 FirstFirst 123 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •