473,396 Members | 1,712 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

BUG: Designer breaks UI code

Hi,

We have a form designed in the VS designer in C# and everytime we build on
different machiens its chainging the .Location and .Size properties yet we
are not changing anything in this.

We have locked the form, we have set AutoScaleBaseSize and so on to false
and its still having a mind of its own.

Why can we not have STATIC form SIZES across machines?

Will this issue (bug by design = annoyance and costing time which is
money) be fixed?

Thanks.
Nov 15 '05 #1
6 1276
Just to backup your idea a bit?

My latest project, explicitly forces the position of a panel to a specific
point on form loading and on file loading. Works fine under our test
setups, but the panel is moved to a different location on chinese and
japanese windows (regardless of operating system).

Not sure how to fix it.
<di********@discussion.microsoft.com> wrote in message
news:uh**************@TK2MSFTNGP11.phx.gbl...
Hi,

We have a form designed in the VS designer in C# and everytime we build on different machiens its chainging the .Location and .Size properties yet we
are not changing anything in this.

We have locked the form, we have set AutoScaleBaseSize and so on to false and its still having a mind of its own.

Why can we not have STATIC form SIZES across machines?

Will this issue (bug by design = annoyance and costing time which is
money) be fixed?

Thanks.

Nov 15 '05 #2
I'm not sure if this is the same thing, but I've noticed sometimes that
controls move down the form slightly every time the designer is opened. I've
noticed this in VB as well as C# so I think it's a bug with the designer.
(It happens in both Visual Studio.net and Visual Studio.net 2003).

I think that if you leave the font of the form set to its default (MS Sans
Serif, 8pt Regular - I think), the problem stops happening. You can still
set the font property on all other controls without problem.

Hope this helps,

Trev.
<di********@discussion.microsoft.com> wrote in message
news:uh**************@TK2MSFTNGP11.phx.gbl...
Hi,

We have a form designed in the VS designer in C# and everytime we build on different machiens its chainging the .Location and .Size properties yet we
are not changing anything in this.

We have locked the form, we have set AutoScaleBaseSize and so on to false and its still having a mind of its own.

Why can we not have STATIC form SIZES across machines?

Will this issue (bug by design = annoyance and costing time which is
money) be fixed?

Thanks.

Nov 15 '05 #3
I think the designer is bipoloar (maybe it reflects the designer designer
:D)

Refactoring is a no no, static UI sizes across machines is a no no.

For anything serious, the designer is as useful as the resource editor,
useless.
"Codemonkey" <hu*********@hotmail.com> wrote in message
news:un**************@tk2msftngp13.phx.gbl...
I'm not sure if this is the same thing, but I've noticed sometimes that
controls move down the form slightly every time the designer is opened. I've noticed this in VB as well as C# so I think it's a bug with the designer.
(It happens in both Visual Studio.net and Visual Studio.net 2003).

I think that if you leave the font of the form set to its default (MS Sans
Serif, 8pt Regular - I think), the problem stops happening. You can still
set the font property on all other controls without problem.

Hope this helps,

Trev.
<di********@discussion.microsoft.com> wrote in message
news:uh**************@TK2MSFTNGP11.phx.gbl...
Hi,

We have a form designed in the VS designer in C# and everytime we build
on
different machiens its chainging the .Location and .Size properties yet

we are not changing anything in this.

We have locked the form, we have set AutoScaleBaseSize and so on to

false
and its still having a mind of its own.

Why can we not have STATIC form SIZES across machines?

Will this issue (bug by design = annoyance and costing time which is
money) be fixed?

Thanks.


Nov 15 '05 #4
If you do a diff on the .cs file you can see all the .Location and .Size
properties are all fuxored.

I had to spend 30 mins of wasted time going through and reverting those
properties in a huge InitializeComponent() method for the generated form.

The designer is a waste of space.

"rollasoc" <ho*****@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Just to backup your idea a bit?

My latest project, explicitly forces the position of a panel to a specific
point on form loading and on file loading. Works fine under our test
setups, but the panel is moved to a different location on chinese and
japanese windows (regardless of operating system).

Not sure how to fix it.
<di********@discussion.microsoft.com> wrote in message
news:uh**************@TK2MSFTNGP11.phx.gbl...
Hi,

