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

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>295967</bug_id>
          
          <creation_ts>2025-07-15 00:24:10 -0700</creation_ts>
          <short_desc>[WPE][Qt6] WPE Mini Browser doesn&apos;t handle user input URLs according to WPEView API documentation</short_desc>
          <delta_ts>2025-07-24 23:36:15 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>New Bugs</component>
          <version>WebKit Local Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Qing-wu.Li@leica-geosystems.com.cn">Qing-wu.Li</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2130109</commentid>
    <comment_count>0</comment_count>
    <who name="Qing-wu.Li@leica-geosystems.com.cn">Qing-wu.Li</who>
    <bug_when>2025-07-15 00:24:10 -0700</bug_when>
    <thetext>https://github.com/WebKit/WebKit/blob/4fa98a51e419fa0e98420fb87d6cdce44c7ff726/Source/WebKit/UIProcess/API/wpe/qt5/WPEQtView.cpp#L226


The Qt6 WPE mini browser application fails to properly parse user-entered URLs using QUrl::fromUserInput() as recommended by the WPEView API documentation, resulting in limited URL input support.

Description
According to the WPEView API documentation in Source/WebKit/UIProcess/API/wpe/qt5/WPEQtView.cpp, function WPEQtView::setUrl.

However, the current Qt6 WPE mini browser implementation in main.cpp and main.qml does not follow this guideline. The application directly passes user input to WPEView.url without calling QUrl::fromUserInput() for preprocessing.

Impact
This causes several usability issues:

Users cannot enter incomplete URLs.
Local file paths may not be handled correctly.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2132446</commentid>
    <comment_count>1</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2025-07-24 23:35:07 -0700</bug_when>
    <thetext>Committed 297852@main (3475db04463b): &lt;https://commits.webkit.org/297852@main&gt;

Reviewed commits have been landed. Closing PR #48039 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2132447</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2025-07-24 23:36:15 -0700</bug_when>
    <thetext>&lt;rdar://problem/156674165&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>