Description: On pc Debian x86-64 with master sources updated I got a assertion when putting back initial value in a form entry. Steps to Reproduce: 1. Retrieve https://bugs.documentfoundation.org/attachment.cgi?id=170164 from tdf#140749 2. Launch file 3. Right click on the formular "Teilnehmer" -> Edit 4. In the lower section right click in "Sportart". Click on "column ..." 5. Choose "Data" - and in the middle change the type from "SQL" to "anything else/value list/SQL native/Query". 5. Choose "Data" again and select again "SQL" Actual Results: Assertion Expected Results: No assertion Reproducible: Always User Profile Reset: Yes Additional Info: Version: 7.3.0.0.alpha0+ / LibreOffice Community Build ID: 633e8c98cbcf8f41b8f8394a5e1f396bf6f7138f CPU threads: 12; OS: Linux 5.14; UI render: default; VCL: gtk3 Locale: fr-FR (fr_FR.UTF-8); UI: en-GB Calc: threaded
Created attachment 175617 [details] bt with debug symbols
Caolán: since it's vcl related and that you had already modified the assertion, thought you might be interested in this one.
I don't know if it's related but another thing I noticed is just when opening the form is: warn:legacy.osl:21944:21944:svl/source/items/poolitem.cxx:610: There is no implementation for QueryValue for this item! #0 SfxPoolItem::QueryValue(com::sun::star::uno::Any&, unsigned char) const (this=0x77737c0) at svl/source/items/poolitem.cxx:610 #1 0x00007fd4fd2eeaea in SfxDispatchController_Impl::StateChanged(unsigned short, SfxItemState, SfxPoolItem const*, SfxSlotServer const*) (this= 0x3f1b8f0, nSID=10636, eState=SfxItemState::DEFAULT, pState=0x77737c0, pSlotServ=0x77fb868) at sfx2/source/control/unoctitm.cxx:867 #2 0x00007fd4fd27049f in SfxStateCache::SetState_Impl(SfxItemState, SfxPoolItem const*, bool) (this=0x77fb840, eState=SfxItemState::DEFAULT, pState=0x77737c0, bMaybeDirty=false) at sfx2/source/control/statcach.cxx:429 #3 0x00007fd4fd270171 in SfxStateCache::SetState(SfxItemState, SfxPoolItem const*, bool) (this=0x77fb840, eState=SfxItemState::DEFAULT, pState=0x77737c0, bMaybeDirty=false) at sfx2/source/control/statcach.cxx:326 #4 0x00007fd4fd1de9ba in SfxBindings::UpdateControllers_Impl(SfxFoundCache_Impl const&, SfxPoolItem const*, SfxItemState) (rFound=..., pItem=0x77737c0, eState=SfxItemState::SET) at sfx2/source/control/bindings.cxx:1214 #5 0x00007fd4fd1ddf80 in SfxBindings::Update_Impl(SfxStateCache&) (this=0x783a500, rCache=...) at sfx2/source/control/bindings.cxx:270 #6 0x00007fd4fd1df782 in SfxBindings::NextJob_Impl(Timer const*) (this=0x783a500, pTimer=0x783a618) at sfx2/source/control/bindings.cxx:1274 #7 0x00007fd4fd1e3c7d in SfxBindings::NextJob(Timer*) (this=0x783a500, pTimer=0x783a618) at sfx2/source/control/bindings.cxx:1219 #8 0x00007fd4fd1dc2e0 in SfxBindings::LinkStubNextJob(void*, Timer*) (instance=0x783a500, data=0x783a618) at sfx2/source/control/bindings.cxx:1217 #9 0x00007fd4f8680778 in Link<Timer*, void>::Call(Timer*) const (this=0x783a638, data=0x783a618) at include/tools/link.hxx:111 #10 0x00007fd4f86805b5 in Timer::Invoke() (this=0x783a618) at vcl/source/app/timer.cxx:75 #11 0x00007fd4f8621e80 in Scheduler::CallbackTaskScheduling() () at vcl/source/app/scheduler.cxx:471
Caolán McNamara committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/8fb4889840a6c79f6bad7bb7a322d86b751cdd93 Related: tdf#145033 don't print "There is no implementation..." warning It will be available in 7.3.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Caolán McNamara committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/83cadf937ff9a0fd4ca24627673d45d1bab8c914 tdf#145033 remove old focus handler so no double-connect attempt is made It will be available in 7.3.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
I confirm I don't reproduce the bug now after having updated local sources. Thank you Caolán!
Caolán McNamara committed a patch related to this issue. It has been pushed to "libreoffice-7-2": https://git.libreoffice.org/core/commit/61ef0a842b42ac998a533e8e1ba1e00e02cd973d tdf#145033 remove old focus handler so no double-connect attempt is made It will be available in 7.2.3. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.