Ticket #1045 (closed bug: fixed)

Opened 5 years ago

Last modified 4 years ago

Renaming layer in legend requires layer name change to cancel it's renaming

Reported by: marisn Owned by:
Priority: major: does not work as expected Milestone: Version 1.2.0
Component: Map Legend Version: Trunk
Keywords: Cc: pcav
Platform Version: Platform: Linux
Must Fix for Release: Yes Awaiting user input: no

Description

In legend right click layer name, choose rename and then try to cancel rename action without actually renaming layer. Only way how to cancel renaming is by changing atleast single letter in layer's name.

QGIS rev. 8351 Qt 4.3.4

Change History

follow-up: ↓ 2   Changed 5 years ago by jef

see also #1281

in reply to: ↑ 1   Changed 5 years ago by msieczka

  • priority changed from minor: annoyance or enhancement to major: does not work as expected
  • platform changed from Gentoo to Linux
  • type changed from defect to bug
  • component changed from Build/Install to Map Legend
  • must_fix changed from No to Yes

Replying to jef:

see also #1281

Ah yes. So this means the issue is still actuall as of QT 4.4.0, SVN r9284.

  Changed 4 years ago by lutra

  • cc pcav added
  • milestone changed from Version 1.0.3 to Version 1.2.0

Still a issue on QGIS 1.2 (rev. 10988 on Ubuntu 9.04).

  Changed 4 years ago by lutra

  • owner changed from nobody to wonder

Hi, I just noticed that editing layer names using the "F2" key seems to work fine now

 https://trac.osgeo.org/qgis/ticket/1440

you can exit/stop editing names (even if you haven't changed the name at all) by just selecting another layer, pressing enter or esc.

I guess this should help fixing the problem of editing trough

right click -> rename

especially when no changes are made.

PS

try

right click -> rename

a layer, rename it and press "esc" to exit. Qgis 1.2 (rev. 11015, Ubuntu 9.04) crashes (seg fault).

  Changed 4 years ago by wonder

  • owner wonder deleted

  Changed 4 years ago by jef

  • status changed from new to closed
  • resolution set to fixed

fixed in r11022

Note: See TracTickets for help on using tickets.