Ticket #11602 (closed defect: fixed)
Showing/hiding an emoticon causes chat text not to rearange in chat window
| Reported by: | xja | Owned by: | |
|---|---|---|---|
| Milestone: | Adium 1.3.3 | Component: | Message View |
| Version: | 1.3.3b2 | Severity: | normal |
| Keywords: | Cc: | ||
| Patch Status: | Accepted |
Description
After hiding a large emoticon the chat frame (in smooth operator message style) do resize but a blank space is added at the bottom of the window, so the message previuos to that with the emoticon stays stuck with its position and the following "floats" over the bottom. Here's the aspect of the "floating" message. Bye
Attachments
Change History
comment:1 Changed 3 years ago by xja
There's also to say that this behaviour doesn't happen when the scrollbar is present. Bye
comment:2 Changed 3 years ago by mathuaerknedam
- pending changed from 0 to 1
- Milestone set to Needs feedback from users
So this happens with the builtin Smooth Operator message style? What emoticon set? A particular emoticon or any of them? I need to know exactly how to replicate your problem.
comment:4 Changed 3 years ago by xja
- pending changed from 1 to 0
This happened with Monkey Icons Refined, the emoticon was triggered by a "mmm" within the text.
Bye
comment:5 Changed 3 years ago by mathuaerknedam
I started a new chat with Smooth Operator and Monkey Icons Refined. I typed "mm" pressed enter and saw the monkey icon. I clicked on the icon and it changed to "mm". I clicked on it again and it changed back into the monkey icon. Never was there a gap. I cannot reproduce the problem, is it consistent for you?
comment:7 Changed 3 years ago by xja
- pending changed from 1 to 0
It's still there in b3, it happens also with smaller emoticons.
I have a MacBook (1,1) with Mac OSX 10.5.6.
bye
comment:10 Changed 3 years ago by mathuaerknedam
Aha! I can now reproduce this, but only when there is no scrollbar. Can you confirm that the problem goes away when there is a vertical scrollbar?
comment:11 Changed 3 years ago by mathuaerknedam
I found the problem and I'm in the process of making a patch.
comment:12 Changed 3 years ago by Robby
- Patch Status changed from None to Needs Dev Review
- Milestone changed from Needs feedback from users to Adium 1.3.3
comment:13 Changed 3 years ago by mathuaerknedam
The patch does three things, though only one of them is necessary to fix this bug.
- I replaced the bits of indentation by spaces with indentation by tabs.
- I removed all instances of <tab><newline> with <newline> (in accordance with CodingStyle).
- I added to the function imageCheck:
var shouldScroll = nearBottom();
and
alignChat(shouldScroll);
comment:14 Changed 3 years ago by catfish_man
- Status changed from new to closed
- Resolution set to fixed
(In [25829]) Patch from mathuaerknedam that fixes #11602
comment:15 Changed 3 years ago by Robby
- Patch Status changed from Needs Dev Review to Accepted
Merged to branch in [25830].


