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

--- Comment #49 from Niccolò Venerandi <nicc...@venerandi.com> ---
(In reply to Maxim from comment #47)
> > This could be done, but I'm a bit worried about the consequences it might
> > have. What if the user has multiple panels? Should we always clone *all*
> > panels from one screen to another? Is that what the user really expects when
> > connecting to a new monitor?
> 
> Not always, I think the original idea was to have a setting for a panel to
> indicate that it's expected to be mirrored. So the algorithm in the first
> iteration could be:
> - when a monitor is connected
> - for each panel
> - does it have the "mirror" flag set? (no by default)
> - if not, do nothing
> - does the new monitor already have panels?
> - if yes, do nothing
> - otherwise, clone the panel
> 
> The last bit can be modified, depending on what information is available
> internally. The main idea is to prevent cloning panels endlessly on each
> connect of the same monitor. I don't know if it's possible to mark a panel
> as a clone of another one in its metadata (like an ID) to be checked more
> precisely. However, imho, it would already be a major improvement

I'll give a look at the code. If it's not too complex, some sort of
auto-cloning might be a worthy addition.

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

Reply via email to