Bug 362091 - KDiff3 context menu (Dolphin) fills the complete screen
Summary: KDiff3 context menu (Dolphin) fills the complete screen
Status: RESOLVED DUPLICATE of bug 301691
Alias: None
Product: kdiff3
Classification: Applications
Component: kpart (show other bugs)
Version: 0.9.97
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: michael
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-22 15:23 UTC by Jens
Modified: 2021-08-13 21:29 UTC (History)
1 user (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 Jens 2016-04-22 15:23:53 UTC
Hello,

unfortunately the KDiff3 context menu in Dolphin is substantially disturbing:
The sub-menu of KDiff3 opens on mouse-over immediately. Of course this is intended and good.
But path names are not truncated so that on long path names a quite fat bar pops up that covers up much of the screen.
I could live with this issue more or less, but when the length of the path name (the width of the sub-menu) exceeds the width of the screen the context menu grows to the complete height of the screen with an almost empty menu. 
No chance to click anywhere else!
In addition it reaches into the neighbour monitor according to the width of the pathname/sub-menu.

I don't know why this menu draws an empty unclickable menu (below the bottom entry) filling up the complete screen when its width exceeds the width of the screen. Maybe its a general problem how menus are drawn under KDE/Ubuntu/X/whatever. But I would suggest to shorten/limit the file entries to a reasonable size to get a compact, clear and readable sub-menu

Anyway according to readability: is it really necessary to format file-names as URL's? I mean this makes names even longer. Besides these annoying "%20" replacements I am using a lot of Unicode characters which makes names REALLY long and unreadable! In addition Unicode characters are transformed to UTF-8 which then is URN-encoded. Couldn't that be easier?

I have to deal with this problem quite frequently and I cannot shorten my path names as a workaround for this.

Please forgive if I haven’t understood the sense of KDiff3 yet but thank you anyway in anticipation :-)

Best regards,
Jens

Reproducible: Always

Steps to Reproduce:
1. choose a file with a LONG path in dolphin
2. right-click this file to open the context menu
3. hover with the mouse over the "KDiff3 …" menu entry

Actual Results:  
The sub-menu pops up (as it should) and is drawn with the width of its longest entry.
When this width exceeds the limits of the screen it grows to the height of the screen.

Expected Results:  
The menu-text should be in proper Unicode format (at least for local files) and it should be truncated if necessary (e.g. "~/…/This is a long pathname.txt" or "~/…/This is a l….txt").

Maybe the issue with menus growing to full screen height when exceed in screen width is a general KDE problem. I don't know. But I'd like to suggest to shorten menu text as a workaround.
Comment 1 Zane Tu 2016-08-20 03:42:14 UTC
Possible duplicate: https://bugs.kde.org/show_bug.cgi?id=301691
Comment 2 Jens 2016-08-20 04:56:53 UTC
(In reply to Zane Tu from comment #1)
> Possible duplicate: https://bugs.kde.org/show_bug.cgi?id=301691

Thank you for your hint, Zane Tu.

As there obviously hasn't been (an approach for) a solution for this for more than 4 years now:
    Are the both of us the only users who are facing this problem?


So again I'd like to sum up the problem:

kdiff3's context menu displays 
- names as URN (non-ASCII chars are being displayed URL-encoded)
- names with full path name and file name (no truncation is applied)
dolphin's - or even KDE's - (context) menus that
- exceed screen width are causing the menu to grow to full screen height so that the screen is jammed with an almost empty menu.


Dear masters of the KDE universe,

please could somebody tell us what to do or how to solve this?

Thank you and kind regards :)

Jens
Comment 3 Zane Tu 2016-08-20 05:24:48 UTC
(In reply to Jens from comment #2)

>     Are the both of us the only users who are facing this problem?

I'm no longer facing this problem because kdiff3 menu has been missing since I upgraded to KF5: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=801680

As kdiff3 hasn't been updated for two years (http://kdiff3.sourceforge.net/#news), I don't think either problem is going to be fixed in the near future.
Comment 4 Zane Tu 2019-01-15 01:34:14 UTC
(In reply to Jens from comment #2)
> (In reply to Zane Tu from comment #1)
> > Possible duplicate: https://bugs.kde.org/show_bug.cgi?id=301691
> 
> Thank you for your hint, Zane Tu.
> 
> As there obviously hasn't been (an approach for) a solution for this for
> more than 4 years now:
>     Are the both of us the only users who are facing this problem?
> 
> 
> So again I'd like to sum up the problem:
> 
> kdiff3's context menu displays 
> - names as URN (non-ASCII chars are being displayed URL-encoded)
> - names with full path name and file name (no truncation is applied)
> dolphin's - or even KDE's - (context) menus that
> - exceed screen width are causing the menu to grow to full screen height so
> that the screen is jammed with an almost empty menu.
> 
> 
> Dear masters of the KDE universe,
> 
> please could somebody tell us what to do or how to solve this?
> 
> Thank you and kind regards :)
> 
> Jens

Seems fixed in v1.7.90. 

Version info: 
KDiff3 v1.7.90 (64-bit)
Dolphin v18.08.0 
Debian sid (Unstable) 
Related bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=801680
Comment 5 michael 2021-08-13 21:29:37 UTC

*** This bug has been marked as a duplicate of bug 301691 ***