Bug 270350 - Changes to chatwindow style are not applied instantly
Summary: Changes to chatwindow style are not applied instantly
Status: RESOLVED FIXED
Alias: None
Product: telepathy
Classification: Unmaintained
Component: text-ui (show other bugs)
Version: git-latest
Platform: Compiled Sources Linux
: VLO minor
Target Milestone: Future
Assignee: Telepathy Bugs
URL:
Keywords:
: 319902 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-04-07 19:27 UTC by Kai Uwe Broulik
Modified: 2013-05-21 12:49 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 0.7.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kai Uwe Broulik 2011-04-07 19:27:50 UTC
Version:           git-latest (using KDE 4.6.2) 
OS:                Linux

When I change the chatwindow style (e.g. the color scheme) the setting is applied to new chat windows only (or if I close the chat window and open it again).

Reproducible: Always
Comment 1 David Edmundson 2011-04-08 00:46:01 UTC
This is very hard to do. I would need (at a minimum) to keep track of all messages sent/received, as well as some mechanism to detect config changes.. Waiting till the logging mechanism in place.

Very low priority at present.

Though I should put a label in the config making this clearer.
Comment 2 David Edmundson 2013-01-19 02:57:54 UTC
Now TpLoggerQt is a mandatory requirement, this becomes do-able.

We simply need to call initialise() again, and most things should work.
Ideally we should load the logs back from when the conversation started.
Comment 3 David Edmundson 2013-05-16 09:23:42 UTC
*** Bug 319902 has been marked as a duplicate of this bug. ***
Comment 4 Daniel Vrátil 2013-05-21 12:49:55 UTC
Git commit 62bb42b610fc4d9228ed77a61dbef143658d8340 by Dan Vrátil.
Committed on 21/05/2013 at 14:48.
Pushed by dvratil into branch 'master'.

Apply theme changes immediately

(text-ui now depends on TelepathyLoggerQt4 0.7.95/0.8.0)
REVIEW: 110545
FIXED-IN: 0.7.0

M  +1    -1    CMakeLists.txt
M  +16   -1    app/chat-window.cpp
M  +1    -0    app/chat-window.h
M  +2    -0    config/appearance-config.cpp
M  +3    -0    config/appearance-config.h
M  +24   -4    lib/chat-widget.cpp
M  +2    -0    lib/chat-widget.h
M  +28   -45   lib/logmanager.cpp
M  +18   -4    lib/logmanager.h

http://commits.kde.org/telepathy-text-ui/62bb42b610fc4d9228ed77a61dbef143658d8340