Open Bug 376846 Opened 18 years ago Updated 3 years ago

Thunderbird ignores the initial window size setting in a shortcut if last state of the application's main window is maximized

Categories

(Thunderbird :: Mail Window Front End, defect)

x86
Windows XP
defect

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: kazssym, Unassigned, NeedInfo)

References

Details

(Whiteboard: dupeme?)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ja; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3 Build Identifier: 2.0b2 Thunderbird does not look at the initial window size setting in a Windows shortcut, but instead starts with an either normal or maximized (according to the last used state) main window. Reproducible: Always Steps to Reproduce: 1. Create a shortcut to Thunderbird. 2. Change the initial window size to minimized in the properties of the shortcut. 3. Start Thunderbird by the shortcut. Actual Results: Thunderbird starts with an either normal or maximized window. Expected Results: Thunderbird starts with a minimized window. It appears that WinMain's fourth argument is not used in many Mozilla appliations, which would have the same problem.
Mistake. It appears this only happens when the last state of the application's main window is maximized.
Assignee: mscott → nobody
WFM per comment #1.
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → WORKSFORME
It appears this problem only happens when Thunderbird's window was maximized at the last exit. Then Thunderbird start with its window maximized even if the shortcut setting is minimized.
Status: RESOLVED → UNCONFIRMED
Resolution: WORKSFORME → ---
My Thunderbird version is 2.0.0.22. Has it been fixed in 3.0?
Version: unspecified → 2.0
(In reply to comment #4) > My Thunderbird version is 2.0.0.22. Has it been fixed in 3.0? Yes it is, also happear in current beta release Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.3pre) Gecko/20090730 Lightning/1.0pre Shredder/3.0b4pre ID:20090730055316 exactly as you write in comment #3. I don't know if exist any reason that make this deliberate.
Version: 2.0 → Trunk
The window sizemode is persisted from the last session. I don't know about shortcut settings - but if they are disregarded i doubt it's thunderbird only.
I do not know where is the WinMain function in the source hierarchy, but Thunderbird probably throws away the value of the fourth argument of WinMain. To make Thunderbird behave as requested by shorcuts, it must be passed to ShowWindow when opening initial windows.
Summary: Thunderbird ignores the initial window size setting in a shortcut → Thunderbird ignores the initial window size setting in a shortcut if last state of the application's main window is maximized
Whiteboard: dupeme?
Does this still exist?
Severity: normal → minor
Flags: needinfo?(kazssym)
I'm not sure if this still exists or if my experience of this is relevant, but Thunderbird does not open in the last state (maximized) when I open it. The behavior that should happen is that it opens in the last state that it had.
Ignore my feedback, unrelated.
Severity: minor → S4
You need to log in before you can comment on or make changes to this bug.