[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#722099: marked as done (libkatepartinterfaces4: folded text does not unfold when clicking on the sidebar fold icon (using INI file))



Your message dated Sun, 25 Aug 2019 15:29:50 +0000
with message-id <[🔎] E1i1uSk-000H7V-T6@fasolo.debian.org>
and subject line Bug#935222: Removed package(s) from unstable
has caused the Debian Bug report #722099,
regarding libkatepartinterfaces4: folded text does not unfold when clicking on the sidebar fold icon (using INI file)
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
722099: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=722099
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: libkatepartinterfaces4
Version: 4:4.10.5-2
Severity: normal
Tags: patch

Dear Maintainer,

   * What led up to the situation?
        Using KWrite and/or Kate to edit ini text files and using the folding
feature of these editor.

   * What exactly did you do (or not do) that was effective (or
     ineffective)?
        Open a INI file in Kate or KWrite.
        Fold a section (not the first).
        Try to unfold the folded section by clicking on the arrow icon on the
        left sidebar, it will fold the section above the folded section
        instead of unfolding the section next to the arrow icon.

   * What was the outcome of this action?
        the click on the folded icon will fold the section above the folded
        section.

   * What outcome did you expect instead?
       It should unfold the section next to the folded icon.

The only way to unfold the folded section is to use menus and unfold all top
level sections.
Restarting KWrite or Kate don't unfold the section as the fold state is saved.
So the folding feature is not really usable for these types of files.

However, I managed to correct this problem using the provided patch.
But there is still another minor bug, when folding a section, it fold the
section name of the next section. But at least, folded sections are unfoldable.



-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.10-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libkatepartinterfaces4 depends on:
ii  libc6            2.17-92+b1
ii  libkcmutils4     4:4.10.5-1
ii  libkdecore5      4:4.10.5-1
ii  libkdeui5        4:4.10.5-1
ii  libkio5          4:4.10.5-1
ii  libknewstuff3-4  4:4.10.5-1
ii  libkparts4       4:4.10.5-1
ii  libktexteditor4  4:4.10.5-1
ii  libqt4-dbus      4:4.8.5+dfsg-3
ii  libqt4-script    4:4.8.5+dfsg-3
ii  libqt4-xml       4:4.8.5+dfsg-3
ii  libqtcore4       4:4.8.5+dfsg-3
ii  libqtgui4        4:4.8.5+dfsg-3
ii  libstdc++6       4.8.1-2

libkatepartinterfaces4 recommends no packages.

libkatepartinterfaces4 suggests no packages.

-- no debconf information
--- kate-4.10.5.orig/part/view/kateviewhelpers.cpp
+++ kate-4.10.5/part/view/kateviewhelpers.cpp
@@ -1962,13 +1962,14 @@ void KateIconBorder::showBlock()
       else
         newRange = KTextEditor::Range(beg, m_viewInternal->doc()->documentEnd());
     }
-    KateLineInfo info;
-    tree->getLineInfo(&info, m_currentBlockLine);
-    if ((info.startsVisibleBlock)) {
+    if ((node->isVisible())) {
       node=tree->findNodeStartingAt(m_currentBlockLine);
       if (node) {
-        if (node != tree->rootNode () && node->getBegin(tree, &beg) && node->getEnd(tree, &end)) {
-          newRange = KTextEditor::Range(beg, end);
+        if (node != tree->rootNode () && node->getBegin(tree, &beg)) {
+          if (node->getEnd(tree, &end))
+            newRange = KTextEditor::Range(beg, end);
+          else
+            newRange = KTextEditor::Range(beg, m_viewInternal->doc()->documentEnd());
         }
       }
     }

--- End Message ---
--- Begin Message ---
Version: 4:4.14.3-5+rm

Dear submitter,

as the package kate4 has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/935222

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Scott Kitterman (the ftpmaster behind the curtain)

--- End Message ---

Reply to: