<?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>430434</bug_id>
          
          <creation_ts>2020-12-15 16:53:32 +0000</creation_ts>
          <short_desc>Crashes when opening a new tab while there&apos;s text in the search field</short_desc>
          <delta_ts>2020-12-15 21:44:30 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>dolphin</product>
          <component>bars: location</component>
          <version>20.12.0</version>
          <rep_platform>Other</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></keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Nate Graham">nate</reporter>
          <assigned_to name="Dolphin Bug Assignee">dolphin-bugs-null</assigned_to>
          <cc>dolphin-bugs-null</cc>
    
    <cc>elvis.angelaccio</cc>
          
          <cf_commitlink>https://invent.kde.org/system/dolphin/commit/c95d7fae79a309ed7f2df393fa20257cb20d54a8</cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1984599</commentid>
    <comment_count>0</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2020-12-15 16:53:32 +0000</bug_when>
    <thetext>Dolphin and all other KDE software from git master, built today.


STEPS TO REPRODUCE
1. Open a new window
2. Hit Ctrl+F to bring up the find panel
3. Type anything in the search field
4. Hit Ctrl+T to open a new tab

OBSERVED RESULT
Crash in KUrlNavigator::locationUrl():


#0  0x00007ffff7d52e6e in KUrlNavigator::locationUrl (this=0x0, historyIndex=historyIndex@entry=-1)
    at /home/nate/kde/src/kio/src/filewidgets/kurlnavigator.cpp:910
#1  0x00007ffff7f34116 in DolphinViewContainer::setSearchModeEnabled (this=0xfc16f0, 
    enabled=&lt;optimized out&gt;) at /home/nate/kde/src/dolphin/src/dolphinviewcontainer.cpp:393
#2  0x00007ffff7f358d4 in DolphinViewContainer::DolphinViewContainer (this=0xfc16f0, url=..., 
    parent=&lt;optimized out&gt;) at /home/nate/kde/src/dolphin/src/dolphinviewcontainer.cpp:188
#3  0x00007ffff7f3c031 in DolphinTabPage::createViewContainer (this=this@entry=0x10fbdc0, url=...)
    at /home/nate/kde/src/dolphin/src/dolphintabpage.cpp:432
#4  0x00007ffff7f3d00b in DolphinTabPage::DolphinTabPage (this=0x10fbdc0, primaryUrl=..., 
    secondaryUrl=..., parent=&lt;optimized out&gt;)
    at /home/nate/kde/src/dolphin/src/dolphintabpage.cpp:34
#5  0x00007ffff7f3e2c0 in DolphinTabWidget::openNewTab (this=this@entry=0x7e5e30, primaryUrl=..., 
    secondaryUrl=..., tabPlacement=tabPlacement@entry=DolphinTabWidget::AfterLastTab)
    at /home/nate/kde/src/dolphin/src/dolphintabwidget.cpp:162
#6  0x00007ffff7f3e624 in DolphinTabWidget::openNewActivatedTab (secondaryUrl=..., primaryUrl=..., 
    this=0x7e5e30) at /home/nate/kde/src/dolphin/src/dolphintabwidget.cpp:154
#7  DolphinTabWidget::openNewActivatedTab (this=0x7e5e30)
    at /home/nate/kde/src/dolphin/src/dolphintabwidget.cpp:139
#8  0x00007ffff5cf1866 in QtPrivate::QSlotObjectBase::call (a=0x7fffffffcb30, r=0x51df20, 
    this=0x915650) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#9  doActivate&lt;false&gt; (sender=0x7cec80, signal_index=4, argv=argv@entry=0x7fffffffcb30)
    at kernel/qobject.cpp:3886
#10 0x00007ffff5ceabc0 in QMetaObject::activate (sender=sender@entry=0x7cec80, 
    m=m@entry=0x7ffff6df90a0 &lt;QAction::staticMetaObject&gt;, 
    local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fffffffcb30)
    at kernel/qobject.cpp:3946
#11 0x00007ffff68fbf12 in QAction::triggered (this=this@entry=0x7cec80, _t1=&lt;optimized out&gt;)
    at .moc/moc_qaction.cpp:376
#12 0x00007ffff68fe751 in QAction::activate (this=0x7cec80, event=event@entry=QAction::Trigger)
    at kernel/qaction.cpp:1161
#13 0x00007ffff68ff317 in QAction::event (e=&lt;optimized out&gt;, this=&lt;optimized out&gt;)
    at kernel/qaction.cpp:1086
#14 QAction::event (this=&lt;optimized out&gt;, e=&lt;optimized out&gt;) at kernel/qaction.cpp:1075
#15 0x00007ffff690250f in QApplicationPrivate::notify_helper (this=&lt;optimized out&gt;, 
    receiver=0x7cec80, e=0x7fffffffcd10) at kernel/qapplication.cpp:3632
#16 0x00007ffff5cbb28a in QCoreApplication::notifyInternal2 (receiver=0x7cec80, 
    event=0x7fffffffcd10) at kernel/qcoreapplication.cpp:1063
#17 0x00007ffff61ee30b in QShortcutMap::dispatchEvent (this=this@entry=0x453c18, 
    e=e@entry=0x7fffffffcdd0) at kernel/qshortcutmap.cpp:675
#18 0x00007ffff61eeccb in QShortcutMap::tryShortcut (this=this@entry=0x453c18, 
    e=e@entry=0x7fffffffcdd0) at kernel/qshortcutmap.cpp:343
