https://bugs.kde.org/show_bug.cgi?id=488597

            Bug ID: 488597
           Summary: Weird widget behavior
    Classification: Applications
           Product: kgeotag
           Version: 1.5.0
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: General
          Assignee: t...@stonemx.de
          Reporter: m...@2tefan.eu
  Target Milestone: ---

# SUMMARY
When poping out a widget (make it to its own floating window) and then closing
it. I am unable to get the widget back.

STEPS TO REPRODUCE
1. Make a widget float, for example Map (press the little pop out button in the
top right of every widget)
2. Close the floating widget with a hotkey, such as ALT+F4 (depending on your
window manager/desktop environment)
3. Now you can't get this widget back. Even a restart restores the old layout
and leaves the widget missing.

OBSERVED RESULT
Also, when right-clicking on the menu bar, it's shown, that a widget is
missing, such as the map. But everything is disabled, so you can't make the
widget visible again. The only workaround so far is to edit
`$XDG_CONFIG_HOME/kgeotagrc` (normally ~/.config/kgeotagrc) and removing
`windowState` under `[main]`.

EXPECTED RESULT
It would be nice, to either disable the possibility of removing widget, so
ALT+F4 does not do anything on widgets or just moves them back to the main
window. Or, it would be nice to enable removed widgets again via the menu bar.


SOFTWARE/OS VERSIONS
Distro: Arch Linux
Linux: 6.9.4-zen1-1-zen
Qt Version: 6.7.1

and

Distro: Ubuntu 22.04 LTS
Linux: 6.5.0-35-generic
Qt version: 5.15.3

(happens on both of them)

ADDITIONAL INFORMATION
If I add the following feature to the widgets:
`QDockWidget::DockWidgetClosable`, then it's possible to recover a lost widget
via the menu bar on top of the main window.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to