Closed (fixed)
Project:
Aloha Editor (obsolete)
Version:
7.x-2.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Issue tags:
Reporter:
Created:
27 Sep 2012 at 14:02 UTC
Updated:
4 Jan 2014 at 02:24 UTC
Jump to comment: Most recent, Most recent file

Comments
Comment #1
webchickThis is happening in Ember too, which makes this a release blocker for Spark. :(
Comment #2
psynaptic commentedI'll take a crack at this.
Comment #3
psynaptic commentedPatch attached.
Comment #4
psynaptic commentedThe earlier patch caused an issue with the Spark distro - there was a gap between the tabs and the buttons.
I had to set the aloha surface to use fixed pixels for font-size, otherwise I couldn't set the necessary line-height that would make it work across themes with different base font-sizes.
Comment #5
wim leerslgtm, works well, but why is the
overflow: visiblenecessary?Comment #6
psynaptic commentedThe
overflow: visible;was necessary to show the dropdown in certain themes. Sky theme aggressively setsbutton(and various other elements) tooverflow: hidden;which causes the dropdown to be hidden. Forcing this for Aloha has no negative consequence that I can think of so it should be pretty safe.Comment #7
wim leersFair enough :)
Committed — thanks! :)
- D7: http://drupalcode.org/project/aloha.git/commit/78fdd92
- D8: http://drupalcode.org/project/aloha.git/commit/39c503b
P.S.: I'm deeply sorry, I forgot to attribute you :( I'm relying on Dreditor to generate commit commands, so I'm simply copy-pasting from the browser, but for some reason Dreditor is not yet smart enough to look up the attributions automatically :( As soon as I realized it, I tried to cancel the push, but it already was too late :(
Comment #8
psynaptic commentedIt's a real shame about the git attribution. This is one of my main motivating factors in trying to help out!
Comment #9
wim leersI freaking hate the fact that I cannot undo pushes. I understand that d.o must protect contributors' local git clones from becoming messed up, but it *should* be possible. Or even better, the attribution should happen automatically based on the fact that somebody rolled patches in the issue corresponding to the commit.
Because that's another area where git's attribution breaks down: it only allows for *ONE* author. Silly git.
OTOH, you *are* properly credited in the commit message, and any of the "contributor stats" things are actually based on that instead of the git attribution, because git's attribution is so limited.
Comment #10
psynaptic commentedNo biggie. I'll just have to do another patch to make up for it!
Comment #11
webchickCould always revert and re-do the push. :)
Thanks for your help, psynaptic!
Comment #12
wim leersRe-do the push? That's impossible AFAIK? Unless you have git superpowers?
Comment #13
webchickOh, I meant git revert [hash]; git push; git commit --author=... -m "xxx"; git push. But it's kind of a pain.
Comment #14
wim leersAnd that would result in a *clean* history, *and* git.d.o allows these for non-superpowered-beings such as myself?
Comment #15
psynaptic commentedgit.d.o should definitely allow you to shoot yourself in the foot, if you have that requirement :)
The idea behind not force pushing to a public repo is that someone could have based their work off yours already, and you don't want to cause them a world of pain. In this case I would just leave it, but I do believe that if you just pushed like 2 seconds ago and need to amend a commit message, squash some debugging commits, or otherwise rewrite the history without changing the contents, you (i.e., everyone with commit access) should be allowed to force push to fix their mistake.
Comment #16
wim leers#15: RE: "The idea". I know. And I agree.