Closed Bug 1529295 Opened 6 years ago Closed 5 years ago

Unable to scroll when modifying an instant messaging account properties

Categories

(Thunderbird :: Instant Messaging, defect, P3)

defect

Tracking

(thunderbird_esr6868+ fixed, thunderbird69 fixed, thunderbird70 fixed)

VERIFIED FIXED
Thunderbird 70.0
Tracking Status
thunderbird_esr68 68+ fixed
thunderbird69 --- fixed
thunderbird70 --- fixed

People

(Reporter: clokep, Assigned: aleca)

Details

(Keywords: regression)

Attachments

(2 files, 2 obsolete files)

Not sure when this broke, but when creating an instant messaging account in the account wizard when you get to the "advanced" step you can no longer scroll, so some options are cut-off at the bottom.

Looks like the last bug to touch this was bug 1520643?

OK, so this seems to work in the account wizard for me now, but when going back to modify an account properties you are unable to scroll within the account properties.

Summary: Unable to scroll when creating an instant messaging account → Unable to scroll when modifying an instant messaging account properties

Was testing this UI due to bug 1562447 and I'm able to scroll now. Looks like this got fixed at some point.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WORKSFORME

I seem to have confused myself with my previous comment.

This is still broken, but only when modifying an existing account. Creating a new account works fine.

Steps to reproduce:

  1. Create (or have) an instant messaging account
  2. Go in the account properties (on the "Chat" tab click "Show Accounts", then select your account, then click the "Properties" button).
  3. Observe that the "General" properties should be able to be scrolled and can't.

Note that I do have OTR enabled, but I believe I originally observed this before any of that code landed.

Alex, I think this would be something quick to fix and I think we messed with this page recently for the OTR stuff, could that have broken it?

Status: RESOLVED → REOPENED
Flags: needinfo?(alessandro)
Resolution: WORKSFORME → ---
Version: Trunk → 68

It seems like this section is missing a <vbox flex="1" style="overflow: auto;"> wrapping all the other elements, which other sections have.
I'm not sure if this was regressed by the implementation of the OTR tab, anyway, it's an easy fix indeed.
Do you want me to take care of it?

Flags: needinfo?(alessandro)

(In reply to Alessandro Castellani (:aleca) from comment #4)

Do you want me to take care of it?

If you have time for it, that'd be great! I'm slammed at work for the next couple of weeks.

Assignee: nobody → alessandro
Priority: -- → P3

Hmm, when modifying a chat account, there's no scroll bar, but when creating a new chat account, there is.

Attachment #9085145 - Flags: review?(clokep)

Sorry for the double request, I fixed some messed up indentation.

Attachment #9085145 - Attachment is obsolete: true
Attachment #9085145 - Flags: review?(clokep)
Attachment #9085148 - Flags: review?(clokep)

Jorg, I think Patrick is super busy.
Since you know the issue, would you be able to review this patch?

Flags: needinfo?(jorgk)

I'm not really a XUL guy. Let's try Richard.

Flags: needinfo?(jorgk) → needinfo?(richard.marti)
Comment on attachment 9085148 [details] [diff] [review] 1529295-chat-account-properties.patch Let's go ahead and ask for a full review.
Flags: needinfo?(richard.marti)
Attachment #9085148 - Flags: review?(clokep) → review?(richard.marti)
Comment on attachment 9085148 [details] [diff] [review] 1529295-chat-account-properties.patch Yes, adding this vbox fixes the issue.
Attachment #9085148 - Flags: review?(richard.marti) → review+

Thanks for the review.
I updated the comment to reflect the right reviewer.
I started a try push here, but all our previous builds seem to be busted, so, let's wait: https://treeherder.mozilla.org/#/jobs?repo=try-comm-central&revision=ac7198b958fb5e4530fff56ef482102074d0145e

Attachment #9085148 - Attachment is obsolete: true
Attachment #9085881 - Flags: review+

I'll check the try before landing it, the shippable build will work. BTW, I can change the reviewer when checking stuff in ;-)

Keywords: checkin-needed
Comment on attachment 9085881 [details] [diff] [review] 1529295-chat-account-properties.patch And you want that fixed everywhere, right?
Attachment #9085881 - Flags: approval-comm-esr68+
Attachment #9085881 - Flags: approval-comm-beta+

(In reply to Jorg K (GMT+2) from comment #14)

I'll check the try before landing it, the shippable build will work. BTW, I can change the reviewer when checking stuff in ;-)

Thank you so much. I didn't want to give you extra work if it's a simple thing I can change and remember to do :D

And you want that fixed everywhere, right?

That'd be awesome.

Looks a whole less threatening when you ignore white-space ;-)

Hmm, why the change to readonly="readonly"? I can't see any examples for this in the tree. Should you submit a new patch, please change the commit message to: Add scrollbar to instant messaging account properties panel. The bug summary is rarely a good commit message.
See: https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/How_to_Submit_a_Patch
"The text of the message should be what you did to fix the bug, not a description of what the bug was."
(I'm surprised, since usually I don't need to edit your commit messages :-) )

Flags: needinfo?(alessandro)
Keywords: checkin-needed

Oh, I missed this one. :-(
It's a XUL textbox, so it should be readonly="true".

Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/c25118b0881d
Add scrollbar to instant messaging account properties panel. r=Paenglab DONTBUILD

Status: REOPENED → RESOLVED
Closed: 5 years ago5 years ago
Resolution: --- → FIXED

Landed with the readonly fixed. Of course we uplift the landed patch, not the attached one.

Flags: needinfo?(alessandro)
Target Milestone: --- → Thunderbird 70.0

Alex, Richard, Jorg -- thanks for taking care of this! You guys rock!

Scrollbar present in TB 68 ESR.

Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: