Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop down menu for enum field in table editor not populating. #10561

Closed
cbf305 opened this issue Nov 30, 2020 · 6 comments
Closed

Drop down menu for enum field in table editor not populating. #10561

cbf305 opened this issue Nov 30, 2020 · 6 comments
Assignees
Milestone

Comments

@cbf305
Copy link

cbf305 commented Nov 30, 2020

Client system info:

  • Linux (Arch - 5.9.9 Kernel)
  • DBeaver version 7.2.5.202011152110
  • Additional extensions - None

Server Info:

  • Database MariaDB 10.5.8-1 (Remote server is running Ubuntu 18.04)
  • Driver 2.4.3
  • Do you use tunnels or proxies (SSH, SOCKS, etc)? No

Describe the problem you're observing:

This has been an issue for a long time, but I just thought it was because I was running herbstluftwm and not a full DE, but recently I had a need to use dbeaver on a system with KDE and a Windows 10 system and both also did the same thing. Since I've tested this on several Arch and Ubuntu systems running, i3, KDE and herbstluftwm, as well as several different Windows 10 machines. I've also tested both MariaDB and MySQl servers and no matter the combination, they all do the same thing. When in the table editor and I click on a enum field to edit, it used to give a drop down list of the possible enum values. Now it displays the down arrow, but it never shows the values. If you use the scroll wheel on the mouse or two finger scrolling on a touch pad it will scroll through the values, but the menu won't display.

I am using the built-in Dark theme, but it exhibits the same behavior under any theme.

Screenshot showing the incomplete down down menu. There are 5 values for this enum field.
2020-11-30-115447_2560x1440_scrot

I am not sure if it is related to closed issue #2468 or not since there was not a description given.

Steps to reproduce, if exist:

  1. Create fresh DB on MariaDB or MySQL server
  2. Create fresh table with at least one field of type ENUM with more then one value
  3. Open table editor and try to change the enum field value by double clicking on it

Include any warning/errors/backtraces from the logs

There are no log errors

Thanks!

@tati-kru tati-kru changed the title Dowp down menu for enum field in table editor not populating. Drop down menu for enum field in table editor not populating. Dec 9, 2020
@uslss uslss added this to the 7.3.3 milestone Dec 10, 2020
@uslss
Copy link
Member

uslss commented Dec 10, 2020

Thanks for the report.
As a workaround, you can use Cell editor (Choose cell and then use Shift+Enter) or Value panel (Ctrl+7)

@cbf305
Copy link
Author

cbf305 commented Dec 10, 2020

Thanks for the tip. I've been using the value panel as a workaround, but I didn't know about the cell editor.

@n5a5 n5a5 self-assigned this Jan 11, 2021
@n5a5
Copy link
Member

n5a5 commented Jan 13, 2021

I found out that clicking on an inline editor on Linux triggers a FocusLost event. However, the reason for that is still a mystery to me. Needs more investigation.

@n5a5 n5a5 modified the milestones: 7.3.3, 7.3.4 Jan 15, 2021
n5a5 pushed a commit that referenced this issue Jan 15, 2021
n5a5 pushed a commit that referenced this issue Jan 18, 2021
serge-rider added a commit that referenced this issue Jan 18, 2021
#10561 check coordinates in focus lost event
@n5a5
Copy link
Member

n5a5 commented Jan 18, 2021

Fixed.

@uslss uslss self-assigned this Jan 19, 2021
@cbf305
Copy link
Author

cbf305 commented Jan 19, 2021

Awesome, thank you!

@uslss
Copy link
Member

uslss commented Jan 25, 2021

verified

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants