[Bug 160139] Header and footer gets removed in Writer and cannot be restored after pasting some text from a shape (steps in comment 2)

2024-04-22 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=160139

Stéphane Guillou (stragu)  changed:

   What|Removed |Added

 Blocks||133092
  Regression By||Tomaž Vajngerl

--- Comment #20 from Stéphane Guillou (stragu) 
 ---
Indeed, Miklos' c900850742efd4e1fb7c79c13c1b9a17fcd4981d does fix the removal
of the header on paste.
This is the situation since that commit:

1. Writer
2. Type "header" in header and "footer" in footer
3. Insert a shape and type text inside it
4. Copy that text and paste in the document body: header and footer emptied
_but still exist_
5. Ctrl + Z: pasted text removed
6. Ctrl + Z: shape text removed
7. Ctrl + Z: shape removed
8. Ctrl + Z: nothing (supposed to be "undo typing 'footer'", so cursor moves to
footer)
9. Ctrl + Z: header text restored; footer removed
10. Ctrl + Z: header text removed
11. Ctrl + Z: header removed
12. Close Writer: crash

@Miklos: note that I couldn't crash it at c900850742~1, nor at d918beda2a~1, so
maybe something you want to have a look at?

@Quikee: any chance you could look at the regression caused by
4b0fa253a4540f5461397815d290586f9ddabe61?


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=133092
[Bug 133092] [META] Crash bugs
-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 160139] Header and footer gets removed in Writer and cannot be restored after pasting some text from a shape (steps in comment 2)

2024-04-22 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=160139

Stéphane Guillou (stragu)  changed:

   What|Removed |Added

 CC||slw...@gmail.com

--- Comment #19 from Stéphane Guillou (stragu) 
 ---
*** Bug 160759 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 160139] Header and footer gets removed in Writer and cannot be restored after pasting some text from a shape (steps in comment 2)

2024-04-03 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=160139

--- Comment #18 from Stéphane Guillou (stragu) 
 ---
As shown in bug 160236, this also severely affects Zotero users, as adding or
refreshing a bibliography (which happens very frequently) seems to use the same
pasting path.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 160139] Header and footer gets removed in Writer and cannot be restored after pasting some text from a shape (steps in comment 2)

2024-04-03 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=160139

Stéphane Guillou (stragu)  changed:

   What|Removed |Added

 CC||maximiliansche...@posteo.ne
   ||t

--- Comment #17 from Stéphane Guillou (stragu) 
 ---
*** Bug 160236 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 160139] Header and footer gets removed in Writer and cannot be restored after pasting some text from a shape (steps in comment 2)

2024-04-02 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=160139

Stéphane Guillou (stragu)  changed:

   What|Removed |Added

 CC||tuque-hush...@icloud.com

--- Comment #16 from Stéphane Guillou (stragu) 
 ---
*** Bug 160263 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 160139] Header and footer gets removed in Writer and cannot be restored after pasting some text from a shape (steps in comment 2)

2024-03-28 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=160139

--- Comment #15 from smsourov...@outlook.com ---
Tried the dev build. The bug can be reproduced.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 160139] Header and footer gets removed in Writer and cannot be restored after pasting some text from a shape (steps in comment 2)

2024-03-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=160139

Commit Notification  changed:

   What|Removed |Added

 Whiteboard|target:24.8.0   |target:24.8.0 target:24.2.3

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 160139] Header and footer gets removed in Writer and cannot be restored after pasting some text from a shape (steps in comment 2)

2024-03-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=160139

--- Comment #13 from Miklos Vajna  ---
(In reply to Xisco Faulí from comment #10)
> Miklos' patch fixes the bisection from comment 7, which is the header being
> turned off.

Exactly. :-) I didn't do anything regarding turning the filled in header into
an "empty but on" header.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 160139] Header and footer gets removed in Writer and cannot be restored after pasting some text from a shape (steps in comment 2)

2024-03-22 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=160139

Stéphane Guillou (stragu)  changed:

   What|Removed |Added

   Severity|major   |critical

--- Comment #12 from Stéphane Guillou (stragu) 
 ---
Crash reports in 24.2.1 annoyingly have the  signature but both
crash STR + undo × 2 lead to the same crash in sw/inc/bparr.hxx:105:
-
https://crashreport.libreoffice.org/stats/crash_details/c1e2e71d-e087-4252-ad6d-0a2e595f4b56
-
https://crashreport.libreoffice.org/stats/crash_details/bc7501f7-41d7-4c1f-8abf-6c2a7e613a92

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 160139] Header and footer gets removed in Writer and cannot be restored after pasting some text from a shape (steps in comment 2)

2024-03-22 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=160139

--- Comment #11 from Stéphane Guillou (stragu) 
 ---
(In reply to Commit Notification from comment #8)
> Miklos Vajna committed a patch related to this issue.
> https://git.libreoffice.org/core/commit/
> c900850742efd4e1fb7c79c13c1b9a17fcd4981d
With this patch included in my own build:
- comment 0 steps: still reproduced
- comment 2 steps: still reproduced

(tested on Linux, gtk3 VCL plugin)

To any of those STR, you can add the following steps for a crash:
a. keep undoing
b. if it doesn't crash on undoing, close LO

Results: crash in either a or b.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 160139] Header and footer gets removed in Writer and cannot be restored after pasting some text from a shape (steps in comment 2)

2024-03-22 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=160139

