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

Wladimir Kirianov <wladef...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |wladef...@gmail.com

--- Comment #79 from Wladimir Kirianov <wladef...@gmail.com> ---
I would like to create a small summary of the research, mockups and so on that
have been done this topics. I will also incorporate my own arguments in here: 

**Why I need tabs**

I use LibreOffice Writer for various purposes, such as writing reports,
articles, letters, and notes. I often need to work on multiple documents at the
same time, compare them, copy and paste content between them, or refer to them
for information. However, without tabs, I have to open each document in a
separate window, which clutters my desktop, consumes more memory, and makes it
harder to navigate and manage them.

Tabs would solve this problem by allowing me to switch between documents by
clicking on the tabs, drag and drop tabs to reorder them, close tabs with a
single click, or open new tabs with a keyboard shortcut. Tabs would also save
my session state, so that I could reopen all the documents I was working on
when I close LibreOffice Writer.

Tabs would not only improve my productivity and efficiency, but also my user
satisfaction and enjoyment. Tabs would make LibreOffice Writer more modern,
intuitive, and consistent with other applications that I use regularly. For
example, the Adobe suite uses tabs extensively for its applications such as
Photoshop. Tabs would also give me more control and flexibility over how I work
with documents.

**How tabs could work**

Tabs could be implemented as an optional feature that users can enable or
disable in the settings. Tabs could also have some customization options, such
as color, position, size, shape, or icon. Tabs could be compatible with
existing features of LibreOffice Writer, such as split view, zoom level, or
document properties.

To illustrate how tabs could look like in LibreOffice Writer, Here are some
mockups based on the existing user interface and some examples from other
applications. You can see them below or at these links:

Mockup 1: Tabs at the top of the window with icons and close buttons

- https://bug-attachments.documentfoundation.org/attachment.cgi?id=184357

Mockup 2: Tabs at the bottom of the window

- https://bug-attachments.documentfoundation.org/attachment.cgi?id=165505


**How tabs could support side by side view**

Another possible feature that could enhance the usability of tabs in
LibreOffice Writer is the ability to view two or more tabs side by side in the
same window. This would allow users to compare, edit, or copy content between
different documents without switching tabs or windows. This feature could be
similar to the split view or the side by side windows that are already
available in LibreOffice Writer, but with tabs instead of subwindows.

To illustrate how side by side tabs could look like in LibreOffice Writer, here
a mockup:

- https://wiki.documentfoundation.org/File:LO-Tabs-SideBySide.png

Mockup 3: Side by side tabs in LibreOffice Writer

**What others think about tabs**

I'm not alone in wanting this feature. There are many other users who have
expressed their interest and support for tabs in LibreOffice Writer on various
forums and platforms. Some of them have also created mockups, sketches, or
screenshots of how tabs could look like in LibreOffice Writer. Here are some
links to some of them:

-
https://ask.libreoffice.org/t/opening-multiple-files-in-tabs-optional-function-or-extension/61520
-
https://ask.libreoffice.org/t/feature-request-open-various-files-in-different-tabs-in-writer/4064
-
https://ask.libreoffice.org/t/has-any-thought-been-given-to-tabbed-pages-in-documents/3963/2

I hope you will consider adding this feature to LibreOffice Writer in the
future. I think it would make a huge difference for many users like me who rely
on LibreOffice Writer for their daily work.

**How tabs could be developed**

As for the technical solution for implementing tabs in LibreOffice Writer, I
have done some research and found some possible approaches that could be used
by the developers. Here are some of 

- Using Qt’s QMdiArea class, which provides a standard workspace for managing
multiple document interface (MDI) windows.his class allows creating subwindows
that can be tiled, cascaded, minimized, maximized, or closed. Each subwindow
can have its own menu bar, tool bar, and status bar. QMdiArea also supports
tabbed views of subwindows, which can be switched by clicking on the tabs or
using keyboard shortcuts. QMdiArea is already used by some applications that
have tabs, such as Qt Creator or KDevelop.
- Using GtkNotebook widget, which provides a container for multiple pages of
content that can be accessed by tabs. Each page can contain any type of widget,
such as a text view or an image. GtkNotebook also supports drag and drop of
tabs, scrolling of tabs, and adding or removing pages dynamically. GtkNotebook
is already used by some applications that have tabs, such as Gedit or Geany.
- Using LibreOffice’s own implementation of tabs, which could be based on the
existing code for split view or zoom level. This would require modifying the
user interface and the document model to support multiple documents in one
window. This would also require adding new options and commands for managing
tabs, such as opening, closing, switching, reordering, or saving tabs.

**Challenges and Limitations**

- How to handle tabs that have different zoom levels, page styles, or document
properties.
- How to synchronize scrolling, cursor movement, or selection between tabs.
- How to manage memory consumption and performance when displaying multiple
documents at once.
- How to ensure compatibility and consistency with existing features of
LibreOffice Writer, such as split view, side by side windows, or full screen
mode.

Therefore, this feature would require careful design and testing before it can
be implemented and released.

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

Reply via email to