Closed Bug 1188778 Opened 9 years ago Closed 9 years ago

Windows 10 closing tb with X not possible (minimize, maximize and close not working)

Categories

(Thunderbird :: Mail Window Front End, defect)

40 Branch
x86
Windows 10
defect
Not set
major

Tracking

(thunderbird40 wontfix, thunderbird41 fixed, thunderbird42+ fixed, thunderbird43 fixed, thunderbird_esr38 unaffected)

RESOLVED FIXED
Thunderbird 43.0
Tracking Status
thunderbird40 --- wontfix
thunderbird41 --- fixed
thunderbird42 + fixed
thunderbird43 --- fixed
thunderbird_esr38 --- unaffected

People

(Reporter: donauinsel, Assigned: Paenglab)

References

Details

Attachments

(6 files)

User Agent: Mozilla/5.0 (Windows NT 10.0; rv:40.0) Gecko/20100101 Firefox/40.0
Build ID: 20150727174134

Steps to reproduce:

Open TB as usual...


Actual results:

Under Windows 10 it is not possible to close TB pressing X in right upper corner (nothing happen). I can only close with ALT+F4


Expected results:

It should close ;-)
OS: Unspecified → Windows 10
Hardware: Unspecified → x86
Version: 37 → 40
This is known. Unfortunately with the limited manpower the reviews are slow.

Until this is fixed you can use this fix add-on: http://mozilla.paenglab.ch/files/win10fixes.xpi
It has almost all planned changes to make TB 40+ working with Win10.

I'll use this bug as the one for the planned fixes after the other reviews are made.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Also the other buttons do not work (minimize, maximize/restore).

The extension you pointed to fixes this too.
Severity: normal → major
Component: Untriaged → Mail Window Front End
Attached file win10fixes.xpi
To make it easier to download the XPI, I upload it to this bug.
Attachment #8642019 - Attachment mime type: application/x-xpinstall → application/zip
Richard, is this being fixed in another bug? If the issue is known and code fix defined, we should try to push this for 38.2.0
This is introduced in TB 40 by bug 1173725 and is not yet fixed. For this I made the XPI. I'd like to fix some -aero.css remove bug before landing this bug but the reviews are very slow now.