#19 0x00007ffff61982be in QWindowSystemInterface::handleShortcutEvent (window=0x7fffffffcdd0, 
    timestamp=7817276, keyCode=84, modifiers=..., nativeScanCode=28, nativeVirtualKey=116, 
    nativeModifiers=4, text=..., autorepeat=false, count=1)
    at kernel/qwindowsysteminterface.cpp:477
#20 0x00007ffff61baabb in QGuiApplicationPrivate::processKeyEvent (e=0x7fffffffcf70)
    at kernel/qguiapplication.cpp:2395
#21 0x00007ffff0df06b8 in QIBusPlatformInputContext::filterEventFinished (this=&lt;optimized out&gt;, 
    call=0xfff420) at qibusplatforminputcontext.cpp:517
#22 0x00007ffff5cf1866 in QtPrivate::QSlotObjectBase::call (a=0x7fffffffd110, r=0x533040, 
--Type &lt;RET&gt; for more, q to quit, c to continue without paging--
    this=0xde4530) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#23 doActivate&lt;false&gt; (sender=0xfff420, signal_index=3, argv=argv@entry=0x7fffffffd110)
    at kernel/qobject.cpp:3886
#24 0x00007ffff5ceabc0 in QMetaObject::activate (sender=&lt;optimized out&gt;, 
    m=m@entry=0x7ffff6f4d5c0 &lt;QDBusPendingCallWatcher::staticMetaObject&gt;, 
    local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fffffffd110)
    at kernel/qobject.cpp:3946
#25 0x00007ffff6f2d92f in QDBusPendingCallWatcher::finished (this=&lt;optimized out&gt;, 
    _t1=&lt;optimized out&gt;) at .moc/moc_qdbuspendingcall.cpp:158
#26 0x00007ffff5ce72b1 in QObject::event (this=0xfff420, e=0x14f75d0) at kernel/qobject.cpp:1314
#27 0x00007ffff690250f in QApplicationPrivate::notify_helper (this=&lt;optimized out&gt;, 
    receiver=0xfff420, e=0x14f75d0) at kernel/qapplication.cpp:3632
#28 0x00007ffff5cbb28a in QCoreApplication::notifyInternal2 (receiver=0xfff420, event=0x14f75d0)
    at kernel/qcoreapplication.cpp:1063
#29 0x00007ffff5cbdcc1 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, 
    data=0x439e20) at kernel/qcoreapplication.cpp:1817
#30 0x00007ffff5d13153 in postEventSourceDispatch (s=s@entry=0x51adc0)
    at kernel/qeventdispatcher_glib.cpp:277
#31 0x00007ffff3c55cf7 in g_main_dispatch (context=0x7fffec005000) at ../glib/gmain.c:3325
#32 g_main_context_dispatch (context=0x7fffec005000) at ../glib/gmain.c:4043
#33 0x00007ffff3c56078 in g_main_context_iterate (context=context@entry=0x7fffec005000, 
    block=block@entry=1, dispatch=dispatch@entry=1, self=&lt;optimized out&gt;) at ../glib/gmain.c:4119
#34 0x00007ffff3c5612f in g_main_context_iteration (context=0x7fffec005000, 
    may_block=may_block@entry=1) at ../glib/gmain.c:4184
#35 0x00007ffff5d127df in QEventDispatcherGlib::processEvents (this=0x532b80, flags=...)
    at kernel/qeventdispatcher_glib.cpp:423
#36 0x00007ffff5cb9c4b in QEventLoop::exec (this=this@entry=0x7fffffffd4e0, flags=..., 
    flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#37 0x00007ffff5cc1ec0 in QCoreApplication::exec ()
    at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#38 0x00007ffff61b21bc in QGuiApplication::exec () at kernel/qguiapplication.cpp:1867
#39 0x00007ffff6902485 in QApplication::exec () at kernel/qapplication.cpp:2824
#40 0x00007ffff7f20918 in kdemain (argc=&lt;optimized out&gt;, argv=&lt;optimized out&gt;)
    at /home/nate/kde/src/dolphin/src/main.cpp:222
#41 0x00007ffff54fd152 in __libc_start_main (main=0x401040 &lt;main&gt;, argc=1, argv=0x7fffffffd798, 
    init=&lt;optimized out&gt;, fini=&lt;optimized out&gt;, rtld_fini=&lt;optimized out&gt;, 
    stack_end=0x7fffffffd788) at ../csu/libc-start.c:314
#42 0x000000000040107e in _start () at ../sysdeps/x86_64/start.S:120</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1984688</commentid>
    <comment_count>1</comment_count>
    <who name="Elvis Angelaccio">elvis.angelaccio</who>
    <bug_when>2020-12-15 21:44:04 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 429628 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1984690</commentid>
    <comment_count>2</comment_count>
    <who name="Elvis Angelaccio">elvis.angelaccio</who>
    <bug_when>2020-12-15 21:44:30 +0000</bug_when>
    <thetext>Git commit c95d7fae79a309ed7f2df393fa20257cb20d54a8 by Elvis Angelaccio, on behalf of Anthony Fieroni.
Committed on 15/12/2020 at 21:44.
Pushed by elvisangelaccio into branch &apos;release/20.12&apos;.

Fix access url navigator while creating new tab in filename search view
Related: bug 429628

Signed-off-by: Anthony Fieroni &lt;bvbfan@abv.bg&gt;

M  +1    -1    src/dolphinviewcontainer.cpp

https://invent.kde.org/system/dolphin/commit/c95d7fae79a309ed7f2df393fa20257cb20d54a8</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>