[Libreoffice-bugs] [Bug 115718] Can't erase text in watch text box macro IDE (KDE4)

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Jun 15 15:12:48 UTC 2018


https://bugs.documentfoundation.org/show_bug.cgi?id=115718

--- Comment #9 from Alex Kempshall <mcmurchy1917-bugzilla at yahoo.co.uk> ---
The commit that caused this problem, with the Watch edit box, was introduced
about 18 months ago.

No other edit box seems to have been effected. Well can't find any similar bug
reports, which would suggest the problem is with how this particular EditBox is
created.

A lot of forms/pages seem to have been migrated to something called Weld. Don't
know what that is.

Anyway, this patch seems to work for me -

diff --git a/basctl/source/basicide/baside2b.cxx
b/basctl/source/basicide/baside2b.cxx
index 6b97f30409e7..b3aa6121d9c3 100644
--- a/basctl/source/basicide/baside2b.cxx
+++ b/basctl/source/basicide/baside2b.cxx
@@ -1542,7 +1542,7 @@ namespace
 WatchWindow::WatchWindow (Layout* pParent)
     : DockingWindow(pParent)
     , aWatchStr(IDEResId( RID_STR_REMOVEWATCH))
-    , aXEdit(VclPtr<ExtendedEdit>::Create(this, WB_BORDER | WB_3DLOOK))
+    , aXEdit(VclPtr<ExtendedEdit>::Create(this, WB_3DLOOK ))
     , aRemoveWatchButton(VclPtr<ImageButton>::Create(this, WB_SMALLSTYLE))
     , aTreeListBox(VclPtr<WatchTreeListBox>::Create(this, WB_BORDER |
WB_3DLOOK | WB_HASBUTTONS |
                                                           WB_HASLINES |
WB_HSCROLL | WB_TABSTOP |
lines 1-13/13 (END)


I will submit the patch during week commencing 18th June 2018, unless that is
anyone can come up with a better suggestion.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20180615/8f6e724a/attachment.html>


More information about the Libreoffice-bugs mailing list