Bug#735385: synaptic: quick search / xapian not installed by default in jessie

2014-08-12 Thread Lars Cebulla
Hi Bernhard,

your suggestion sounds good.

Additionally, I would open a dialog when starting synaptic for the first
time and ask the user if he wants to use / install quick search /
xapian. If he wants to use it, install it directly.

That would be the best solution, I think.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#735385: synaptic: quick search / xapian not installed by default in jessie

2014-08-01 Thread Bernhard Übelacker
Hello,
this adds not a button, but does:
- not hide the quick filter if apt-xapian-index is not installed
- shows a tooltip suggesting to install the missing package

Probably this could already be sufficient?

Kind regards,
Bernhard




From dd23e3001107e05953971778e0f374f2ac545863 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bernhard=20=C3=9Cbelacker?= bernha...@vr-web.de
Date: Fri, 1 Aug 2014 15:08:21 +0200
Subject: Instead of hiding the quick filter just disable it and show a tooltip
 for the user.

---
 gtk/rgmainwindow.cc | 6 --
 po/de.po| 6 ++
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/gtk/rgmainwindow.cc b/gtk/rgmainwindow.cc
index cf54ae5..9ca9bfc 100644
--- a/gtk/rgmainwindow.cc
+++ b/gtk/rgmainwindow.cc
@@ -1602,8 +1602,10 @@ void RGMainWindow::buildInterface()
 #ifdef WITH_EPT
if(!_lister-xapiandatabase() ||
   !FileExists(/usr/sbin/update-apt-xapian-index)) {
-  gtk_widget_hide(GTK_WIDGET(gtk_builder_get_object
- (_builder, vbox_fast_search)));
+  GtkWidget *fast_search = GTK_WIDGET(gtk_builder_get_object
+  (_builder, entry_fast_search));
+  gtk_widget_set_sensitive(fast_search, FALSE);
+  gtk_widget_set_tooltip_text(fast_search, _(To use the quick filter 
please install package apt-xapian-index));
}
 #else
gtk_widget_hide(GTK_WIDGET(gtk_builder_get_object
diff --git a/po/de.po b/po/de.po
index a7ac04c..6e5806b 100644
--- a/po/de.po
+++ b/po/de.po
@@ -1754,6 +1754,12 @@ msgstr Vorschläge zum Installieren vormerken
 msgid No apt-xapian-index found
 msgstr 
 
+#: ../gtk/rgmainwindow.cc:1608
+msgid To use the quick filter please install package apt-xapian-index
+msgstr 
+Um den Schnellauswahl-Filter zu verwenden bitte das Paket apt-xapian-index 
+installieren
+
 #: ../gtk/rgmainwindow.cc:1887
 msgid 
 Removing this package may render the system unusable.\n
-- 
2.0.1


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#735385: synaptic: quick search / xapian not installed by default in jessie

2014-03-23 Thread Michael Vogt
On Thu, Jan 16, 2014 at 04:46:21PM +0100, Andreas Cadhalpun wrote:
 On 15.01.2014 04:33, Lars Cebulla wrote:
 On a new installed Debian Jessie, I can't see the quick search input field in
 synaptic.
 
 After searching on the internet, I've found a solution:
 
 apt-get install apt-xapian-index
 update-apt-xapian-index
 
 http://debianforum.de/forum/viewtopic.php?f=12t=144140
 
 This should be done by default !
 
 I agree that this should be the default, since the normal search is
 not really an alternative. But I fear that this will not happen,
 because it was explicitly reduced to a Suggests from a Recommends
 due to performance problems on low end hardware, see [1].
[..]

Its really a bit tricky to get this right it seems :) I guess what we
could do is to add a button to install the quick search package if its
missing. Something like Install quick filter support in the
preferences window or even in the toolbar?

Cheers,
 Michael


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#735385: synaptic: quick search / xapian not installed by default in jessie

2014-03-23 Thread Andreas Cadhalpun

Hi Michael,

On 23.03.2014 10:21, Michael Vogt wrote:

Its really a bit tricky to get this right it seems :) I guess what we
could do is to add a button to install the quick search package if its
missing. Something like Install quick filter support in the
preferences window or even in the toolbar?


I think it would be good if instead of the missing quick search box such 
a button was displayed.


Best regards,
Andreas


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#735385: synaptic: quick search / xapian not installed by default in jessie

2014-01-16 Thread Andreas Cadhalpun

Hi Lars,

On 15.01.2014 04:33, Lars Cebulla wrote:

On a new installed Debian Jessie, I can't see the quick search input field in
synaptic.

After searching on the internet, I've found a solution:

apt-get install apt-xapian-index
update-apt-xapian-index

http://debianforum.de/forum/viewtopic.php?f=12t=144140

This should be done by default !


I agree that this should be the default, since the normal search is not 
really an alternative. But I fear that this will not happen, because it 
was explicitly reduced to a Suggests from a Recommends due to 
performance problems on low end hardware, see [1].


Best regards,
Andreas


1: https://bugs.launchpad.net/ubuntu/+source/synaptic/+bug/798437


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#735385: synaptic: quick search / xapian not installed by default in jessie

2014-01-14 Thread Lars Cebulla
Package: synaptic
Version: 0.80.4
Severity: important

On a new installed Debian Jessie, I can't see the quick search input field in
synaptic.

After searching on the internet, I've found a solution:

apt-get install apt-xapian-index
update-apt-xapian-index

http://debianforum.de/forum/viewtopic.php?f=12t=144140

This should be done by default !



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

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

Versions of packages synaptic depends on:
ii  hicolor-icon-theme   0.13-1
ii  libapt-inst1.5   0.9.14.2
ii  libapt-pkg4.12   0.9.14.2
ii  libatk1.0-0  2.10.0-2
ii  libc62.17-97
ii  libcairo-gobject21.12.16-2
ii  libcairo21.12.16-2
ii  libept1.4.12 1.0.12
ii  libgcc1  1:4.8.2-12
ii  libgdk-pixbuf2.0-0   2.28.2-1+b1
ii  libglib2.0-0 2.36.4-1
ii  libgtk-3-0   3.8.6-1
ii  libpango-1.0-0   1.36.0-1+b1
ii  libpangocairo-1.0-0  1.36.0-1+b1
ii  libstdc++6   4.8.2-12
ii  libvte-2.90-91:0.34.9-1
ii  libx11-6 2:1.6.2-1
ii  libxapian22  1.2.16-2
ii  libxext6 2:1.3.2-1
ii  zlib1g   1:1.2.8.dfsg-1

Versions of packages synaptic recommends:
ii  gksu   2.0.2-6
ii  libgtk2-perl   2:1.248-1
ii  policykit-10.105-4
ii  rarian-compat  0.8.1-5

Versions of packages synaptic suggests:
pn  apt-xapian-index none
pn  deborphannone
pn  dwww none
ii  menu 2.1.46
pn  software-properties-gtk  none
ii  tasksel  3.18

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org