Closed
Bug 913441
Opened 12 years ago
Closed 12 years ago
Restore scrolling plugin temporarily
Categories
(developer.mozilla.org Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: Jeremie, Unassigned)
References
Details
(Whiteboard: [specification][type:bug])
What did you do?
================
1. Edit a page
What happened?
==============
The edit toolbar scroll with the whole page
What should have happened?
==========================
The edit toolbar should be stick to the top of the window and never scroll with the rest of the content
Is there anything else we should know?
======================================
This is a regression!
Comment 1•12 years ago
|
||
This really really needs to be fixed. It makes the editor extremely awkward bordering on impossible to use.
Comment 2•12 years ago
|
||
I know we've spoken about this before, but what is the issue with using the "Maximize" button?
Comment 3•12 years ago
|
||
In maximize mode the page has a completely different width than the real one. Impossible to see the layout.
Comment 4•12 years ago
|
||
One idea (and this is just an idea) comes to mind.
Right now, the editor has a dynamic height. It is always exactly as long as the article itself. What if we gave the editor a fixed height and a scrollbar instead? That way, the toolbar would always be on the screen, the scrolling behavior would be reasonable, and writers could still use the full-screen button for a full-screen experience.
Like this:
http://jsfiddle.net/cPpEK/embedded/result/
I know this would still not be ideal but it might be a nice stop-gap, solving /almost/ all problems, until we update the editor to look more like that of Google Docs as a long-term solution.
Comment 5•12 years ago
|
||
That would work for me John.
Reporter | ||
Comment 6•12 years ago
|
||
So do I, as long as we are avoiding double scrollbar in the page.
Comment 7•12 years ago
|
||
This does not necessarily depend on bug 913565 -- we can correct this issue in the short-term while working on bug 913565 in the long-term.
Jeremie, can you please clarify what you mean by double scrolling? Would something like the following be undesirable?
http://jsfiddle.net/cPpEK/1/embedded/result/
No longer depends on: 913565
Comment 8•12 years ago
|
||
Actually, please ignore that link. Jeremie, would something like *this* be undesirable?
http://fiddle.jshell.net/cPpEK/1/show/light/
Reporter | ||
Comment 9•12 years ago
|
||
Yes that exactly what I want to avoid (both links show some interesting mess with scrollbars)
Comment 10•12 years ago
|
||
Therein lies the challenge. If the editing area were a small window, but the main scrollbar still controlled its contents, we would have the same problems we fixed in bug 780180.
We have two options for the size of the editor: it can either be small (as I show in my jsFiddle demo) or it can be big (as I propose in bug 913565). We also have two options for number of scrollbars: we can either have one scrollbar, or we can have two scrollbars.
Some combinations of these options work well, but some do not. A big editing area with one scrollbar works well (this is what Google Docs does). A small editing area with two scrollbars also works well (this is what MediaWiki does). But a small editing area with one scrollbar -- that's what caused the confusing and problematic behavior described in bug 780180.
Updated•12 years ago
|
Blocks: 780180
Summary: Edit toolbar is no longer fixed (sticky) at the top of the window → Remove scrolling plugin, make editor a small textarea with a separate scrollbar
Comment 11•12 years ago
|
||
We are planning to temporarily re-enable the scrolling plugin. This will keep the editor buttons on the screen, but will also bring back the confusing and problematic scrolling behavior tracked in bug 780180.
There are three possible long-term solutions. All of these long-term solutions will keep the editor buttons while simultaneously providing sensible scrolling behavior. The three possibilities are:
1. Close this bug by making the editor a small box with a separate scrollbar.
2. Close bug 913565 by making the editor more like that of Google Docs.
3. Close this bug first (it's easy) and then close bug 913565 later as an even
better solution.
Summary: Remove scrolling plugin, make editor a small textarea with a separate scrollbar → Remove scrolling plugin, make editor a small box with a separate scrollbar
Comment 12•12 years ago
|
||
Commits pushed to master at https://github.com/mozilla/kuma
https://github.com/mozilla/kuma/commit/1658fa4e5672746283eedbe1cc50fb8fc700d90d
fix bug 913441 - Put back the wiki edit scrolling behavior
https://github.com/mozilla/kuma/commit/cbb7a2572ac363d0b4c4d414065e94a6b147481f
Merge pull request #1350 from darkwing/sticky-header-913441
fix bug 913441 - Put back the wiki edit scrolling behavior
Updated•12 years ago
|
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Comment 13•12 years ago
|
||
I will open a separate bug for option 1 of comment 11, since that may be the best approach to solving the editor issues that cropped up in the redesign. Option 2 would take us far too long, and option 3 can be considered longer-term.
Updated•12 years ago
|
Summary: Remove scrolling plugin, make editor a small box with a separate scrollbar → Restore scrolling plugin temporarily
Updated•5 years ago
|
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•