Package Details: gtk3-typeahead 3.24.34-1

Git Clone URL: https://aur.archlinux.org/gtk3-typeahead.git (read-only, click to copy)
Package Base: gtk3-typeahead
Description: GObject-based multi-platform GUI toolkit - Typeahead feature enabled for file chooser widget
Upstream URL: https://www.gtk.org/
Licenses: LGPL
Conflicts: gtk3, gtk3-print-backends
Provides: gtk3, gtk3-print-backends, libgailutil-3.so, libgdk-3.so, libgtk-3.so
Replaces: gtk3-print-backends
Submitter: twilinx
Maintainer: None
Last Packager: yochananmarqos
Votes: 35
Popularity: 0.000001
First Submitted: 2015-04-26 19:47 (UTC)
Last Updated: 2022-05-18 23:52 (UTC)

Required by (3143)

Sources (3)

Latest Comments

yochananmarqos commented on 2021-03-16 14:15 (UTC)

@zootboy: Oops. Fixed.

zootboy commented on 2021-03-16 06:31 (UTC)

Looks like there's a stray backslash (or a missing newline) in the PKGBUILD at line 50.

yochananmarqos commented on 2021-01-11 11:11 (UTC) (edited on 2021-02-13 00:07 (UTC) by yochananmarqos)

@chrisbillington: Some AUR maintainers keep all their packages in their own git repo and add each of them to the AUR as a git remote as outlined in the AUR submission guidelines. I never ended up doing that myself. I keep my AUR packages separate and initialize each one directly. That way I can remember which packages I maintain. The PKGBUILDs in my git repo are in a separate folder.

chrisjbillington commented on 2021-01-11 09:13 (UTC)

@Hunman Oh I had no trouble getting and building it, I'm just wondering how @yochananmarqos manages the repo structure for his own purposes.

Hunman commented on 2021-01-11 09:04 (UTC)

@yochananmarqos That fixed it for me, thank you.

@chrisjbillington Might not be the proper method, but I got the PKGBUILD file from that repo (into $HOME/.cache/yay/gtk3-typeahead), then ran makepkg -si to install it.

chrisjbillington commented on 2021-01-11 08:56 (UTC)

Much appreciated, @yochananmarqos.

Off topic, but how do you manage your PKGBUILDs in a single git repo, given that each one needs to be its own git repo on the AUR?

yochananmarqos commented on 2021-01-11 02:04 (UTC)

@chrisjbillington: Use my updated PKGBUILD.

chrisjbillington commented on 2021-01-10 23:54 (UTC)

This package now has conflicting files with gtk-update-icon-cache:

error: failed to commit transaction (conflicting files)
gtk-update-icon-cache: /usr/share/man/man1/gtk-update-icon-cache.1.gz exists in filesystem (owned by gtk3-typeahead)

yochananmarqos commented on 2021-01-10 21:39 (UTC)

@twilinx: Are you planning on maintaining this or not?

twilinx commented on 2020-03-31 07:14 (UTC)

I just updated this package to version 3.24.16. However, when querying version information from GTK, it will report still being on version 3.24.14. Again, this is because the GTK developers simply forgot to update the version information in meson.build, since the meson build is still not considered perfectly stable. But this AUR package will build 3.24.16!

milek7 commented on 2019-11-28 14:58 (UTC)

@zxcv: removing whole first hunk from typeahead.patch fixes that issue

zxcv commented on 2019-10-29 19:35 (UTC)

When using this version of gtk3 I have got a bug: 1. Try to use save dialog 2. Type something and use alt-right to input local char 3. Input focus is moved to search dialog box This prevents one from using local chars in save/open dialog

arigo commented on 2019-10-26 17:07 (UTC) (edited on 2019-10-26 17:09 (UTC) by arigo)

A minor note for people who don't want to go to the trouble of downloading and compiling this big package: the current GTK3 dialogs will at least revert to a sane default if you type a path instead of a name. So type "./ABC" to search and auto-complete files that start with "ABC". Also works with "/full/path". Just remember never to type "ABC" without the "./" prefix. (In fact you can also type "." and remove it immediately, if backspace is more convenient to reach than "/".)

