Bug 75793 - Window should not resize for RTF header on focus
Summary: Window should not resize for RTF header on focus
Status: RESOLVED FIXED
Alias: None
Product: knotes
Classification: Unmaintained
Component: general (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR wishlist
Target Milestone: ---
Assignee: Michael Brade
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-21 21:24 UTC by Brian Hunt
Modified: 2004-03-19 22:20 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Hunt 2004-02-21 21:24:01 UTC
Version:            (using KDE KDE 3.2.0)
Installed from:    Debian testing/unstable Packages
OS:          Linux

When you give focus to a knote, either through mouseover or otherwise, the window changes size to accomodate the Rich Text Format header (Bold, Italics, etc., buttons). This is very annoying; the window should not change size without explicit user intervention.

Either the RTF headers should always be there, they should be activated with an explicit user action, or they should not be there at all.
Comment 1 Michael Brade 2004-02-22 14:29:29 UTC
Honestly, I have no other, better concept. If you can propose one regarding
"activated with an explicit user action", I'd be more than happy to 
consider it. However, always being there and never be there is no option.

Thanks,
  Michael
Comment 2 Brian Hunt 2004-02-22 17:24:00 UTC
I think a right-click context menu with "Show RTF menu" would be sufficient, as per konsole's "Show menubar". In combination with a good set of shortcuts, ala Bug 68031, an on-mouseover RTF menu could be considered superfluous.

Mind you, my problem is with the resizing of the window and how it "jiggles" the content, making user interaction a little less predictable.

It might help to see the RTF menu appear on mouseovers if it did not resize the window, only push the content down. Mind you, this does not really solve the "jiggling", per se.

Another, perhaps better, alternative would be to put the RTF menu at the bottom of the note, so that the position of the content did not change on mouseover. This could make a window resize less intrusive, too, I think. (Or it could just appear inside the window, without a resize)

Comment 3 Michael Brade 2004-02-24 08:16:16 UTC
Ahh, ok, these are indeed quite good points. Thanks a lot for that! I will try 
to experiment with a toolbar on the bottom of the note and with non-resizing 
notes. As a last resort, as you said, we could put an option in the RMB menu 
and/or make it configurable.

First I will have to fix some real (RTF) bugs though...

Cheers,
  Michael
Comment 4 Michael Brade 2004-03-19 22:20:48 UTC
CVS commit by brade: 

Hacking and bugfixing in the car from Munich to Hannover (CeBIT):
 * fixed updating the icon in the notes menu after a color change
 * fixed change of font family in richt text mode
 * fixed updating of font and font size combo box
 * fixed bug that made the html source show up in a text note when switching
   from rich text to plain text and then restarting KNotes
 * make KNotes interpret the text as rich text when switching from pain text
   to rich text
 * moved the rich text -> plain text conversion to KNoteEdit
 * finally switched rich text toolbar to XMLGUI as well
 * fixed #60841: include the title as subject by default when mailing a note
 * make mailing a note possible again at all - KMail now needs --body and not
   --msg as argument
 * convert rich text notes to plain text before emailing them
 * fixed #75793: notes should not resize in RT mode, moved to the bottom of
   the note (needs some more work, the resize handle should be next to the
   toolbar, IMHO)

CCMAIL: 60841-done@bugs.kde.org, 75793-done@bugs.kde.org

All this stuff should be backported, will do so when I'm back in Penzberg
or if I have enough time during CeBIT... :)


  M +18 -0     ChangeLog   1.64
  M +8 -7      TODO   1.12
  M +33 -22    knote.cpp   1.106
  M +1 -0      knote.h   1.38
  M +80 -43    knoteedit.cpp   1.37
  M +4 -2      knoteedit.h   1.23
  M +1 -1      knotes.kcfg   1.2
  M +5 -4      knotesapp.cpp   1.79
  M +21 -1     knotesui.rc   1.6