We have a form designed in the VS designer in C# and everytime we build
on
different machiens its chainging the .Location and .Size properties yet

we are not changing anything in this.

We have locked the form, we have set AutoScaleBaseSize and so on to

false
and its still having a mind of its own.

Why can we not have STATIC form SIZES across machines?

Will this issue (bug by design = annoyance and costing time which is
money) be fixed?

Thanks.


Nov 15 '05 #5
> For anything serious, the designer is as useful as the resource editor,
useless.


sad and 100% true

i think i have noticed a similar problem while opening inherited forms in
the designer. controls from the base class will have their location and
size properties changed arbitrarily. the workaround i have found is to edit
the code-behind -- even something as simple as removing and re-inserting a
line break -- then view the designer again and it will usually straighten
itself out.
Will this issue (bug by design = annoyance and costing time which is
money) be fixed?


a GUARDED look toward the future:
VS.Net 2002 had all these bugs;
VS.Net 2003 failed to fix them;
2004 will probably claim to fix them but fail;
by the time 2005 rolls around, there's probably a 50/50 chance of it working
right... (don't hold your breath)

(failing a fix, M$ might just regress to calling it 'Studio.Net' and leave
the 'visual' features in there but undocumented and unsupported. (other
than semantically, how different is this from the state of things right
now?))

on another note: would our lexicon even _contain_ the phrase 'bug by
design' if it wasn't for Micro$oft? =P
Nov 15 '05 #6
"lover" <microsoft rulez!> wrote:
a GUARDED look toward the future:
VS.Net 2002 had all these bugs;
VS.Net 2003 failed to fix them;
2004 will probably claim to fix them but fail;
by the time 2005 rolls around, there's probably a 50/50 chance of it
working right... (don't hold your breath)


It's sad that Microsoft has put quality control on the back burner. VS.NET
2003 was a major disappointment with so many problems unaddressed (and new
ones added), and no service packs. I imagine that if the Visual
Studio problems got as much bad press as the security problems, they'd be
addressed, if only to "put out the fire". But since they don't, it seems MS
just isn't going to put any extra effort into addressing them.

BTW, I am convinced this is NOT a decision by the tech guys at Microsoft.
Most developers I've worked with hate the idea of having their bugs go out
to the public. (OTOH, maybe when the number of developers gets that large,
you lose any sense of individuality or responsibility). I suspect it's a
conscious marketing/management decision. After all, service packs and bug
fixes provide no income, and we'll all come back next year to upgrade
anyway, right? I can't come up with any other explanation that makes sense
(and believe me, I've pondered it many times, such as each time VS.NET
crashes or some other feature isn't working again).

--
harry

(Now Playing: Teilmenge 25A - Asmus Tietchens)
Nov 15 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: | last post by:
Hi, We have a form designed in the VS designer in C# and everytime we build on different machiens its chainging the .Location and .Size properties yet we are not changing anything in this. We...
2
by: Derrick | last post by:
I've been working on an application which has a NotifyIcon (system tray icon), and a corresponding ContextMenu. I want to be able to update this menu dynamically. However, when I make changes to...
4
by: Dennis | last post by:
I just lost some user controls for no reason using VB.Net 2003. I had added the controls thru the Design IDE and all was working ok but for some reason, they just disappeared. The form module...
5
by: Pieter | last post by:
Hi, I'm getting a really terrible and anoying bug/problem in VS.NET 2005: 1. Create a new Windows Application. 2. Add a new class Class1. 3. Add a usercontrol UserControl1. 4. Add a public...
56
by: Rob Dob | last post by:
VS2005 is a PIECE of Garbage and is bug Ridden, I wonder how many others feel the same, I am so sorry that I have moved away from VS2003, VS2005 is unstable, and half the stuff doesn't work, ...
3
by: Simon Tamman | last post by:
I've come across an interesting bug. I have workarounds but i'd like to know the root of the problem. I've stripped it down into a short file and hope someone might have an idea about what's going...
2
by: Charlie | last post by:
Hi: Program runs and compiles fine, but WinForms designer breaks when using this line of code... ConfigurationManager.ConnectionStrings.ToString(); It says "Object reference not set to an...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.