Bug 165221 - [UI] Remove unused Impress/Draw code in options page
Summary: [UI] Remove unused Impress/Draw code in options page
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
25.8.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: difficultyBeginner, easyHack
Depends on:
Blocks: Options-Dialog
  Show dependency treegraph
 
Reported: 2025-02-12 18:11 UTC by Olivier Hallot
Modified: 2025-06-23 07:15 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Screenshot of the Glade file sd/uiconfig/simpress/ui/optimpressgeneralpage.ui (72.90 KB, image/png)
2025-02-12 18:11 UTC, Olivier Hallot
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier Hallot 2025-02-12 18:11:43 UTC
Created attachment 199170 [details]
Screenshot of the Glade file sd/uiconfig/simpress/ui/optimpressgeneralpage.ui

Discussed in development mailing list thread [1]:

There are unused widget in Impress/Draw Options General page

The unused widgets are below the "Drawing scale" label ( Page width, Page Height, info 1 and info2).

The task is to investigate and possibly remove unused code in Impress/Draw Options General page from the UI and the controller code.

The controller code is in sd/source/ui/dlg/tpoption.cxx that has a method SetDrawMode() where some controls are hidden and others shown, including these weird info fields.

[1] https://lists.freedesktop.org/archives/libreoffice/2025-February/092987.html
Comment 1 Roman Kuznetsov 2025-02-14 20:07:51 UTC
But Heiko said there "you can not just remove it". Are you sure there was the decision about deleting?
Comment 2 Olivier Hallot 2025-02-15 00:06:31 UTC
The task is to investigate and possibly remove unused code in Impress/Draw Options General page from the UI and the controller code.
Comment 3 Roman Kuznetsov 2025-02-15 07:54:05 UTC
Ok let's wait some developer
Comment 4 NathanFarley 2025-06-23 07:15:38 UTC Comment hidden (spam)