https://bugs.kde.org/show_bug.cgi?id=446205

            Bug ID: 446205
           Summary: [feature] - improve MultipleLayouts startup mode and
                    reduce hard disk usage
           Product: lattedock
           Version: git (master)
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: application
          Assignee: mvourla...@gmail.com
          Reporter: mvourla...@gmail.com
  Target Milestone: ---

SUMMARY
Currently Latte for MultipleLayouts to work is cherry-picking the needed
layouts and adjusts them in the hidden multiple-layouts file. The exact same
thing is done on reverse when Latte is closing, so the layouts files are
updated accordingly.

It might be a better idea to use the Plasma approach. Latte can always trust
that the multiple-layouts file contains valid data. In that way closing Latte
wont drop the data in multiple-layouts file and when latte is started
afterwards in that mode  the big hard disk usage wont be necessary. Only
layouts that are not needed any more because their Activities are not running
will be needed to update their layout original data.

Following cases should be considered:
  - What is done when latte crashes is that mode?
Plasma is actually not doing anything and Latte could follow the same approach
by considering the data in multiple-layouts as valid

  - When original layout data file will be updated?
A good idea probably is when we open the Layouts Editor which is also the
default way to import-export layouts or when such an import/export is
requested. This needs a little more thinking.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to