twilinx commented on 2019-09-08 10:03 (UTC)

I just updated this package to version 3.24.11. However, when querying version information from GTK, it will report still being version 3.24.10. This is because the GTK developers forgot to update the version information at one place, they changed this only yesterday (70c4b66d99f66b9da27ded63f2c26e3c13ce07f8). However, to be consistent with the official Archlinux GTK package, I decided not to skip ahead to this newer commit just now.

twilinx commented on 2019-04-26 20:33 (UTC)

Yes, for me this certainly works on Gnome 3.32 without any freezes or similar. Also, I just updated this to GTK+ 3.24.8.

chrisjbillington commented on 2019-04-22 05:31 (UTC)

As one datapoint, it is working for me with Gnome 3.32. Tested with Sublime and Firefox save-as dialogs.

electricprism commented on 2019-04-22 00:23 (UTC)

Is this working with Gnome 3.32? I am getting major freezes when opening the Save As, or Open dialogs in Sublime, Firefox and other apps.

yochananmarqos commented on 2019-03-19 15:15 (UTC) (edited on 2019-03-19 15:16 (UTC) by yochananmarqos)

As of 3.24.7-1, fribidi was added as a dependency.

electricprism commented on 2019-01-18 04:36 (UTC) (edited on 2019-01-18 04:50 (UTC) by electricprism)

Looks like it might be time to bump this package since gtk3 3.24.3-1 is out

PKGBUILD https://ptpb.pw/pkbc for 3.24.3+c9d09695

twilinx commented on 2018-04-01 19:16 (UTC)

@aphirst: Yes, obviously. Upstream removed libcloudproviders from the repositories: https://www.archlinux.org/packages/extra/x86_64/libcloudproviders/

I have updated the PKGBUILD accordingly to match the upstream gtk3 PKGBUILD, so it should work now.

aphirst commented on 2018-04-01 18:18 (UTC)

Something's obviously up with the dependencies.

==> Installing missing dependencies... error: target not found: libcloudproviders

electricprism commented on 2018-03-13 20:31 (UTC) (edited on 2018-03-13 20:32 (UTC) by electricprism)

Wouldn't it make more sense for this to be named "file-chooser-typeahead-gtk3"

sleeping commented on 2018-03-11 21:35 (UTC)

fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists.

diggit commented on 2018-01-04 23:47 (UTC)

Hi, please remove hardcoded parallel job count (make -j4) https://wiki.archlinux.org/index.php/makepkg#Parallel_compilation

env variable MAKEFLAGS is used to specify parallel job count (any other options) by user

sleeping commented on 2017-12-18 09:57 (UTC) (edited on 2017-12-18 10:07 (UTC) by sleeping)

Failed too build unfortunately: https://bpaste.net/show/f6bba874f3a5

Related: https://bugs.archlinux.org/task/55915

I was able to build it after removing /bin from PATH (not sure how it got there).

Gruentee commented on 2017-09-14 07:30 (UTC)

@twilinx: Thanks! Works great now :)

twilinx commented on 2017-09-10 07:31 (UTC)

I updated the package to GTK+ 3.22.19 and applied a patch similar to what vladimir.pinchuk suggested, this might fix your issue, @Gruentee (can't see that for myself though since I can't reproduce the problem). Could you please check if the bug still occurs for you?

Gruentee commented on 2017-09-07 18:22 (UTC)

Could someone please add the mentioned changes to a patch file?

Isengrin commented on 2017-09-07 08:25 (UTC)

twilinx's fix does indeed the job. Thank you.

hel commented on 2017-05-16 13:53 (UTC)

I had the same problem as Gruentee (it appeared for the "save a copy" dialogue in the atril/evince pdf viewer). The solution proposed by twilinx worked for me.

Gruentee commented on 2017-05-16 07:54 (UTC)

