Issue 81052 - widgets in dialog editor drawn with PaintToDevice
Summary: widgets in dialog editor drawn with PaintToDevice
Alias: None
Product: gsl
Classification: Code
Component: code (show other issues)
Version: OOo 1.0.0
Hardware: All All
: P3 Trivial (vote)
Target Milestone: OOo 3.x
Assignee: AOO issues mailing list
QA Contact:
Depends on:
Reported: 2007-08-27 12:08 UTC by philipp.lohmann
Modified: 2017-05-20 11:31 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Note You need to log in before you can comment on or make changes to this issue.
Description philipp.lohmann 2007-08-27 12:08:54 UTC
Followup to issue 80543:

Apparently nowadays controls in the dialog editor are drawn with PaintToDevice
via a VDev. NWF does not work on VDevs due to system limitations. However in the
dialog editor controls should be drawn using NWF since the running dialog will
also be NWF enabled. So please don't draw controls to a VDev in the dialog editor.
Comment 1 Armin Le Grand 2007-09-06 16:11:53 UTC
AW: Discussed with PL. On different systems painting controls only works with
windows. Evereything elese will not be possible and lead to problems. Only our
fallback controls used from toolkit can be painted to VDev using PaintToDevice.
If we do not want to get in trouble over the long run, it makes no sense to have
the controls in non-life mode at all. Maybe we should have them in Live-Mode (in
the sense of Child-Windows) all the time.

Arguments for it:
- Same repaint-handling for design and non-design mode
- No need for extra handling with repaints and repaint buffering
- We have at least one control anyways in that mode, even in layout mode
- support for system-dependent controls on all systems
- there are already other such object types like MultiMedia objects, live OLE,

Arguments against:
- Handles for selected controls will be covered
- Selection/Control drag frame will be behind objects
- In layout mode, controls need something like MouseThrough and NoActionAccept (PL?)

Please add arguments as needed...
Comment 2 Armin Le Grand 2007-12-06 10:28:26 UTC
AW: Changing target.
Comment 3 Armin Le Grand 2008-05-13 14:00:52 UTC
AW: The needed changes to do this are too risky for 3.0, so i move to 3.x.
Comment 4 Marcus 2017-05-20 11:31:26 UTC
Reset assigne to the default "".