Difficulty: Medium/Hard/Unsure
Method:
1) Load a texture containing the "ghost window" asset
2) Create a new window of the ghost window size
3) In unity::UnityWindow::glPaint pass PAINT_WINDOW_NO_CORE_INSTANCE_MASK to 
the gWindow->glPaint call within the function
4) Make unity::UnityScreen inherit ScaleScreenInterface
5) Overload ScaleScreenInterface::layoutThumbs and add a new slot containing 
the new window when we know scale mode was triggered for this application group
 6) Overload ScaleWindowInterface::scalePaintDecoration and paint the ghost 
window texture instead of the window
7) Overload ScaleScreenInterface::scaleSelectWindowAt and if the "fake" window 
is selected then open the new application
 8) Ensure the fake window is mapped / unmapped when scale begins and ends.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1033936

Title:
  Window management - Add "ghost" new window in spread for applications
  that support multiple windows

To manage notifications about this bug go to:
https://bugs.launchpad.net/ayatana-design/+bug/1033936/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to