@twilinx: I'm not sure which file to edit or how to alter the patch file to do that. Also, regarding the wording confusion, I can confirm that typeahead gets activated, because the typical entry at the right bottom of the dialog appears.

twilinx commented on 2017-05-14 17:44 (UTC)

@Gruentee: So this is going to be hard for me to debug… Could you maybe try to see if vladimir.pinchuk's "dirty fix proposal" below works for you? If it does, could you try and see if you can make the fix less dirty, e.g. is it also enough to do something like: if (!event->is_modifier) { gtk_widget_grab_focus (priv->browse_files_tree_view); gboolean ret; g_signal_emit_by_name (priv->browse_files_tree_view, "key-press-event", event, &ret); } Also, can you confirm that typeahead (only searches the current directory, what this package restores) and not search-as-you-type (searches recursively, the thing that annoys you if you install this package) gets activated? Just to make sure that we're not confusing terminology here, because I totally confused those terms that in the past ;)

Gruentee commented on 2017-05-14 17:35 (UTC)

@twilinx: Thanks for the quick response. The exact process you described fails for me when pressing either CTRL or Shift key: focus immediately switches from the filename entry to the folder listing.

twilinx commented on 2017-05-14 17:29 (UTC)

@Bachsau, @vladimir.pinchuk, @Gruentee: I am struggling to reproduce the issue you mention, I don't seem to understand where the problem is. Could you please give a more detailed description? I'm trying to reproduce it by opening gedit, hitting Ctrl+S and then typing something with the Shift key pressed. For me, the text is displayed in the filename entry at the top, which is what I would consider to be expected behaviour. Where exactly does this fail for you?

Gruentee commented on 2017-05-14 17:15 (UTC) (edited on 2017-05-14 17:15 (UTC) by Gruentee)

@Bachsau @vladimir.pinchuk I can confirm this issue, it's really annoying. I'm not able to type various special characters. Is there a fix, or a bug report?

vladimir.pinchuk commented on 2017-04-24 15:16 (UTC)

I am infamiliar with GTK+ programming, but here is my dirty fix proposal: Add if(event->is_modifier) return FALSE; before gtk_widget_grab_focus (priv->browse_files_tree_view); in gtk_file_chooser_widget_key_press_event

vladimir.pinchuk commented on 2017-04-24 14:54 (UTC)

I can confirm Bachsau's problem.

commented on 2017-04-08 19:36 (UTC)

OK, just found out this happens as soon as you press shift to type in capital letters.

commented on 2017-04-03 22:10 (UTC)

This patch has a problem with save-as dialogs. Sometimes it happens that typeahead gets activated when the folder pane is not focussed and I really want to type in a name for the file.

TomaszGasior commented on 2017-03-18 13:08 (UTC) (edited on 2017-03-18 15:50 (UTC) by TomaszGasior)

Please, add to your package patch to remove selecting by single-click from file chooser. See this: https://git.gnome.org/browse/gtk%2B/commit/?id=fb0a13b7f070a14312dafa1e4df6ba03cf33be01 It would be nice, if we would have one package that contains two patches (typeahead patch and single-click patch). ------------ Update. I created patch. Please add it to your package: http://pastebin.com/66M5fw87

lazyboy commented on 2017-01-24 21:46 (UTC)

PKGBUILD with gtk 3.22.7: http://pastebin.com/HyCv5qs0

xuiqzy commented on 2016-10-08 21:15 (UTC)

The build fails for me and google only returns very few old mac gtk3 results... :/ The end of the build log: checking for GDK_DEP... yes checking for ATK... yes checking for GTK_DEP... yes checking for library containing gethostent... none required checking for library containing setsockopt... none required checking for library containing connect... none required checking for struct sockaddr_un.sun_len... no checking for cups-config... /usr/bin/cups-config configure: error: CUPS >= 1.2 not found ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Makepkg was unable to build gtk3-typeahead. My Cups has version 2.2.1 soooo.. any ideas are appreciated :)

twilinx commented on 2016-09-23 10:34 (UTC)

