SUMMARY dynamic word wrapping does not work in Kile's editor regardless of the setting STEPS TO REPRODUCE 1. open a new document 2. type a long line, watch it not dynamically word wrap 3. switch Settings > Configure > Kile > Editor > Appearance > Dynamic Word Wrap and see it having no effect OBSERVED RESULT no dynamic word wrapping happening EXPECTED RESULT synamic word wrapping happening SOFTWARE/OS VERSIONS Ubuntu 21.10 Kile 2.9.93 from apt $ apt show kile Package: kile Version: 4:2.9.93-2 Priority: optional Section: universe/tex Origin: Ubuntu Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> Original-Maintainer: Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org> Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 7,009 kB Depends: kinit, konsole-kpart, okular, texlive-latex-base, perl:any, kio, libc6 (>= 2.14), libgcc-s1 (>= 3.0), libkf5codecs5 (>= 4.96.0), libkf5completion5 (>= 4.97.0), libkf5configcore5 (>= 5.31.0~), libkf5configgui5 (>= 5.31.0~), libkf5configwidgets5 (>= 5.23.0), libkf5coreaddons5 (>= 5.31.0~), libkf5crash5 (>= 5.31.0~), libkf5dbusaddons5 (>= 5.31.0~), libkf5guiaddons5 (>= 4.96.0), libkf5i18n5 (>= 5.31.0~), libkf5iconthemes5 (>= 5.31.0~), libkf5jobwidgets5 (>= 4.96.0), libkf5khtml5 (>= 5.31.0~), libkf5kiocore5 (>= 4.96.0), libkf5kiofilewidgets5 (>= 4.96.0), libkf5kiowidgets5 (>= 5.31.0), libkf5parts5 (>= 5.31.0~), libkf5service-bin, libkf5service5 (>= 4.96.0), libkf5texteditor5 (>= 5.31.0~), libkf5textwidgets5 (>= 4.96.0), libkf5widgetsaddons5 (>= 5.13.0), libkf5windowsystem5 (>= 5.31.0~), libkf5xmlgui5 (>= 5.31.0~), libpoppler-qt5-1 (>= 0.24.5), libqt5core5a (>= 5.15.1), libqt5dbus5 (>= 5.14.1), libqt5gui5 (>= 5.8.0) | libqt5gui5-gles (>= 5.8.0), libqt5script5 (>= 5.6.0~beta), libqt5widgets5 (>= 5.14.1), libqt5xml5 (>= 5.6.0~), libstdc++6 (>= 4.2.1) Recommends: dvipng, ghostscript, imagemagick, psutils, texlive Suggests: aspell | ispell | hspell, asymptote, context, dblatex, kbibtex, kile-doc, kile-l10n, latex2html, lilypond, tex4ht, texlive-xetex, zip Homepage: https://kile.sourceforge.io Download-Size: 1,776 kB APT-Manual-Installed: yes APT-Sources: http://archive.ubuntu.com/ubuntu impish/universe amd64 Packages Description: KDE Integrated LaTeX Environment Kile is a user-friendly LaTeX source editor and TeX shell for KDE. . The source editor is a multi-document editor designed for .tex and .bib files. Menus, wizards and auto-completion are provided to assist with tag insertion and code generation. A structural view of the document assists with navigation within source files. . The TeX shell integrates the various tools required for TeX processing. It assists with LaTeX compilation, DVI and postscript document viewing, generation of bibliographies and indices and other common tasks. . Kile can support large projects consisting of several smaller files.
This is still the same in Ubuntu 22.04.
Unable to reproduce on Arch Linux with the same version of Kile. kile 2.9.93 Operating System: Arch Linux KDE Plasma Version: 5.27.8 KDE Frameworks Version: 5.111.0 Qt Version: 5.15.11 Graphics Platform: X11
This happens sporadically on 2.9.95 Operating System: Arch Linux KDE Plasma Version: 6.0.4 KDE Frameworks Version: 6.1.0 Qt Version: 6.7.0 If an entry for the file is created in kilerc, it remains persistent. (This corresponds to View >Word Wrap > Dynamic Word Wrap) [View-Settings,View=0,URL=file://:@/path/to/file.tex] Dynamic Word Wrap=true However, until this is saved per-file, the setting inherited from KTextEditor is not consistently respected. (Settings > Configure > Kile > Editor > Appearance > Dynamic Word Wrap) [KTextEditor View] Dynamic Word Wrap=true
(In reply to Samuel Jimenez from comment #3) > This happens sporadically on 2.9.95 > Operating System: Arch Linux > KDE Plasma Version: 6.0.4 > KDE Frameworks Version: 6.1.0 > Qt Version: 6.7.0 > > If an entry for the file is created in kilerc, it remains persistent. (This > corresponds to View >Word Wrap > Dynamic Word Wrap) > [View-Settings,View=0,URL=file://:@/path/to/file.tex] > Dynamic Word Wrap=true > > However, until this is saved per-file, the setting inherited from > KTextEditor is not consistently respected. > (Settings > Configure > Kile > Editor > Appearance > Dynamic Word Wrap) > [KTextEditor View] > Dynamic Word Wrap=true Are you sure this is not a ktexteditor bug? I seem to be seeing similar behaviour in Kate too.
(In reply to Kishore Gopalakrishnan from comment #4) > (In reply to Samuel Jimenez from comment #3) > > This happens sporadically on 2.9.95 > > Operating System: Arch Linux > > KDE Plasma Version: 6.0.4 > > KDE Frameworks Version: 6.1.0 > > Qt Version: 6.7.0 > > > > If an entry for the file is created in kilerc, it remains persistent. (This > > corresponds to View >Word Wrap > Dynamic Word Wrap) > > [View-Settings,View=0,URL=file://:@/path/to/file.tex] > > Dynamic Word Wrap=true > > > > However, until this is saved per-file, the setting inherited from > > KTextEditor is not consistently respected. > > (Settings > Configure > Kile > Editor > Appearance > Dynamic Word Wrap) > > [KTextEditor View] > > Dynamic Word Wrap=true > > Are you sure this is not a ktexteditor bug? I seem to be seeing similar > behaviour in Kate too. In which version of Kate do you see this? I cannot reproduce in Kate version 24.02.2. While I don't claim to be sure, I see it around 50% in Kile.
(In reply to Samuel Jimenez from comment #5) > (In reply to Kishore Gopalakrishnan from comment #4) > > (In reply to Samuel Jimenez from comment #3) > > > This happens sporadically on 2.9.95 > > > Operating System: Arch Linux > > > KDE Plasma Version: 6.0.4 > > > KDE Frameworks Version: 6.1.0 > > > Qt Version: 6.7.0 > > > > > > If an entry for the file is created in kilerc, it remains persistent. (This > > > corresponds to View >Word Wrap > Dynamic Word Wrap) > > > [View-Settings,View=0,URL=file://:@/path/to/file.tex] > > > Dynamic Word Wrap=true > > > > > > However, until this is saved per-file, the setting inherited from > > > KTextEditor is not consistently respected. > > > (Settings > Configure > Kile > Editor > Appearance > Dynamic Word Wrap) > > > [KTextEditor View] > > > Dynamic Word Wrap=true > > > > Are you sure this is not a ktexteditor bug? I seem to be seeing similar > > behaviour in Kate too. > > In which version of Kate do you see this? > I cannot reproduce in Kate version 24.02.2. > > While I don't claim to be sure, I see it around 50% in Kile. I also have kate 24.02.2, and dynamic word wrapping occasionally gets disabled in some new windows (the same happens for me in Kile).
(In reply to Kishore Gopalakrishnan from comment #6) > (In reply to Samuel Jimenez from comment #5) > > (In reply to Kishore Gopalakrishnan from comment #4) > > > (In reply to Samuel Jimenez from comment #3) > > > > This happens sporadically on 2.9.95 > > > > Operating System: Arch Linux > > > > KDE Plasma Version: 6.0.4 > > > > KDE Frameworks Version: 6.1.0 > > > > Qt Version: 6.7.0 > > > > > > > > If an entry for the file is created in kilerc, it remains persistent. (This > > > > corresponds to View >Word Wrap > Dynamic Word Wrap) > > > > [View-Settings,View=0,URL=file://:@/path/to/file.tex] > > > > Dynamic Word Wrap=true > > > > > > > > However, until this is saved per-file, the setting inherited from > > > > KTextEditor is not consistently respected. > > > > (Settings > Configure > Kile > Editor > Appearance > Dynamic Word Wrap) > > > > [KTextEditor View] > > > > Dynamic Word Wrap=true > > > > > > Are you sure this is not a ktexteditor bug? I seem to be seeing similar > > > behaviour in Kate too. > > > > In which version of Kate do you see this? > > I cannot reproduce in Kate version 24.02.2. > > > > While I don't claim to be sure, I see it around 50% in Kile. > > I also have kate 24.02.2, and dynamic word wrapping occasionally gets > disabled in some new windows (the same happens for me in Kile). If you are seeing it in kate, that would indicate it is in ktexteditor or some other unit of katepart shared between the two. Has an upstream bug been opened for this?
Could it be this commit by any chance? https://invent.kde.org/frameworks/ktexteditor/-/commit/43978aa976c1c95991d89da1f813d7be1d690bec I'm able to reproduce on: Arch Linux Kate: Version 24.02.2 Qt: Version 6.7.0 (built against 6.7.0) KDE Frameworks: Version 6.2.0 ktexteditor: Version 6.2.0 I did notice I also have ktexteditor5 installed, I wonder if it's conflicting, can anyone check if they have that installed as well? There are 2 more users with limited information here: https://reddit.com/r/kde/comments/1cefg9y/kate_dynamic_word_wrap_doesnt_stay_active/
Fixed in the linked bug. Sorry for the issue. *** This bug has been marked as a duplicate of bug 487216 ***