Bug 75430

Summary: sdk: RemoveTextContent has no effect on input field
Product: LibreOffice Reporter: gma
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED INSUFFICIENTDATA    
Severity: normal CC: jbfaure, jmadero.dev, robinson.libreoffice
Priority: medium Keywords: needsDevAdvice
Version: 4.2.1.1 release   
Hardware: Other   
OS: Windows (All)   
Whiteboard:
Crash report or crash signature: Regression By:

Description gma 2014-02-24 10:21:07 UTC
XText.RemoveTextContent(com.sun.star.text.TextField.Input) has no effect.

But with com.sun.star.text.TextField.User it works fine.

Example in Basic:

  dim Field as object
  Field = ThisComponent.createInstance("com.sun.star.text.TextField.Input")
  Field.Hint = "Field1"
  Field.Content = "Field1"
  ThisComponent.getText.InsertTextContent(ThisComponent.getText.createTextCursor, Field, True)
  Field.getAnchor.getText.RemoveTextContent(Field)
Comment 1 Jean-Baptiste Faure 2015-08-01 18:56:27 UTC
Please, attach a test document and instructions explaining how to reproduce the problem, what happens and what is expected.

Best regards. JBF
Comment 2 Robinson Tryon (qubit) 2015-12-10 10:18:33 UTC Comment hidden (obsolete)
Comment 3 Xisco Faulí 2016-09-11 21:09:15 UTC Comment hidden (obsolete)
Comment 4 Xisco Faulí 2016-10-10 11:14:04 UTC
Dear Bug Submitter,

Please read this message in its entirety before proceeding.

Your bug report is being closed as INSUFFICIENTDATA due to inactivity and
a lack of information which is needed in order to accurately
reproduce and confirm the problem. We encourage you to retest
your bug against the latest release. If the issue is still
present in the latest stable release, we need the following
information (please ignore any that you've already provided):

a) Provide details of your system including your operating
   system and the latest version of LibreOffice that you have
   confirmed the bug to be present

b) Provide easy to reproduce steps – the simpler the better

c) Provide any test case(s) which will help us confirm the problem

d) Provide screenshots of the problem if you think it might help

e) Read all comments and provide any requested information

Once all of this is done, please set the bug back to UNCONFIRMED
and we will attempt to reproduce the issue. Please do not:

a) respond via email 

b) update the version field in the bug or any of the other details
   on the top section of our bug tracker

Warm Regards,
QA Team

MassPing-NeedInfo-20161010