I am going to wait for GTK+ 3.22 to be released for Archlinux before upgrading this, so that gtk3-typeahead will be compatibly with GNOME 3.22 when I update it eventually.

bertrandolf commented on 2016-09-23 05:48 (UTC)

Thank you for this Patch. Keep up the good Work!

Gruentee commented on 2016-05-26 20:07 (UTC) (edited on 2016-05-26 20:07 (UTC) by Gruentee)

@twilinx: Thank you very much for this patch! The new default behaviour is (was) very annoying…

twilinx commented on 2016-04-10 06:59 (UTC)

Updated to GTK+ 3.20.2, so you can now use this with GNOME 3.20.

twilinx commented on 2016-03-19 12:48 (UTC)

I just updated this to GTK+ 3.18.9 I also changed some behaviour, so that when typing while recent files are displayed or just after selecting a new folder in the menu on the left the typeahead functionality is also getting activated. Please report any issues in case you encounter some due to this change.

jplatte commented on 2016-02-18 13:09 (UTC)

Sorry for not answering for so long. I don't have this problem anymore, I probably didn't have gtk3-typeahead installed at the time and thought I had for some reason.

twilinx commented on 2016-01-14 16:38 (UTC)

I don't think it is typical to have the version in provides, but apparently neccesary in this case. I made the change you proposed. The patch still seems to work just fine for me, I usually test it with the file open dialog in gedit. Under which circumstances do you get type-to-search? How could I reproduce your problem? (This patch does NOT implement typeahead for nautilus, use nemo or nautilus-typeahead instead!)

jplatte commented on 2016-01-14 13:45 (UTC)

Is it really normal to have the version in provides? But if you want / have to keep it, I think provides=("gtk3=$pkgver") instead of provides=('gtk3=3.18.6') might be better (if it works, haven't tested but it should). Anyway, the patch isn't enough anymore! I rebuilt the package recently and that worked, but now I get type-to-search behaviour in the file chooser widget. :(

twilinx commented on 2015-10-12 19:03 (UTC)

@mank319: Seems like I forgot to add the provided version to the 'provides' array, just uploaded a fix. I must have overlooked that in the PKGBUILD specification in the Arch wiki when initially writing the PKGBUILD. I never had any problems with dependencies myself (I just installed corebird and didn't have any issues), but this change will hopefully satisfy dependencies. Thanks for reporting this bug! Does the fix work for you?

mank319 commented on 2015-10-12 18:18 (UTC)

I am not that much into PKGBUILDs, but is there a slight chance you might not have specified which particular (minimum) GTK version your package provides? I see the entry 'pkgver=3.18.1' in your PKGBUILD, but maybe there is something else to specify? Trying to install it, I receive the following error: Failed to prepare transaction (could not satisfy dependencies) :: corebird: requires gtk3>=3.14 And by the way: Thank you *so much* for providing this patch. I think I couldn't stand "search as you type" in file chooser dialogues :D

twilinx commented on 2015-10-09 17:39 (UTC)

The file chooser behaviour has slightly changed with the update to GTK+ 3.18. Typeahead still works just as you would expect. If you want to make a recursive search, you will have to click the search button on the top right. Unfortunately, typeahead hasn't made it back into GTK+ 3.18, so I will keep maintaining this package. On a related note, I really like the very nuanced, well-reasoned position of GNOME Dev Matthias that takes into account all the the pros and contras of removing any option for typeahead in an objective manner: https://bugzilla.gnome.org/show_bug.cgi?id=754302 ;) By the way: If you want typeahead, I recommend you to also use nautilus-typeahead: https://aur.archlinux.org/packages/nautilus-typeahead/

grubersjoe commented on 2015-07-21 15:31 (UTC)

You are my hero. I still can't understand why this incredible useful feature has been disabled. Thank's alot!

twilinx commented on 2015-04-27 08:14 (UTC)

Just fixed that, changed description to typeahead.

jplatte commented on 2015-04-26 22:00 (UTC)

search-as-you-type is what nautilus does (recursive search), what you mean is type-ahead. But thanks for going through finding a workaround for this problem :)