Launchpad has imported 3 comments from the remote bug at
https://bugs.kde.org/show_bug.cgi?id=390476.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2018-02-14T20:24:12+00:00 Norbert wrote:

Steps to reproduce:
1. Install Muon on Ubuntu 16.04 LTS and launch it
2. Click "Check for updates"
3. Wait for "Rebuilding Search Index" to finish
4. After some time open Muon again (without 'apt-get update', 'aptitude 
update').
5. Get 'Rebuilding search index' message with background process 
/usr/sbin/update-apt-xapian-index and high CPU load and high temperature as the 
result.

Expected results:
Muon runs update-apt-xapian-index only when it's really needed. Muon allows 
user to search packages instantly after launch.

Actual results:
Muon rebuilds search index very often and inefficient. Muon does not allow user 
to search packages instantly after launch.

Note:
This bug is very similar to the Synaptic one (see 
https://bugs.launchpad.net/bugs/1685376).
It is caused by problems in apt-xapian-index (mainly 
https://bugs.launchpad.net/bugs/1612948).

Downstream bug-report:
https://bugs.launchpad.net/bugs/1741767

Reply at:
https://bugs.launchpad.net/ubuntu/+source/muon/+bug/1741767/comments/5

------------------------------------------------------------------------
On 2018-02-22T09:29:01+00:00 Carlo Vanini wrote:

Git commit e4f2a1f79741c930802acab7150fa6b96240bed6 by Carlo Vanini.
Committed on 22/02/2018 at 09:27.
Pushed by vanini into branch 'master'.

Do not check status file for timestamp

Summary:
Update-apt-xapian-index is organised in plugins, each representing a
data source for the index. Each of them reports a timestamp of the
latest change, and the updated index takes the maximum of them as its
own timestamp.

We were checking the time of `Dir::State::status`
(`/var/lib/dpkg/status`), which is not used in any plugin. When it was
newer than all data sources, we would continuously see the index as out
of date.

Reviewers: sitter

Reviewed By: sitter

Differential Revision: https://phabricator.kde.org/D10715

M  +1    -8    src/backend.cpp

https://commits.kde.org/libqapt/e4f2a1f79741c930802acab7150fa6b96240bed6

Reply at:
https://bugs.launchpad.net/ubuntu/+source/muon/+bug/1741767/comments/8

------------------------------------------------------------------------
On 2019-04-15T10:47:22+00:00 S-zb wrote:

I feel the need to resurrect this bug report since the problem seems to
have resurfaced (actually quite a while ago).

SUMMARY
Muon rebuilds its search index almost every time it is opened, even if only 
minutes have passed since the last time it was in use. It also does so right 
after installing a package. This leaves the user unable to search for or 
install packages during the time the index is being updated (which for me can 
take up to 2 minutes at times).

STEPS TO REPRODUCE
1. Launch Muon.
2. Search Index is rebuilding as indicated in the lower right corner.
3. Searching for a package yields 0 results until the index has completely been 
updated.


Operating System: KDE neon 5.15
KDE Plasma Version: 5.15.4
KDE Frameworks Version: 5.57.0
Qt Version: 5.12.0
Kernel Version: 4.15.0-47-generic

Reply at:
https://bugs.launchpad.net/ubuntu/+source/muon/+bug/1741767/comments/11


** Changed in: muon
       Status: Fix Released => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1741767

Title:
  Muon rebuilds search index very often and inefficient

To manage notifications about this bug go to:
https://bugs.launchpad.net/muon/+bug/1741767/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to