Bug 369138 - Search & Replace Plugin: Regex no longer available
Summary: Search & Replace Plugin: Regex no longer available
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: search (show other bugs)
Version: 16.08
Platform: Fedora RPMs Linux
: NOR major
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-21 04:43 UTC by daobrien
Modified: 2018-08-15 09:34 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: Kate 18.12


Attachments
Image of missing buttons (15.65 KB, image/png)
2017-02-16 01:20 UTC, daobrien
Details

Note You need to log in before you can comment on or make changes to this bug.
Description daobrien 2016-09-21 04:43:11 UTC
I'm on F24 and ran dnf update yesterday and now I can't discover what's happened to the regular expression search. Neither can I find case-sensitive search. Did I miss something? I use this constantly, every day, for work. It exists and works fine in 15.12.3 on F23 but I can't use that any more.

Reproducible: Always

Steps to Reproduce:
1. Install kate and all the usual plug-ins
2. Open Search and Replace pane
3. Look for "Regular Expressions" and "Match case" check boxes

Actual Results:  
"Regular Expressions" and "Match case" check boxes absent. No visible way to perform these searches.

Expected Results:  
Should have displayed my fav search/replace tool :)

The ability to use regexes and case-sensitive search, with multiple/global replace over entire dir trees and lists of files is a major part of what I do as an editor. If I were a coder I'd help fix or port or whatever. Maybe I can review a man page or something? Help?
Comment 1 daobrien 2016-09-21 05:08:35 UTC
Version 16.04.3 on Fedora 24 has this feature available. The kate packages seem to be the same, so there must be something else at play.

Working versions on 16.04.3:
kate-16.08.1-1.fc24.x86_64
kate4-part-4.14.3-16.fc24.x86_64
kate-plugins-16.08.1-1.fc24.x86_64

KDE Frameworks 5.25.0
Qt 5.6.1 (built against 5.6.1)
The xcb windowing system


The "broken" version16.08.1 :
kate4-part-4.14.3-16.fc24.x86_64
kate-16.08.1-1.fc24.x86_64
kate-plugins-16.08.1-1.fc24.x86_64


KDE Frameworks 5.26.0
Qt 5.6.1 (built against 5.6.1)
The xcb windowing system
Comment 2 daobrien 2016-09-21 05:58:55 UTC
I ran this:
yum downgrade kate --allowerasing

Running transaction
  Downgrading : kate-16.04.1-1.fc24.x86_64                                                                                     1/4
  Downgrading : kate-plugins-16.04.1-1.fc24.x86_64                                                                             2/4
  Erasing     : kate-plugins-16.08.1-1.fc24.x86_64                                                                             3/4
  Erasing     : kate-16.08.1-1.fc24.x86_64                                                                                     4/4
  Verifying   : kate-16.04.1-1.fc24.x86_64                                                                                     1/4
  Verifying   : kate-plugins-16.04.1-1.fc24.x86_64                                                                             2/4
  Verifying   : kate-16.08.1-1.fc24.x86_64                                                                                     3/4
  Verifying   : kate-plugins-16.08.1-1.fc24.x86_64                                                                             4/4

Downgraded:
  kate.x86_64 16.04.1-1.fc24                                   kate-plugins.x86_64 16.04.1-1.fc24

Complete!

I now have regex, case sensitive search, and all my faves back~! :)
Comment 3 Nikolaos Kakouros 2017-02-16 00:50:07 UTC
Maybe there was a problem with those packages? Is it resolved?
Comment 4 daobrien 2017-02-16 01:11:05 UTC
Current packages:

$ rpm -qa | grep -i kate
kate4-part-4.14.3-16.fc24.x86_64
libkate-0.4.1-7.fc24.x86_64
kate-16.08.3-1.fc24.x86_64
kate-plugins-16.08.3-1.fc24.x86_64
perl-Syntax-Highlight-Engine-Kate-0.10-2.fc24.noarch

The regex and case-sensitive search options now appear as buttons, not check boxes. I forgot to update the bug, sorry.

But (and probably unrelated) the buttons have no labels or icons, although they do have tooltips. These and some other buttons (e.g., the button to hide the search bar) are completely invisible until you mouse over them. I found them by accident.


I'm running Kate on top of gnome, so maybe there are some required packages missing?
Comment 5 daobrien 2017-02-16 01:20:01 UTC
Created attachment 104047 [details]
Image of missing buttons

Screen shot of where the buttons are. Visible when enabled, but otherwise completely invisible.
Comment 6 Nikolaos Kakouros 2017-02-16 01:43:53 UTC
The buttons do have icons. I cant help on why gnome cant find them, sorry!
Comment 7 daobrien 2017-02-16 01:51:44 UTC
When I get the opportunity I'll try using KDE and see what happens.
Thanks for looking.
Comment 8 daobrien 2017-02-16 05:17:54 UTC
I tried this on several different desktops/window managers (Gnome, Gnome Classic, xfce) and it only works when I use the KDE desktop. Then I see the icons. In all other cases the buttons are invisible when off.
Comment 9 Kåre Särs 2017-02-16 07:14:43 UTC
I think this might be a problem with iconsets. If you select Breeze or Oxygen in Gnome it probably will work there too, but this is a problem that does need a fix.
Comment 10 Kåre Särs 2018-08-15 09:34:48 UTC
I have now added workaround icons in case the preferred ones are missing.