TB 68: Invite Attendee dialog is partly broken and scroller is very laggy
Categories
(Calendar :: Dialogs, defect)
Tracking
(Not tracked)
People
(Reporter: d.spitznagel, Assigned: darktrojan)
References
Details
Attachments
(5 files, 1 obsolete file)
136.63 KB,
image/jpeg
|
Details | |
4.22 KB,
patch
|
pmorris
:
review+
pmorris
:
approval-calendar-beta+
pmorris
:
approval-calendar-esr+
|
Details | Diff | Splinter Review |
13.37 KB,
patch
|
pmorris
:
review+
jorgk-bmo
:
feedback-
pmorris
:
approval-calendar-beta+
pmorris
:
approval-calendar-esr+
|
Details | Diff | Splinter Review |
13.98 KB,
patch
|
pmorris
:
approval-calendar-esr+
|
Details | Diff | Splinter Review |
21.31 KB,
image/png
|
Details |
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0
Steps to reproduce:
- Opened calendar and doubleclicked into it to open "New Event" dialog.
- Pressed "Invite Attendees".
- Dialog pops up and shows successfully freebusy information.
- Started entering a valid email address present in my addressbooks.
Actual results:
- The desired address was not resolved.
Digging deeper into this problem I found out, that only addresses from "Collected Addresses" are being resolved.
In TB 60.8.0 matches from "all" addressbooks where shown. - After adding the correct address by hand the freebusy information was read from the caldav server sucessfully but the timebar from that attendee looked displaced.
- The scrollbar in the timeview is missing right scroll button.
- Using the scrollbar with pressed left mouse button and move it left or right is laggy and does not really scroll - it jumps!
Expected results:
- All matching email addresses from all address books should work, not only from Collected Addresses".
- Timebar from attendees should look like the one from organizer.
- Scrollbar should habe left and right button and scroll correctly.
Updated•5 years ago
|
Updated•5 years ago
|
Comment 1•5 years ago
|
||
Hmm, yes, the right scroll button is missing and it doesn't seem to scroll very well. I don't have CalDAV, so I can't speak to the attendee timebar being displaced.
Address entry works however, I've just added tree attendees from my Personal Address Book. Address auto-complete uses the same underlying function everywhere in TB, so I'd be surprised if this one here were special. Does address entry work correctly on the Write window and when adding addresses to a mailing list?
Reporter | ||
Comment 2•5 years ago
|
||
In "write" window ALL address books are being used (also cardDAV). Mailing lists are also being shown but do not expand, but this is intended I think?
We use "Provider for CalDAV & CardDAV from John Bieling/Jobisoft" for it.
I did some more tests today and you seem right. Attendee Invite dialog uses only "local" addresses, "local" mailing lists (which get expanded) from "local" addressbooks.
Sorry for the confusion.
Only cardDAV addresses are NOT working but they work in the "write" dialog and everywhere in TB 60.8.0.
Reporter | ||
Comment 3•5 years ago
|
||
The timebar is also displaced for me when I use an address from local addressbook.
The bars look like a "wall" instead of a "grid" (see screenshot).
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 4•5 years ago
|
||
This brings the end of the scrollbar back into view and lines up the grid again.
Comment 5•5 years ago
|
||
Comment on attachment 9091367 [details] [diff] [review] 1579030-attendees-again-1.diff Review of attachment 9091367 [details] [diff] [review]: ----------------------------------------------------------------- Code changes look fine. When I tried it the scroll bar was working as expected again (thank goodness!) (with no left/right buttons, which seems fine and good to me), and the grid looked correct when adding attendees besides the organizer. The part about address book auto-filling would make sense to tackle in a separate bug.
Updated•5 years ago
|
Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/cca546ac6667
Fix several layout issues in attendees dialog. r=pmorris
Updated•5 years ago
|
Comment 7•5 years ago
•
|
||
TB 70 beta 1:
https://hg.mozilla.org/releases/comm--beta/rev/854460d7ac7310118dd2ad4f35a6614f10d8f2a1
Comment 8•5 years ago
•
|
||
TB 68.1 ESR / Cal 7.0:
https://hg.mozilla.org/releases/comm--esr68/rev/9317dad8cb7fd80a47cb3b40253c73127f776535
Hello Mr. Spitznagel, I'll provide you with a download link for the 68.1 pre-release later.
Comment 9•5 years ago
|
||
Hi, the invitee dialogue looks OK in this build:
https://queue.taskcluster.net/v1/task/PlRnlipYSb-zOdZJQzh_rg/runs/0/artifacts/public/build/install/sea/target.installer.exe
However, if you run it on an existing profile, it's very hard to convince the Lightning add-on to refresh. I can give you more instructions, but it would be easiest to try it on a new profile.
Reporter | ||
Comment 10•5 years ago
|
||
@Jork K
You are right, it did not work with my existing TB 68.1 profile - nothing changed.
What can I do to force Lightning to refresh? Removing the profile is not a real solution.
Comment 11•5 years ago
|
||
It's a long process:
- Remove the Lightning Extension in the Add-ons Manager
- Reset pref extensions.installedDistroAddon.{e2fda1a4-762b-4020-b5ad-a41df1933103}
- Restart TB with command line -purgecaches
That should bring back TB with a new version of LN. Let's see whether that works for you.
Reporter | ||
Comment 12•5 years ago
|
||
I was able to refresh Lightning following your advice.
The timeline looks now correct when adding attendee > It shows a grid instead of a wall.
The right scroll button is also visible now but both (left and right scroll button) are doing nothing but moving the scroll bar from left to right.
They don't change (move) the timeline window above!!!!
The scroll bar is also not working correctly when holding left mouse button and move right into future.
For example...
The invitation starts on 13. September.... I move the scrollbar to the right... it shows 14. September... I move the scrollbar further right... it shows AGAIN 14. September... I move the scrollbar further right... it shows AGAIN and AGAIN 14. September (multiple times) until I reach the end of the scroll bar.
Comment 13•5 years ago
•
|
||
Yes, seems totally broken still. On Daily I see new dates when scrolling, but on 68 ESR I don't. On both, the arrows only move the bar, not the dates above :-( - Sigh. Sadly we're relatively late in the TB 68.1 ESR release process, so this won't be fixed before we ship. I noticed that "Next Slot" moves the dates forward.
Updated•5 years ago
|
Assignee | ||
Comment 14•5 years ago
|
||
I'm aware there are bigger issues. I only fixed what I said I fixed. My objective was to get it somewhere approaching usable, but the thing needs a complete overhaul.
As far as the scrollbar is concerned, in my experience it does work if you drag it.
Comment 15•5 years ago
|
||
As far as the scrollbar is concerned, in my experience it does work if you drag it.
Sadly that's not the case in TB 68. For example, if you set it to 25%, the same days keep scrolling past you as you drag from left to right. I feel like looking in a surreal Escher picture. Please take another look. It works OK on trunk.
Assignee | ||
Comment 16•5 years ago
|
||
I don't know what's causing scrolling problems that I don't see, but throwing the whole thing out and doing it in a different way should work, right? ;-)
Comment 17•5 years ago
|
||
Rebased to ESR 68 with its 4-spaces indents. Note: I did it the "smart" way using patch -l
, but still three hunks had to be done manually. Let's see whether it works:
https://treeherder.mozilla.org/#/jobs?repo=try-comm-central&revision=e44d40877e1455d3546be5e15f4244c9edfa69a2
Build for Windows and Linux with all tests.
Oh, I saw that most of the hunks got applied with two spaces, that will give linting errors:
https://hg.mozilla.org/try-comm-central/graph/e44d40877e1455d3546be5e15f4244c9edfa69a2
https://hg.mozilla.org/try-comm-central/rev/8c544474920ddeeb2903a4ca860a0e56a1ec524a
Comment 18•5 years ago
|
||
Fixed indentation and pushed again to try:
https://treeherder.mozilla.org/#/jobs?repo=try-comm-central&revision=24727634131facf68c7a40b024466a1f07391786
Comment 19•5 years ago
|
||
Comment on attachment 9091981 [details] [diff] [review] 1579030-attendees-again-again-1.diff Review of attachment 9091981 [details] [diff] [review]: ----------------------------------------------------------------- LGTM. Scrolling still works fine here, and yay for simpler code.
Comment 20•5 years ago
|
||
Comment on attachment 9092029 [details] [diff] [review] esr68.patch Review of attachment 9092029 [details] [diff] [review]: ----------------------------------------------------------------- LGTM.
Comment 21•5 years ago
|
||
Sorry, but that doesn't work in TB 68. There is no grid, the scrollbar is as wide as the area above, you can't scroll, neither with the arrows, nor with the scrollbar which occupies the entire space.
Paul, have you tried my try build?
https://treeherder.mozilla.org/#/jobs?repo=try-comm-central&revision=24727634131facf68c7a40b024466a1f07391786
Since TB 70 and TB 71 are working, what's the point of the patch apart from the "yay for simpler code"?
Comment 22•5 years ago
|
||
Scrolls OK in the trunk version. But if the scroll arrows are dysfunctional, why not remove them? That goes for 68, too.
Comment 23•5 years ago
|
||
Hm... Jorg, I just tried it on 68.1.0 (thanks for the tip on how to find the build) and it works fine here on Linux. The grid and scrollbar look fine, and scrolling works as expected. There are no scrollbar buttons, but that is the default for this platform, AFAICT. (I noticed that the blue column that indicates when the event is does not exactly line up with the grid, it's a little too far to the right, but that's unrelated to Geoff's patch.) I assume you tested it on Windows? Maybe it's a platform thing?
Comment 24•5 years ago
|
||
Sorry, but on Windows in a new profile this is totally borked. Not even the invitee entry works, enter opens a new entry below, but the cursor doesn't move there.
And this comes out on the error console:
TypeError: templateNode is undefined
calendar-event-dialog-attendees-custom-elements.js:2819:23
TypeError: freebusy is null
calendar-event-dialog-attendees-custom-elements.js:2872:13
TypeError: roleStatusIcon is null
calendar-event-dialog-attendees-custom-elements.js:722:13
TypeError: freebusy is null
calendar-event-dialog-attendees-custom-elements.js:2872:13
TypeError: roleStatusIcon is null
calendar-event-dialog-attendees-custom-elements.js:722:13
TypeError: freebusy is null
15 calendar-event-dialog-attendees-custom-elements.js:2872:13
TypeError: freebusy is null
119 calendar-event-dialog-attendees-custom-elements.js:2872:13
Note the 119 occurrences and I didn't even past all the errors. Maybe that's due to an empty profile with no identities defined. I'll try on another profile.
Certainly not ready for prime time.
Comment 25•5 years ago
•
|
||
Yes, seems OK on an existing profile with identities and such. Paul, can you try a new profile, please.
EDIT: I was going to say: We missed TB 68.1 ESR, so this can be tweaked to work when Geoff returns. For now, I won't land it.
Comment 26•5 years ago
|
||
Yes, trunk totally misbehaves on an empty profile. So that should be easy to fix then.
Comment 27•5 years ago
|
||
Comment on attachment 9091981 [details] [diff] [review] 1579030-attendees-again-again-1.diff Messing up badly on new profile, but otherwise OK on trunk and 68.
Comment 28•5 years ago
|
||
Well, the current version of 68.1 without the follow-up patch can also not handle an empty profile. TB 60 works OK on an empty profile.
Comment 29•5 years ago
•
|
||
(In reply to Jorg K (GMT+2) from comment #25)
Yes, seems OK on an existing profile with identities and such. Paul, can you try a new profile, please.
I tried it with a new profile on trunk and can confirm it's badly broken. After I added an email account things worked again. Then I tried removing the account and things still worked. The email address for the removed account was already there on the top line upon opening the dialog.
Edit: after restarting TB with the account removed things were broken again.
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Comment 31•5 years ago
|
||
OK, Geoff filed bug 1581486 for the "no mail account" issue. So let's land the patch here.
Comment 32•5 years ago
|
||
Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/08374e5b0ac0
Change how horizontal scrolling works in attendees dialog. r=pmorris DONTBUILD
Comment 33•5 years ago
|
||
Paul, should I land the patch for TB 68 or you want to do the prettifying first? Then we can used the trunk patch.
Comment 34•5 years ago
|
||
I'd say let's hold off and land this on 68 after 68 is auto-formatted with Prettier.
Comment 35•5 years ago
|
||
TB 68.1.1 or TB 68.2 / Cal 7.0.1.1 or 7.0.2:
https://hg.mozilla.org/releases/comm-esr68/rev/091af0b65a5946134a041b53f1e7b3ce5e8cc4c5
I landed the rebased ESR 68 patch since I had to do a new 68 build for other reasons and I wanted to try it for real. Whether it got landed before or after prettify didn't really matter. Silly to ask when I ignored the reply, but other things came up.
Comment 36•5 years ago
|
||
Comment 37•5 years ago
|
||
Hello Mr. Spitznagel, try this one if you can manage to get Lightning updated:
https://queue.taskcluster.net/v1/task/FtpXvN-jR8y_zBd4MRv4_g/runs/0/artifacts/public/build/install/sea/target.installer.exe
This is another 68.1.0 which will come out as 68.1.1 later.
Comment 38•5 years ago
|
||
We're rebuilding that as 68.1.1 which won't have update/upgrade issues.
64bit: https://queue.taskcluster.net/v1/task/NMlm4cccQ6KtYy_nkQlIJw/runs/0/artifacts/public/build/install/sea/target.installer.exe
32bit: https://queue.taskcluster.net/v1/task/c_KMEB0bTxGyH_e4uE2PVw/runs/0/artifacts/public/build/install/sea/target.installer.exe
Reporter | ||
Comment 39•5 years ago
|
||
Hello Jork K,
I've installed the 32bit one from Comment 38 > no Lightning update issues.
What I have tested...
- Scroller works as expected when dragging > timeline above moves too as expected.
- Left and right scroller buttons move the scrollbar very very very slow and do not change timeline above.
- Freebusy Info is looking correkt > grid style.
- Adding attendee from CardDAV addressbook does NOT autocomplete but SHOWS freebusy info when entered in FULL (complete).
result:
1 + 3 > fixed
2 + 4 > partly broken
Comment 40•5 years ago
|
||
Thanks for testing. Can you please file two new bugs for items 2 and 4 and CC me and :darktrojan. This bug has become too confusing now.
Description
•