Removed the esr_38 tracking flag.
Summary: Windows 10 closing tb with X not possible → Windows 10 closing tb with X not possible (minimize, maximize and close not working)
(In reply to Richard Marti (:Paenglab) from comment #4)
> Created attachment 8642019 [details]
> win10fixes.xpi
> 
> To make it easier to download the XPI, I upload it to this bug.

The buttons is working now. 

Thanks.
This fix is not fully correct. The closing button has several pixels margin from right edge of the window which means that if the window is maximized one is not able to close it just by moving the cursor to the upper right edge of the screen (which works for all other programs in Windows).
Thank you for the feedback. In my patch it is fixed. I don't update the XPI for this as TB is still usable with this small issue.
(In reply to Richard Marti (:Paenglab) from comment #1)
> This is known. Unfortunately with the limited manpower the reviews are slow.
> 
> Until this is fixed you can use this fix add-on:
> http://mozilla.paenglab.ch/files/win10fixes.xpi
> It has almost all planned changes to make TB 40+ working with Win10.
> 
> I'll use this bug as the one for the planned fixes after the other reviews
> are made.

Thanks for the fix.  One thing I noticed while troubleshooting was these buttons are active as TB loads the mail folders however, they become disabled once TB completes its initialization and loads the in-box.  Don't know if it will point you in the right direction but was something I noticed and is repeatable.
One other thing I noticed is you can use the X to close the window but your courser MUST be on the extreme right EDGE of the X to highlight it.  Once highlighted you can click to close the window.
Patrick, sorry about the big patch. I chose you as reviewer because you have a win 10 machine.

A try build with this patch is available here: https://ftp-ssl.mozilla.org/pub/mozilla.org/thunderbird/try-builds/richard.marti@gmail.com-760cc75180e8

This patch implements following FX bugs:

Bug 1173725 - Title bar and tab strip should have a darker background color on Windows 10
Bug 1173728 - Remove border between tab strip and the navigation toolbar on Windows 10
Bug 1173730 - Use solid tab separator image on Windows 10
Bug 1184932 - [Windows 10] Tweak SVGs for caption buttons to match the native color + thickness more precisely on different DPI scaling settings
Bug 1186244 - Remove border artifacts between navbar and tabbar in lw-themes on Windows 10
Bug 1184656 - Use lighter separator between content and toolbars on Windows 10 and 8

Like FX, TB has still this issue:
Bug 1190462 - [Windows 10] Invisible tabs with "High Contrast White" system theme
I'll fix this in a new bug when FX knows how to fix it.
Assignee: nobody → richard.marti
Status: NEW → ASSIGNED
Attachment #8657932 - Flags: review?(clokep)
Comment on attachment 8657932 [details] [diff] [review]
Win10support.patch

Review of attachment 8657932 [details] [diff] [review]:
-----------------------------------------------------------------

I tested this out and it seemed to match the Firefox theme much better. I compared the changes with the mentioned bugs and it matches up as best as I can tell. Thanks for fixing this!
Attachment #8657932 - Flags: review?(clokep) → review+
Keywords: checkin-needed
Please nominate for Aurora.
Patch for Aurora to only fix the caption buttons.

I haven't build a Aurora build and only patched it in a omni.ja but this should work.
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 43.0
Comment on attachment 8660347 [details] [diff] [review]
Caption button patch for Aurora

[Approval Request Comment]
User impact if declined: caption buttons on win 10 not working
Testing completed (on c-c, etc.): Awaiting landing
Risk to taking this patch (and alternatives if risky): Low, only CSS changes
Attachment #8660347 - Flags: approval-comm-aurora?
Thanks.  Is the patch save enough to uplift to beta as well?
If a second beta is planned, yes. But probably with a special patch for beta.
(In reply to Richard Marti (:Paenglab) from comment #33)
> If a second beta is planned, yes. But probably with a special patch for beta.

target GTB for beta 2 is tomorrow. So today is the day to get a patch ready for kent to uplift to beta
Flags: needinfo?(richard.marti)
Patch for beta which only fixes the caption button issue. Only tested in a patched beta omni.jar.
Flags: needinfo?(richard.marti)
Comment on attachment 8660779 [details] [diff] [review]
Caption button patch for Beta

[Approval Request Comment]
User impact if declined: Non-functional caption buttons in main window
Testing completed (on c-c, etc.): landed in c-c
Risk to taking this patch (and alternatives if risky): low, only CSS changes
Attachment #8660779 - Flags: approval-comm-beta?
Comment on attachment 8660779 [details] [diff] [review]
Caption button patch for Beta

https://hg.mozilla.org/releases/comm-beta/rev/11097c52b271
Attachment #8660779 - Flags: approval-comm-beta? → approval-comm-beta+
Comment on attachment 8660347 [details] [diff] [review]
Caption button patch for Aurora

https://hg.mozilla.org/releases/comm-aurora/rev/5f9058ce1b25
Attachment #8660347 - Flags: approval-comm-aurora? → approval-comm-aurora+
I've applied the patches for beta and aurora, but the close button still does not work. If I apply the win10fixes addon, they work.

You can try these builds from the comm-beta and comm-aurora treeherder.

I think this should block the beta. This regression generated a lot of dups in a hurry.
Attached patch Fix for betaSplinter Review
[Approval Request Comment]
Regression caused by (bug #): Bug 1188778
User impact if declined: On win10 non-working caption buttons
Testing completed (on c-c, etc.): 
Risk to taking this patch (and alternatives if risky): low

Forgot beta is still processing the file with it's -aero pendant. Added !important to override the later appearing rule in -aero file.
Attachment #8661111 - Flags: approval-comm-beta?
Tested also the treeherder build of aurora and this works as it is now.
fallen can you land Richard's last patch on beta?
This is the last thing we need for GTB.
Flags: needinfo?(philipp)
Comment on attachment 8661111 [details] [diff] [review]
Fix for beta

Looks good. This attachment is the only one needed for beta?
Flags: needinfo?(philipp)
Attachment #8661111 - Flags: approval-comm-beta? → approval-comm-beta+
(In reply to Philipp Kewisch [:Fallen] from comment #43)
> Comment on attachment 8661111 [details] [diff] [review]
> Fix for beta
> 
> Looks good. This attachment is the only one needed for beta?

Yes, the other is already checked-in.
Thanks you!
Attached image TB_maximized_Win10.png
I can still reproduce the problem mentioned in comment 13 in beta (41.0; 20150916122016). Will this be fixed with TB 42?
Yes, this is fixed in TB 42.
Thank you!
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: