[Libreoffice-bugs] [Bug 142823] Draw Spanish UI does not distinguish two buttons for 3D objects

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Jul 23 20:23:25 UTC 2021


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

Julien Nabet <serval2412 at yahoo.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rb.henschel at t-online.de

--- Comment #5 from Julien Nabet <serval2412 at yahoo.fr> ---
Regina: the bug is about these 2 uno functions:
- uno:ConvertInto3DLatheFast -> "To 3D ~Rotation Object"
SID_CONVERT_TO_3D_LATHE_FAST

- uno:ConvertInto3DLathe -> "In 3D Rotation Object"
SID_CONVERT_TO_3D_LATHE

Searching about SID_CONVERT_TO_3D_LATHE_FAST, I see in
sd/source/ui/view/drviews2.cxx:
   3377         case SID_CONVERT_TO_3D_LATHE_FAST:
   3378         {
   3379             /* The call is enough. The initialization via
Start3DCreation and
   3380                CreateMirrorPolygons is no longer needed if the
parameter
   3381                sal_True is provided. Then a tilted rotary body with an
axis left
   3382                besides the bounding rectangle of the selected objects
is drawn
   3383                immediately and without user interaction.  */
   3384             mpDrawView->SdrEndTextEdit();
   3385             if(GetActiveWindow())
   3386                 GetActiveWindow()->EnterWait();
   3387             mpDrawView->End3DCreation(true);
   3388             Cancel();
   3389             rReq.Ignore();
   3390             if(GetActiveWindow())
   3391                 GetActiveWindow()->LeaveWait();
   3392         }

See
https://opengrok.libreoffice.org/xref/core/sd/source/ui/view/drviews2.cxx?r=b1668edf#3377

Searching about SID_CONVERT_TO_3D_LATHE, I see in sd/source/ui/func/fusel.cxx:
   1127         case SID_CONVERT_TO_3D_LATHE:
   1128         {
   1129             eMode = SdrDragMode::Mirror;
   1130             bSuppressChangesOfSelection = true;
   1131 
   1132             if ( mpView->GetDragMode() != eMode )
   1133                 mpView->SetDragMode(eMode);
   1134 
   1135             if (!mpView->Is3DRotationCreationActive())
   1136                 mpView->Start3DCreation();
   1137 
   1138             bSuppressChangesOfSelection = false;
   1139         }
see
https://opengrok.libreoffice.org/xref/core/sd/source/ui/func/fusel.cxx?r=bfc1600c#1127

As if SID_CONVERT_TO_3D_LATHE was to start 3D creation and
SID_CONVERT_TO_3D_LATHE was to end 3D creation
If yes, why aren't they named:
SID_CONVERT_TO_3D_BEGIN/uno:ConvertInto3DBegin and
SID_CONVERT_TO_3D_END/uno:ConvertInto3DEnd
?

I suppose I must have missed something.
Any thoughts here?

-- 
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/20210723/53af8e82/attachment.htm>


More information about the Libreoffice-bugs mailing list