Stéphane Guillou (stragu)  changed:

   What|Removed |Added

 CC||stephane.guillou@libreoffic
   ||e.org
   Keywords||dataLoss
Version|24.2.1.2 release|24.2.0.0 alpha1+
 Blocks||102593


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=102593
[Bug 102593] [META] Paste bugs and enhancements
-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 160139] Header and footer gets removed in Writer and cannot be restored after pasting some text from a shape (steps in comment 2)

2024-03-22 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=160139

--- Comment #10 from Xisco Faulí  ---
(In reply to BogdanB from comment #9)
> MIklos, I build LibreOffice with your latest patch, and I still repro with
> text copied from a shape.

Miklos' patch fixes the bisection from comment 7, which is the header being
turned off. The shape disappearing is the bisection from comment 4

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 160139] Header and footer gets removed in Writer and cannot be restored after pasting some text from a shape (steps in comment 2)

2024-03-22 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=160139

--- Comment #9 from BogdanB  ---
MIklos, I build LibreOffice with your latest patch, and I still repro with text
copied from a shape.

Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: c900850742efd4e1fb7c79c13c1b9a17fcd4981d
CPU threads: 16; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: ro-RO (ro_RO.UTF-8); UI: en-US
Calc: threaded

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 160139] Header and footer gets removed in Writer and cannot be restored after pasting some text from a shape (steps in comment 2)

2024-03-22 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=160139

--- Comment #8 from Commit Notification 
 ---
Miklos Vajna committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/c900850742efd4e1fb7c79c13c1b9a17fcd4981d

Relatted: tdf#160139 RTF paste: don't turn off headers/footers

It will be available in 24.8.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.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 160139] Header and footer gets removed in Writer and cannot be restored after pasting some text from a shape (steps in comment 2)

2024-03-22 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=160139

Commit Notification  changed:

   What|Removed |Added

 Whiteboard||target:24.8.0

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 160139] Header and footer gets removed in Writer and cannot be restored after pasting some text from a shape (steps in comment 2)

2024-03-22 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=160139

--- Comment #7 from BogdanB  ---
In debug version I get this:

warn:writerfilter:72853:72853:writerfilter/source/dmapper/PropertyMap.cxx:606:
Paper source not found com.sun.star.lang.IllegalArgumentException message: "at
/home/tdf/lode/jenkins/workspace/lo_gerrit/tb/src_master/sw/source/core/unocore/unostyle.cxx:1701"
ArgumentPosition: 0

Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 71efd6046488b952f679936ea1c4a415f4989b18
CPU threads: 16; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: ro-RO (ro_RO.UTF-8); UI: en-US
Calc: threaded

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 160139] Header and footer gets removed in Writer and cannot be restored after pasting some text from a shape (steps in comment 2)

2024-03-22 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=160139

--- Comment #6 from Miklos Vajna  ---
Let me see (at least the header removal part).

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 160139] Header and footer gets removed in Writer and cannot be restored after pasting some text from a shape (steps in comment 2)

2024-03-22 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=160139

Xisco Faulí  changed:

   What|Removed |Added

 CC||vmik...@collabora.com
   See Also||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=15
   ||8814

--- Comment #5 from Xisco Faulí  ---
The header being removed after pasting the text started to happen after

author  Miklos Vajna 2024-02-05 10:38:06 +0100
committer   Miklos Vajna 2024-02-05 12:36:44
+0100
commit  d918beda2ab42668014b0dd42996b6ccc97e8c3a (patch)
treecaf41debedf8d50d3c90df7255222a13e406e702
parent  1ae7a81e542c9b072e519d0ea0d4773ed26ca251 (diff)
tdf#158814 DOCX import: fix unwanted header with type="first" & no titlePg

Adding also Miklos to the loop

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 160139] Header and footer gets removed in Writer and cannot be restored after pasting some text from a shape (steps in comment 2)

2024-03-22 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=160139

Xisco Faulí  changed:

   What|Removed |Added

   Priority|medium  |high
   Keywords||bibisected, bisected,
   ||regression
   See Also||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=13
   ||6472
   Severity|normal  |major
 CC||qui...@gmail.com,
   ||xiscofa...@libreoffice.org

--- Comment #4 from Xisco Faulí  ---
Regression introduced by:

author  Tomaž Vajngerl  2023-11-28 13:46:21
+0900
committer   Tomaž Vajngerl2023-12-01 08:26:38
+0100
commit  4b0fa253a4540f5461397815d290586f9ddabe61 (patch)
treec58c59871244dc75e538caeea40658303da00b8b
parent  93357349ff1998b41ea1ebedf09dc1cc5da316f7 (diff)
tdf#136472 adjust ooxml import to handle first header/footer

Bisected with: bibisect-linux64-24.2

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 160139] Header and footer gets removed in Writer and cannot be restored after pasting some text from a shape (steps in comment 2)

2024-03-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=160139

BogdanB  changed:

   What|Removed |Added

Summary|Header and footer gets  |Header and footer gets
   |removed in Writer and   |removed in Writer and
   |cannot be restored after|cannot be restored after
   |pasting some text from  |pasting some text from a
   |Impress |shape (steps in comment 2)

--- Comment #3 from BogdanB  ---
Yes, it's easier to test like this.

Version: 24.2.1.2 (X86_64) / LibreOffice Community
Build ID: db4def46b0453cc22e2d0305797cf981b68ef5ac
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: ro-RO (en_US); UI: en-US
Calc: threaded

-- 
You are receiving this mail because:
You are the assignee for the bug.