Issue 15503 - drag of dialog window in dialog editor
Summary: drag of dialog window in dialog editor
Status: CLOSED WONT_FIX
Alias: None
Product: udk
Classification: Code
Component: code (show other issues)
Version: OOo 1.1 Beta2
Hardware: PC Windows 2000
: P3 Trivial (vote)
Target Milestone: AOO PleaseHelp
Assignee: ab
QA Contact: issues@udk
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-11 13:24 UTC by Unknown
Modified: 2007-06-18 10:41 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Unknown 2003-06-11 13:24:51 UTC
When within the Dialog Editor (within Macros) and clicking on the border of a 
dialog window to select it, you can then drag the dialog window i.e. to the 
right. However all controls that are part of the dialog window are not dragged 
but stay at their location. If you drag the window far enough they sort of 
hang in the air. When running such a dialog, only the parts of the dialog 
controls that are within the dialog window are shown.

Especially when move a dialog window to the right, I saw that the title of 
such a dialog window step by step disappeared. After a smaller move only the 
first letter of the title was visible. After a large move the whole title 
disappeared. At runtime the title is back but it will not appear again in the 
editor. (only when you move the window back to the left it step by step 
reappears)
Comment 1 thomas.benisch 2003-06-11 14:39:22 UTC
A dialog and its controls can be selected by
- moving the mouse pointer to the top left outside the dialog
- pressing the left mouse button and moving the mouse pointer to 
  the down right outside the dialog
- release the left mouse button
After the dialog and its controls are selected, all of them can
be moved together. But you're only in dragging mode, if the mouse
pointer is on a control or on the border of the dialog, otherwise
you delete the selection.

The problem with the partially drawn dialog title is already fixed
and will be in OOo 1.1 RC.

I propose to close this task.
Comment 2 Unknown 2003-06-11 15:43:22 UTC
I know that can select dialog and controls by drawing a kind of 
rectangle around them. I wonder why the controls are not 
automatically selected when you select the dialog ?? What is the 
purpose of allowing controls that are not placed on a dialog window 
and are therefore not usuable at runtime ?

It seems that it makes more sense to select dialog plus controls, 
since that is what you want in most cases.
Comment 3 Unknown 2003-06-11 15:44:13 UTC
sorry wrong user in the first try
Comment 4 thomas.benisch 2003-06-12 10:03:57 UTC
TBE->CJ: Please evaluate if we should change the behaviour for
selecting and dragging a dialog.
Comment 5 christian.jansen 2003-06-19 10:02:49 UTC
This need some further investigation, but we should find a solution
for oo.o 2.0
Comment 6 christian.jansen 2003-09-11 15:16:04 UTC
Reassinged to Bettina.
Comment 7 bettina.haberer 2004-01-30 19:41:00 UTC
Hello Andreas, this is an issue, we should keep in mind at planning the new
Basic IDE. Would you like to take this as reminder? Thank you.
Comment 8 ab 2004-02-03 09:50:21 UTC
AB->TBE: Back to you...
Comment 9 thomas.benisch 2004-02-04 10:11:53 UTC
accepted
Comment 10 joerg.skottke 2004-05-24 09:45:45 UTC
Changed target to OOo Later
Comment 11 thomas.benisch 2005-12-01 13:47:19 UTC
TBE->AB: As discussed to you.
Comment 12 ab 2006-02-09 14:43:25 UTC
ab: I don't agree to "it makes more sense to select dialog plus controls,
since that is what you want in most cases". I think it makes much sense
to allow both selecting the dialog alone (by clicking on the border) and
selecting dialog plus all controls (by drawing a frame). A good reason
for selecting the dialog object only is to move it relative to all its
controls. But far more important: Moving is not the only reason for selec-
ting a control or the dialog object. Often the object's properties should 
be modified. If someone wanted to modify the dialog object's properties 
it wouldn't be very helpful if all controls are also selected automatical-
ly. It's also much more consistent if a click on a control or the dialog
just selects this only object. By the way: The VB form editor does also
work like this. Now we have one way to select the dialog only and one
way to select it including all controls and both ways are easy enough in
my opinion. So why should we give up one way and loose flexibility?

Now to the controls outside the form: One reason I can see is that it al-
lows to place alternative controls or control layouts beside for testing
reasons while designing a dialog. Maybe I want to test different layouts
and so I don't have to delete controls directly to make them "unvisible".
Anyway I wouldn't ask, what's the purpose of allowing controls to be pla-
ced outside the dialog window. I would ask what should be the purpose of 
_not_ allowing it? Nobody has to place them outside if he doesn't want 
to, so what do we win by preventing everyone from doing so.

-> Setting to WONTFIX
Comment 13 kay.ramme 2007-06-18 10:41:01 UTC
This issue has been "RESOLVED" for quite a time, I assume I can close it ...