Bug 190513 - Column "First Matching Line" wrongly truncates shown line
Summary: Column "First Matching Line" wrongly truncates shown line
Status: RESOLVED WORKSFORME
Alias: None
Product: kfind
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-24 15:22 UTC by Alex Dănilă
Modified: 2023-01-14 05:11 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screenshot with an example. (222.51 KB, image/png)
2009-04-24 15:22 UTC, Alex Dănilă
Details
New screenshot (107.15 KB, image/png)
2010-02-19 00:15 UTC, Alex Dănilă
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Dănilă 2009-04-24 15:22:05 UTC
Version:            (using KDE 4.2.2)
OS:                Linux
Installed from:    Debian testing/unstable Packages

Some lines in "First Matching Line" in KFinds are truncated altough there exists more space to show them. Best seen in the screenshot attached.
Comment 1 Alex Dănilă 2009-04-24 15:22:55 UTC
Created attachment 33061 [details]
Screenshot with an example.
Comment 2 Dario Andres 2010-02-18 22:27:37 UTC
- Could you retest this on KDE SC 4.3 / 4.4 ? I did some changes to the treeview and I can't reproduce the bug with KDE SC 4.5trunk
Regards
Comment 3 Alex Dănilă 2010-02-19 00:14:38 UTC
(In reply to comment #2)
> - Could you retest this on KDE SC 4.3 / 4.4 ? I did some changes to the
> treeview and I can't reproduce the bug with KDE SC 4.5trunk
> Regards

Hi, I cannot reproduce the exact conditions, but the bug seems mostly gone. There is still a small difference between the cut-off limits. Please take a look at the new screenshot and decide if this a bug. Notice that some lines  are cut earlier than others.
Comment 4 Alex Dănilă 2010-02-19 00:15:34 UTC
Created attachment 40911 [details]
New screenshot
Comment 5 Dario Andres 2010-02-19 00:26:41 UTC
- If, in the treeview header, you double-click the line at the left of the "First Matching Line" column (to autoexpand it), does the problem "dissapear" ?
I just double checked the code, and the matching line is not getting chopped... so it may be a widget-style issue
Regards
Comment 6 Dario Andres 2010-02-19 00:28:25 UTC
- Also, could you try this using different widget styles ? (launch KFind from Konsole as "kfind -style plastique" or "kfind -style oxygen")
Comment 7 Alex Dănilă 2010-02-19 21:05:01 UTC
Hi,
i forgot to mention that I run 4.3.4 from Debian, and not something newer.

So I did:
1. Click on the header at the left of "First matching line". This doesn't autoexpand any column, I guess it is a newer Qt feature than my 4.5.3. The truncation is still there.

2. Try other styles, and the situation is just the same.

I'll try to remember to come back when I have a newer KDE or Qt.
Comment 8 Dario Andres 2010-02-19 21:35:36 UTC
> So I did:
> 1. Click on the header at the left of "First matching line". This doesn't
> autoexpand any column, I guess it is a newer Qt feature than my 4.5.3. The
> truncation is still there.

You need to *double-click* the "vertical line" (separator) between the two column headers ("First matching line" and the one to the right of it) (sorry, I said "left" instead of "right" in the previous message)
Comment 9 Alex Dănilă 2010-02-19 23:22:21 UTC
(In reply to comment #8)
> > So I did:
> > 1. Click on the header at the left of "First matching line". This doesn't
> > autoexpand any column, I guess it is a newer Qt feature than my 4.5.3. The
> > truncation is still there.
> 
> You need to *double-click* the "vertical line" (separator) between the two
> column headers ("First matching line" and the one to the right of it) (sorry, I
> said "left" instead of "right" in the previous message)

I see, I got it, I needed to double click on the _line_ not on the _header_. Yes, this expands that column.

Anyway, I'm satisfied with the current behaviour and I'm just signalling the potential issue, loosing 2-3 characters is not that important.
Comment 10 Dario Andres 2010-02-19 23:30:57 UTC
I was wondering if we could remove the start/end whitespaces from the line, so situations like you showed in the second image should not happen that much oftenly.
Regards
Comment 11 Burkhard Lück 2010-07-21 15:10:28 UTC
In recent 4.5 and trunk compiled from sources I don't have this bug anymore:

branch:
kfind --version
Qt: 4.6.3
KDE: 4.4.93 (KDE 4.4.93 (KDE 4.5 >= 20100713))
KFind: 2.0

trunk:
kfind --version
xxQt: 4.6.2
KDE Development Platform: 4.5.60 (KDE 4.5.60 (KDE 4.6 >= 20100627))
xxKFindxx: 2.0
xx
Comment 12 Andrew Crouthamel 2018-11-05 03:16:14 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 13 Andrew Crouthamel 2018-11-17 05:00:12 UTC
Dear Bug Submitter,

This is a reminder that this bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? This bug will be moved back to REPORTED Status for manual review later, which may take a while. If you are able to, please lend us a hand.

Thank you for helping us make KDE software even better for everyone!
Comment 14 Justin Zobel 2022-12-15 05:49:08 UTC
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 15 Bug Janitor Service 2022-12-30 05:22:21 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 16 Bug Janitor Service 2023-01-14 05:11:26 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!