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

            Bug ID: 456524
           Summary: Screen geometry is «wrong» inside Plasmoid Viewer
           Product: Plasma SDK
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: plasmoidviewer
          Assignee: plasma-b...@kde.org
          Reporter: m...@ratijas.tk
                CC: giorgos.tsiapalio...@kde.org, m...@ratijas.tk
  Target Milestone: ---

SUMMARY

When running an applet via Plasmoid Viewer, screen geometry is reported to
Plasmoid (technically, AppletInterface instance) as being the geometry of a
window content (drawable surface) of this viewer. It might make sense, since
it's an SDK tool, and it should emulate and "virtualize" some stuff. But it
also has a property of breaking the Pager applet in a funny way: Pager's
backend model uses screen geometry exclusively to identify a screen and filter
tasks, so when configured to «Show only current screen» it shows empty spaces
(no tasks) most of the time — unless you carefully resize the SDK window so
that it exactly matches (fills/covers) screen geometry.

STEPS TO REPRODUCE
1. Run `plasmoidviewer -a org.kde.plasma.pager`
2. Open applet configuration.
3. Check the «Show only current screen» checkbox.

OBSERVED RESULT
Grid shows desktops each of which matches the size of the Plasmoid Viewer
window content. No tasks are shown unless the window is resized in a very
specific way.

EXPECTED RESULT
Plasmoid Viewer probably should report a screen geometry of a screen where its
window is currently located.

SOFTWARE/OS VERSIONS
Windows: 
Operating System: Arch Linux
KDE: git master
Qt Version: 5.15.5
Kernel Version: 5.18.9-arch1-1 (64-bit)
Graphics Platform: X11

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

Reply via email to