Bug 306545 - Change chat text view font size using Ctrl+Mouse and Ctrl +/-
Summary: Change chat text view font size using Ctrl+Mouse and Ctrl +/-
Status: RESOLVED FIXED
Alias: None
Product: konversation
Classification: Applications
Component: ircview (show other bugs)
Version: 1.4
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: argonel
URL:
Keywords: accessibility, usability
: 314941 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-09-10 13:04 UTC by Xavier Hourcade
Modified: 2016-09-14 17:57 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Xavier Hourcade 2012-09-10 13:04:23 UTC
Wish: Zoom view font using Ctrl+Mouse

Changing font is currently a little heavy (several clicks, select a font, Apply to test until good).
It is an sight adjustment need, which may depend on the real light in the room at a given time, etc.

Konsole offers this, Kate offers this, Okular offers this... then in the "other" World, Firefox offers this, Thunderbird Chrome offers this, etc etc. :) Hence, Ctrl+Mouse feels a very natural way to adjust text (and its absence in Konv may be perceived as a limitation).

In contrast with most other apps, in Konversation I don't think there any need to have per-chan property : it's a global view requirement, still (one change, all chans affected).
Comment 1 Xavier Hourcade 2012-09-11 01:54:28 UTC
(...from "the other part" of my notes ^^...)

"Common" keyboard shortcuts, icon and menu actions would make sense also :
  [Ctrl] [+] Enlarge Font
  [Ctrl] [-] Shrink Font
  [Ctrl] [0] Reset Font (see below)
NB. In the absence of a classic "View" menu, actions could be placed under "Edit" or "Window" menu ?

1. Without a Reset Font action, Shrink/Enlarge could directly modify the existing Konv' Font Size value -- as currently accessible under Settings > Configure > Font > Size. This value could be saved while quitting the application, just like if the User had changed it via the UI (as it stands now). Simpler and easier ?

2. If a Reset Font action was implemented, the *default* value to apply, could be -- either :
  a. the existing Konv pref, in which case the modified value would be lost when quitting Konv ?
or
  b. the KDE Setting pref, in which case the modified value would be stored as the Konv pref ?

My personal preference would go for 2.a), otherwise 1)
Comment 2 mayank 2013-03-22 14:33:32 UTC
https://git.reviewboard.kde.org/r/109659/ this patch fixes the aforesaid point!
Comment 3 Eike Hein 2013-04-11 21:54:16 UTC
*** Bug 314941 has been marked as a duplicate of this bug. ***
Comment 4 Peter Simonsson 2016-09-14 17:57:27 UTC
Git commit 66fc2f36af5290c436e3ff1abc62ad942a1f89ff by Peter Simonsson.
Committed on 14/09/2016 at 17:56.
Pushed by psn into branch 'master'.

Add font zooming to ircview

Ported patch by mayank jha to KF5

M  +5    -1    data/konversationui.rc
M  +27   -0    src/mainwindow.cpp
M  +30   -0    src/viewer/ircview.cpp
M  +5    -0    src/viewer/ircview.h
M  +26   -2    src/viewer/viewcontainer.cpp
M  +4    -0    src/viewer/viewcontainer.h

http://commits.kde.org/konversation/66fc2f36af5290c436e3ff1abc62ad942a1f89ff