Bug 3424 - Clicking on free space in message view can open compose window
Summary: Clicking on free space in message view can open compose window
Status: RESOLVED WONTFIX
Alias: None
Product: Claws Mail (GTK 2)
Classification: Unclassified
Component: UI/Message View (show other bugs)
Version: 3.11.1
Hardware: PC Linux
: P3 minor
Assignee: users
URL:
Depends on:
Blocks:
 
Reported: 2015-05-07 16:08 UTC by Hans
Modified: 2015-05-08 00:33 UTC (History)
0 users

See Also:


Attachments

Description Hans 2015-05-07 16:08:49 UTC
Addresses with line breaks in the message window are activated by clicking very far to the right of them. This is annoying to me because I often happen to open a compose window when I just want to activate the main window by clicking on free space in it.
Solution: Only react to clicks when the mouse pointer is over the address (as it happens when the addresses are not split up by a line break).
Comment 1 Paul 2015-05-07 16:15:48 UTC
Works fine for me. Please attach a message file which demonstrates the behaviour that you describe.
Comment 2 Andrej Kacian 2015-05-07 20:35:09 UTC
Unfortunately, this is not currently possible, sorry.

I thought it would be doable by setting "wrap-mode" and "wrap-mode-set" attributes for the "hlink" text tag, and maybe bumping this tag's priority, but it does not work.

Anyone interested should feel free to dig around in src/textview.c, maybe you will come up with a solution.
Comment 3 Hans 2015-05-08 00:33:40 UTC
Thanks for trying, Andrej, and for your quick response!
I think with "not currently possible" you mean something like "not easily doable". That's fine with me. I don't ask for big parts of the code to be rewritten to resolve one minor bug. At the same time, I would have preferred to leave it open. It's still a bug, not a feature.

Note You need to log in before you can comment on or make changes to this bug.