Bug 317690 - height of message textbox doesn't scale correctly on qtcurve
Summary: height of message textbox doesn't scale correctly on qtcurve
Status: RESOLVED FIXED
Alias: None
Product: choqok
Classification: Applications
Component: general (show other bugs)
Version: 1.3
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Mehrdad Momeny
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-01 18:28 UTC by avlas
Modified: 2014-12-13 15:48 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 1.5


Attachments
screenshot (27.99 KB, image/png)
2013-04-01 19:05 UTC, avlas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description avlas 2013-04-01 18:28:58 UTC
using oxygen the height of the textbox scales so you can comforttably check all the text while writing. in contrast, in qtcurve you can only see a line and a scrollbar appears, which impedes to check all message at glance

Reproducible: Always

Steps to Reproduce:
1. move from oxygen style to qtcurve
2. write a message in choqok
3. height doesn't change and 
Actual Results:  
height doesn't change and a scrollbar appears instead

Expected Results:  
height should adapt
Comment 1 avlas 2013-04-01 18:49:22 UTC
It could also be a problem in qtcurve itself, please see:

https://bugs.kde.org/show_bug.cgi?id=317692
Comment 2 avlas 2013-04-01 19:05:32 UTC
Created attachment 78552 [details]
screenshot
Comment 4 Laurent Montel 2013-04-02 05:48:46 UTC
It's a problem of theme.
so I close it
Comment 5 avlas 2013-04-27 11:41:05 UTC
I'd like to fill a bug upstream then, any indication of where to reach QtCurve developers?
Comment 6 Christoph Feck 2013-05-14 00:46:30 UTC
You can report bugs for QtCurve on the kde-look.org page.

http://kde-look.org/content/show.php?content=40492
Comment 7 Yichao Yu 2013-09-28 03:38:50 UTC
jsardid@gmail.com :

I am the current maintainer of qtcurve. I cannot really reproduce your issue, i.e. I see no difference on either the inline or popup window for writing new message. Could you please
1. check if the issue is still there
2. your version of qtcurve and choqok
3. your qtcurve compile flag
4. more detail about your problem

P.S. I don't think this is a good place to discuss about qtcurve and I don't like to discuss on kde-look.org either. Could you please report this as an issue on github (github.com/qtcurve/qtcurve-qt4) and discuss there? Thank you.
Comment 8 avlas 2013-10-08 13:17:10 UTC
Thanks Yichao Yu for trying to fix the issue!

1. Yes I still see the problem in both the inline and the popout window. 
2. I'm using qtcurve (1.8.14), the new version of choqok (1.4), kde (4.11.2) and kubuntu (13.10).
3. I use deb packages from kubuntu, but I tried compiling from the git source you indicated with identical result.
4. There is no much more to explain, I just open choqok and try to write a message. Using oxygen the textbox rescales so you can see all your text. When using qtcurve, the window still rescales but so tiny bits that you cannot see more than a single line and the vertical scrollbar appears.

I'm opening an issue in github to continue discussion there...
Comment 9 Yichao Yu 2013-10-09 13:23:24 UTC
Update from QtCurve:
It turns out that this is because choqok uses the minimum height of the scrollbar for the height of the input area, making it theme and setting dependent.
I have added a lower limit on the size in QtCurve so this shouldn't be a problem anymore. However, maybe it is better or more reliable for choqok to support different settings and themes if the size is calculated from the font size.
Comment 10 Yichao Yu 2013-10-15 02:43:28 UTC
More update:

This should be fixed in choqok. Setting a minimul length of the scrollbar cannot fix the problem completely and it is actually also broken in oxygen if the user has a larger font than default.

How can I request reopenning this bug?
Comment 12 Yichao Yu 2013-11-22 13:03:32 UTC
https://git.reviewboard.kde.org/r/114022/
Comment 13 Yichao Yu 2013-12-29 22:32:43 UTC
Should be fixed with the merged review request.