[Libreoffice-bugs] [Bug 133257] The protection icon does not show in front of sheeet name when lock a sheet from LibreOffice BASIC.

2020-12-01 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=133257

An-Kh  changed:

   What|Removed |Added

   Assignee|libreoffice-b...@lists.free |anshukhar...@gmail.com
   |desktop.org |

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 133257] The protection icon does not show in front of sheeet name when lock a sheet from LibreOffice BASIC.

2020-09-29 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=133257

BogdanB  changed:

   What|Removed |Added

 CC||buzea.bog...@libreoffice.or
   ||g
 Blocks||107450


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=107450
[Bug 107450] [META] Cell and sheet protection bugs and enhancements
-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 133257] The protection icon does not show in front of sheeet name when lock a sheet from LibreOffice BASIC.

2020-05-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=133257

--- Comment #4 from Mike Kaganski  ---
(In reply to Mike Kaganski from comment #3)
> see implementation of ScTabViewShell::GetActiveViewShell for additional
> details.

A thinko: instead of "ScTabViewShell::GetActiveViewShell" should had been
"ScDocShell::GetBestViewShell".

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 133257] The protection icon does not show in front of sheeet name when lock a sheet from LibreOffice BASIC.

2020-05-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=133257

Mike Kaganski  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Hardware|x86-64 (AMD64)  |All
 Ever confirmed|0   |1
 OS|Linux (All) |All
   Keywords||difficultyBeginner,
   ||easyHack, skillCpp

--- Comment #3 from Mike Kaganski  ---
Repro with Version: 6.4.4.2 (x64)
Build ID: 3d775be2011f3886db32dfd395a6a6d1ca2630ff
CPU threads: 12; OS: Windows 10.0 Build 18363; UI render: GL; VCL: win; 
Locale: ru-RU (ru_RU); UI-Language: en-US
Calc: CL.

The problem is that setting the protection via API uses
ScTableSheetObj::protect/unprotect (sc/source/ui/unoobj/cellsuno.cxx), while UI
operation uses ScViewFunc::ProtectSheet/Unprotect
(sc/source/ui/view/viewfunc.cxx). The latter functions call
SetTabProtectionSymbol function (sc/source/ui/view/tabview3.cxx), that sets the
symbol. Interestingly, ScViewFunc::Protect doesn't do that.

Both pathways call ScDocFunc::ProtectSheet/Unprotect
(sc/source/ui/docshell/docfunc.cxx). The proposal is to move calling
ScTabView::SetTabProtectionSymbol there; and in the process, ScDocFunc::Protect
should be also changes to call ScDocFunc::ProtectSheet when doing sheet
protection to unify the code. SetTabProtectionSymbol must be called for *all*
visible document's view frames, not only the active one. To iterate over all
active view frames, use SfxViewFrame::GetFirst/GetNext; see implementation of
ScTabViewShell::GetActiveViewShell for additional details.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 133257] The protection icon does not show in front of sheeet name when lock a sheet from LibreOffice BASIC.

2020-05-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=133257

--- Comment #2 from Nukool Chompuparn  ---
Created attachment 161112
  --> https://bugs.documentfoundation.org/attachment.cgi?id=161112&action=edit
On the other hand, it will show after moving such sheet.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 133257] The protection icon does not show in front of sheeet name when lock a sheet from LibreOffice BASIC.

2020-05-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=133257

--- Comment #1 from Nukool Chompuparn  ---
Created attachment 16
  --> https://bugs.documentfoundation.org/attachment.cgi?id=16&action=edit
The protection icon does not show.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs