<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>439268</bug_id>
          
          <creation_ts>2021-06-28 17:05:15 +0000</creation_ts>
          <short_desc>Typing text in the search bar sends data although suggestions are disabled</short_desc>
          <delta_ts>2022-10-18 20:43:03 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>Falkon</product>
          <component>general</component>
          <version>3.1.0</version>
          <rep_platform>FreeBSD Ports</rep_platform>
          <op_sys>FreeBSD</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="bsduck">bsduck</reporter>
          <assigned_to name="David Rosca">nowrep</assigned_to>
          <cc>jurajoravec</cc>
          
          <cf_commitlink>https://invent.kde.org/network/falkon/commit/f5bbdf24e178a7b97cceed27718da96a85629834</cf_commitlink>
          <cf_versionfixedin>22.08.2</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2044062</commentid>
    <comment_count>0</comment_count>
    <who name="bsduck">bsduck</who>
    <bug_when>2021-06-28 17:05:15 +0000</bug_when>
    <thetext>SUMMARY
With automatic suggestions disabled, typing text in a search bar should not send any data to the search engine before the search is actually launched (by pressing the Enter key or clicking on the search icon). This works as expected when performing searches from the URL bar. Unfortunately, this isn&apos;t the case with the dedicated search bar, which will invariably send data whenever you type something in it, be suggestions enabled or not.

STEPS TO REPRODUCE
1. Disable suggestions in the search bar
2. Monitor network traffic with e.g. Wireshark
3. Type some text in the search bar

OBSERVED RESULT
Data is sent to the search engine.

EXPECTED RESULT
Nothing should happen.

SOFTWARE/OS VERSIONS
Falkon 3.1.0
Qt 5.15.2
FreeBSD 13.0</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2145309</commentid>
    <comment_count>1</comment_count>
    <who name="Juraj">jurajoravec</who>
    <bug_when>2022-08-12 04:59:55 +0000</bug_when>
    <thetext>Confirmed.
The suggestions from search engine are JUST not displayed while the search engine is always being contacted.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2151666</commentid>
    <comment_count>2</comment_count>
    <who name="Juraj">jurajoravec</who>
    <bug_when>2022-09-10 09:39:24 +0000</bug_when>
    <thetext>Git commit f5350dbe41cc4c6dfc513b7d50a09b8099d1fa2e by Juraj Oravec.
Committed on 10/09/2022 at 09:10.
Pushed by jurajo into branch &apos;master&apos;.

Searchbar: Fix show suggestions handling

Do not contact search engine when suggestions are disabled.

Signed-off-by: Juraj Oravec &lt;jurajoravec@mailo.com&gt;

M  +13   -2    src/lib/navigation/websearchbar.cpp
M  +2    -0    src/lib/navigation/websearchbar.h

https://invent.kde.org/network/falkon/commit/f5350dbe41cc4c6dfc513b7d50a09b8099d1fa2e</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2151667</commentid>
    <comment_count>3</comment_count>
    <who name="Juraj">jurajoravec</who>
    <bug_when>2022-09-10 09:42:58 +0000</bug_when>
    <thetext>Git commit f5bbdf24e178a7b97cceed27718da96a85629834 by Juraj Oravec.
Committed on 10/09/2022 at 09:42.
Pushed by jurajo into branch &apos;release/22.08&apos;.

Searchbar: Fix show suggestions handling

Do not contact search engine when suggestions are disabled.

Signed-off-by: Juraj Oravec &lt;jurajoravec@mailo.com&gt;

M  +13   -2    src/lib/navigation/websearchbar.cpp
M  +2    -0    src/lib/navigation/websearchbar.h

https://invent.kde.org/network/falkon/commit/f5bbdf24e178a7b97cceed27718da96a85629834</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2162824</commentid>
    <comment_count>4</comment_count>
    <who name="bsduck">bsduck</who>
    <bug_when>2022-10-18 20:43:03 +0000</bug_when>
    <thetext>Thank you Juraj for fixing!</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>