[Solved] Gwenview 5 lost icons and single click

Hi,
I don't use KDE but I do use Gwenview. Since upgrading to 5 Gwenview has lost some icons (outlined in red below), and I now have to double click on directories and images to open them instead of single click. Is it possible to fix these issues without installing a full KDE desktop?
Thanks, Jamie
Last edited by JamieKitson (2015-02-10 22:30:10)

I get a much larger list in "kcmshell5 icons".  I think because I installed "plasma-meta", and removed "kdebase-workspace".
kcmshell5 --list
The following modules are available:
kf5.kservice.sycoca: Trying to open ksycoca from "/home/johnm/.cache/ksycoca5"
autostart - Automatically Started Applications
bell - System Bell
bluedeviladapters - Configure Bluetooth adapters
bluedevildevices - Manage Bluetooth devices
bluedeviltransfer - Configure Bluetooth file sharing and transfers
cache - Configure web cache settings
clock - Date and Time
colors - Application Color Scheme
componentchooser - Default Applications
cookies - Configure the way cookies work
cursortheme - Mouse Cursor Theme
desktop - Navigation, Number and Layout of Virtual Desktops
desktoppath - Paths to Personal Files
desktoptheme - Desktop Theme
devinfo - Device Viewer
dma - DMA information
emoticons - Emoticon Theme
filetypes - Configure file associations
fontinst - Font Installation, Preview and Removal
fonts - Fonts
formats - Numeric, Currency and Time Formats
icons - Icon Theme
interrupts - Interrupt information
ioports - IO-port information
joystick - Joystick
kcm_activities - Configure the activities system
kcm_baloofile - Configure File Search
kcm_infosummary - Hardware Information Summary
kcm_keyboard - Keyboard Hardware and Layout
kcm_kscreen - Manage and configure monitors and displays
kcm_lookandfeel - Look And Feel
kcm_memory - Memory information
kcm_pci - PCI information
kcm_phonon - Phonon Audio and Video
kcm_plasmasearch - Configure Search
kcm_splashscreen - Splash Screen Theme
kcm_ssl - SSL Versions and Certificates
kcm_useraccount - User information such as password, name and email
kcmaccess - Accessibility Options
kcmkded - Background Services
kcmkwineffects - Desktop Effects
kcmlaunch - Application Launch Feedback
kcmnotify - Event Notifications and Actions
kcmsmserver - Desktop Session Login and Logout
kcmtrash - Configure trash settings
kcmusb - USB devices attached to this computer
kcmview1394 - Attached IEEE 1394 devices
keys - Global Keyboard Shortcuts
khotkeys - Configure Input Actions settings
kwincompositing - Compositor Settings for Desktop Effects
kwindecoration - Look and Feel of Window Titles
kwinoptions - Window Actions and Behavior
kwinrules - Individual Window Behavior
kwinscreenedges - Active Screen Corners and Edges
kwinscripts - Manage KWin scripts
kwintabbox - Navigation Through Windows
mouse - Mouse Controls
netpref - Configure generic network preferences, like timeout values
nic - Network interface information
opengl - OpenGL information
powerdevilglobalconfig - Advanced Power Management Settings
powerdevilprofilesconfig - Energy Saving
proxy - Configure the proxy servers used
screenlocker - Screen Locking Timeouts
scsi - SCSI information
smb - Use to configure which windows (SMB) filesystems you can browse
smbstatus - Samba status monitor
solid-actions - Manage actions available to the user when connecting new devices
spellchecking - Spell Checker Dictionaries and Options
standard_actions - Standard Keyboard Shortcuts for Applications
style - Widget Style and Behavior
translations - No description available
useragent - Configure the way Konqueror reports itself
wayland - Information about the Wayland Compositor
webshortcuts - Configure web shortcuts
workspaceoptions - Workspace Behavior
xserver - X-Server information
Since you still probably have kdebase-workspace, maybe you can fix it with "kcmshell4 icons" instead.

Similar Messages

  • Can you have a pdf as an icon for single click access on ipad or iphone?

    can you have a pdf as an icon for single click access on ipad or iphone?

    No - I think Safari is the only app that can have separate shortcuts (for different sites) on the homescreens. You can only access PDFs by first going into it's owning app.

  • I am having problems with my Magic Trackpad.  All I can do is move the cursor and single click.  I using the most current version of Lion.

    I am having problems with my Magic Trackpad.  All I can do is move the cursor and single click.  I using the most current version of Lion.

    In System Preferences > Trackpad > your preferences should look like this screenshot.  If they don't then some 3rd party driver is conflicting.  The most common conflict is USBoverdrive. 

  • Double click and single click Event

    Hi
      I want to add a Single Clcik event and Double click event  both on the same movie clip in as3 , its working but call both the event same time so how to fix it , please help us if u have any solution ..(

    did you double click enable your object AND add a doubleclick listener?  if so, what's the problem?

  • How to separate double click action and single click action

    in my mouse action listerner for JTable.
    i do two actions, when user doule click column header, sort the column,
    when single clicked, select all cells in this column.
    but when user double clicked, the action attached with single click also triggered.(column sorted but also selected)
    how to separate them.

    Ok, so despite my earlier suggestion being basically the only solution offered anyway on the web it appears that Lokust is correct and that the single click operation would be performed as well as the double click one. to get round this u have to implement a Timer, i'm not going to post my whole code here because most of it is irrelevent, just add this code in the correct places and it should work fine. apologies to all format junkies for not using code tags!
    import java.util.Timer;
    import java.util.TimeTask;
    public class WhateverClassName implements MouseListener {
    private Timer t;
    private boolean doubleclick;
    myTable.addMouseListener(this);
    public void mouseClicked(MouseEvent e) {
         t = new Timer();
         if (e.getClickCount() == 2){
              doubleclick = true;
         else if(e.getClickCount()==1){
              t.schedule(new MyTimerTask(),500);
    /*You need all these methods as well */
    /* (non-Javadoc)
    * @see java.awt.event.MouseListener#mouseEntered(java.awt.event.MouseEvent)
    public void mouseEntered(MouseEvent arg0) {
    /* (non-Javadoc)
    * @see java.awt.event.MouseListener#mouseExited(java.awt.event.MouseEvent)
    public void mouseExited(MouseEvent arg0) {
    /* (non-Javadoc)
    * @see java.awt.event.MouseListener#mousePressed(java.awt.event.MouseEvent)
    public void mousePressed(MouseEvent arg0) {
    /* (non-Javadoc)
    * @see java.awt.event.MouseListener#mouseReleased(java.awt.event.MouseEvent)
    public void mouseReleased(MouseEvent arg0) {
    class MyTimerTask extends TimerTask{
    /* (non-Javadoc)
    * @see java.util.TimerTask#run()
         public void run() {
              if(doubleclick){
                   System.out.print("double click");
              else{
                   System.out.println("single click");
              t.cancel();
    This assumes that for it to be considered a double click user has to click twice within .5 seconds.
    Let me know if that works or not, sorry its a bit messy!

  • PcmanFM and single-click delay

    Howdy-ha, folks.  Does anyone know of a way to change the delay of (or do away with) automatic item selection on mouse hover in PcmanFM while using single-click mode?  I love this filemanager, and love using single-click, but it's irritating to have an entire selection range deselected because I can't hit a hotkey combo quickly enough.  Judging by the config file in ~/.config/pcmanfm, I'd guess not?  Or is there perhaps a third-party solution/work-around?

    I suppose Thunar could be considered a work-around, although I prefer PcmanFm.   Maybe I'll screw around with the source for it later today...  I know about as much about C as I do about the history of 19th-Century Appalachian quilting (I just arbitrarily assume it's written in C, which tells you what my qualifications for coding are), but I have an idea of where to start looking anyway.

  • Lost keypresses and mouse clicks:  Hardware problem?

    I recently bought an Intel MBP, and I've been noticing strange behaviors with regard to keypresses and mouse (touchpad) clicks getting lost sometimes. The problems I'm having are hard to reproduce intentionally, but I can hear the keypresses and mouse button clicks when I do them, yet nothing happens. While it's possible, that I sometimes am hitting the wrong key, I have been paying closer attention lately to this problem, and of course, the mouse button kinda hard to hit incorrectly. Here are some examples of weird things I encounter:
    If I click in a text field in Safari, sometimes the first keypress (and only the first) will get lost.
    Sometimes, the first keypress I type right after clicking gets lost. For instance, just now, I noticed a typo in the above sentence, so I clicked on the character and hit the Delete key. The cursor was in the right place, but the delete didn't happen. I had to press the key again.
    Sometimes, even when the window for sure has focus and the pointer is squarely pointing to a link, the first click on the link won't take. I have to click it again. Since Safari doesn't have adequate feedback for when you click something, that can get particularly frustrating. Similar things happen with buttons in applications or on the title bar.
    If I'm using an X11 app, and I copy/paste with the clipboard, the touchpad won't respond to movement for 2 or 3 seconds afterward. This is particularly visible with "nedit". I don't think this is an "ignore accidental touchpad input" issue, because this only happens with clipboard actions; other keys don't have this effect. I haven't noticed this with native apps.
    However, I have noticed in X11 and native apps, sometimes, Ctrl/Cmd-C and Ctrl/Cmd-V will be ignored. They're never ignored if I selected the text using the keyboard (shift+arrows), but if I select the text with the mouse and then use the shortcut to copy, the copy/paste sometimes doesn't happen.
    I have noticed that if I am more deliberate about clicks (make sure to hold the button down longer), the probability of losing the event SEEMS to be reduced, but not eliminated. Is there a debounce circuit involved that's causing me trouble?
    This kind of loss of input is unusual to me. I have a number of Windows and Linux PCs, and I've never experienced this sort of thing. I've also used a few Macs at school before I got this one and didn't notice anything weird.
    Can anyone shed some light on this for me? It would seem odd that I should have to modify my keyboard/mouse using behavior when switching to the Mac. If the problem is hardware, how can I prove it? (Perhaps I could boot Knoppix from a CD and mess around a bit.) If the problem is software, is this a case of MacOS trying to second-guess user input?
    Thanks!

    Theosib,
    Apple regularly monitors these boards, but you may never see a response from Apple directly. Assume this is a user to user forum. If you are having a problem with the computer and need a response from Apple call 1-800-APLCARE and speak to customer relations at that office if the technician is not able to satisfy your needs.
    Your problem while not unheard of, is more uncommon than the boards may make you believe.
    Remember, Spotlight is constantly indexing. If your hard drive is overfull, it may take longer for Spotlight to index, thus cause a multitasking delay. If you have many Dashboard widgets, they may all be trying to access the net for updates at once, and again, a delay might happen. I've written a FAQ* about several other factors which may affect Mac OS X speed, which could in theory also affect keyboard input:
    http://www.macmaps.com/Macosxspeed.html
    And of course, you should always check Apple menu -> System Preferences -> Keyboard and Mouse to make sure your input settings are the ones most comfortable for you when using the keyboard. It is possible a repeat rate could cause a delay.
    Edit: I attempted to answer another of your questions here recently with an update:
    http://discussions.apple.com/click.jspa?searchID=-1&messageID=3988468
    Please take a look and see if it answers your question.
    * Links to my FAQs may give me some compensation.

  • E71 lost icons and call register not working

    Hi!
    Suddenly my Nokia E71 started to work strange: all the icons in the main page disappeared, including the call notification, message received, etc., only the clock, bat and signal icons remain. Also the call register does not work: when I try to get in, goes back and doesn't even close when pushing the Exit button.
    Tried changing configuration, profiles, etc with the same result. Also tried to update but Ovi shows it has the latest firmware version.
    What can I do?
    Andrés.

    Check the standby mode by going to Tools>Settings>Personalisation>Standby>Active standby and make sure that active standby is on. This should bring up the other icons on the main page. 
    The other problem with the call register sounds more serious. Since there is no update available, I can only suggest resetting the phone using the *#7370# code but you could lose your data so you need to backup your phone before hand.

  • [SOLVED] firefox3 : huge icons and large fonts with big pixels issue

    hi all,
    i have a weird issue regarding firefox3b3 (and firefox3b4 from mozilla.org as well). Firefox2.0.12 is running fine, but the beta of 3 has insanely huge fonts and icons so big that I cannot use it properly.
    I have removed my .mozilla folder but that did not help, i have reinstalled it, downloaded the true ff3b4 from mozilla.org but all the same problem. On windows and solaris ff3 is running fine. Does anyone know what is doing this and how to fix it? icons are so large that it is even starting to get pixelated. I also tried <ctrl> - and <ctrl>/ and <ctrl>0 but none of those help either.
    thanks,
    stefan.
    Last edited by stefan1975 (2008-03-02 19:26:16)

    i have finally found a solution that Really works on the Ubuntu forum, i still had the same issue on my laptop (why it behaves different from my desktop i dont know, maybe because hwd -xs didnt make a 1920x1200 modeline in xorg.conf) but the following acutally works:
    1) Go to about:config in ff3
    2) Search "dpi". The value may be set to -1 (maybe auto-detection)
    3) Change it to 96 (default dpi)
    4) Enjoy Firefox 3!!!
    stefan

  • Most times firefox fails to launch when icon is single clicked on taskbar, then clicking again registers as a double click & will after a delay have firefox open 2 or 3 times.

    I boot up. Click on forfox. Nothing happens. Wait. Click on firefox again. Nothing happens. Go off to MS Outlook & check my email. Then firefox might open, but twice. It might not open & I close MS Outlook & try firefox icon again. Then all clicks might be responded to.
    Sometimes icon responds with no problem.

    Sounds like an over-active virus scanner or firewall if you can't even start up the RH .exe (without a project)

  • Single click folder name to expand folder in folder view?

    As with prior versions, in [Windows] Explorer's main window, you can enable hovering to select and single clicking to expand the folder (but that is a pain in the rear when working with files). Windows XP folder view nicely allowed single clicking the folder name to expand the folder. Was that removed from Windows 7? Looks like the only way to expand a folder in folder view is to either click on the small plus sign or to double click on the folder name.  Or is there a switch somewhere I am missing? Thanks.

    "...Things are worse than that now... When you single click on a folder name in the folder list, the folder contents show in the right hand file window, as usual. But, when you use an arrow key to move to a folder name in the folder list, the folder
    contents no longer show in the right hand file window...."
    The option  seems to be disabled. It is in Explorer>tools>folder options>navigation pane>"automatically expand to current folder" (win7 v6.1
    Excluding this extremely useful feature really cripples Win7Explorer. I was spoiled by w9x and XP explorers. I am new to MS forums. Is there a moderated microsoft forum where this question can be posted, in the hope that a patch is produced?
    I asked this in 2007 and I was answered <<WE DON'T GIVE A SH*T OF WHAT YOU WANT>>
    See here:
    http://connect.microsoft.com/WindowsServerFeedback/feedback/details/313066/explorer-should-expand-folder-tree-the-windows-xp-way

  • After upgrading to Lion, Preview (5.2.2) appears to have lost the facility to run a slide show by using my mouse to click an icon in the visible menu bar, as I could in the previous version.  Can I retrieve that icon and thus that facility?

    After upgrading to Lion, Preview (5.2.2) appears to have lost the facility to run a slide show by using my mouse to click an icon in the visible menu bar, as I could in the previous version.  Can I retrieve that icon and thus that facility?

    Unfortunately not. Lion has made many adjustments to the previous system. Try opening your pdfs in keynote.

  • How do I get back my small icon for one click completion of my name and address etc. I lost it when I got back my web address bar

    I was getting frustrated that I had no address bar to put in an address and go straight to the page, but in restoring that I have lost my small icon which I clicked on when I wanted to complete all my personal data on the many sites such as the council, shopping sites etc. It used to fill in my name, address, telephone number, email address, etc. It was a small square firefox icon. I am using a Toshiba Laptop, with Windows Vista operating system

    "small pencil" - Is this the '''exact''' extension you have installed? <br />
    https://addons.mozilla.org/en-US/firefox/addon/autofill-forms/
    I don't know where you are getting '''Ctrl + Q''' from - that extension uses '''''Alt + J''''' to trigger the 'autofill' feature when the cursor is in the first form field.
    '''FillForms''' extension doesn't seem to have a "small pencil" associated with it. <br />
    https://addons.mozilla.org/en-US/firefox/addon/fillforms/ <br />
    But it does use '''Ctrl + Q''' till web forms. <br />
    ''Sorry can't help you with that extension, the 'support' page is written in a SE Asian language which is undecipherable to me. <br /> http://www.symental.com/bbs/

  • Lost SMS Icon and get error message Uncaught exception Index 20 = 20

    Dear All
    I have lost my SMS Icon and looking at previous forums have carried out the following techniques which do not work
    1. I have gone to Messages - Options - SmS & Email Inboxes - Seperate but this does not solve anything
        Within this step i have switched off phone taken out battery etc...
    2. I have gone to Applications - menu - "show all" but my SMS icon cannot be found
    Just to note even when i go to Messages - View Folder - SMS Inbox .....i get the error message again  
    Uncaught exception Index 20 > = 20
    Anyone able to help ? Would be greatly appreciated.
    Thanks

    You may have already figured out your fix - but yesterday I went thru the same thing with my son's phone.  Overnight he lost his SMS & MMS Icon and was receiving Uncaught Exception Index 28 >= 28.  I called Verizon Tech Support and was told there was a corrupt file in the calendar. 
    We backed up the phone using the Desktop Manager - performed a security wipe and restored his phone. 
    His phone is back up and running as it should be.  Hope this helps.
     Laura

  • How to Open new screen for single click on ALV icon.

    Hi All,
    Can any body help me regarding the below ALV requirement.
    I need to create a executable program ZPROGRAM with a table having field to store long text.The ALV report should display records according to the selection screen parameters with a icon in each record when clicked should open a new screen with present data in the field and must be able to save the entered long text.
    Can any body give me the idea after displaying the simple ALV in the output,
    How to open new screen(not the Pop-up’s) after single click on the icon,
    in that I should be able to modify & save the long text in my ZTABLE and
    able to retrieve the same text for single clicked icon record.
    which function modules/Classes/Methods can we use for this requirement.
    And how retrieve the same text for this record.
    Thanks in advance.
    Regards,
    Kalam A.

    *& Report  ZTEST_ALV
    REPORT  ZTEST_ALV.
    TYPE-POOLS slis.
    DATA: gt_fieldcat TYPE TABLE OF slis_fieldcat_alv .
    DATA: gs_layout  TYPE slis_layout_alv.
    DATA: gt_list_top_of_page TYPE slis_t_listheader.
    DATA: gt_sortinfo_alv   TYPE  slis_t_sortinfo_alv.
    DATA: gs_print_alv TYPE slis_print_alv.
    DATA: gs_grid TYPE lvc_s_glay.
    DATA: gt_event TYPE slis_t_event.
    DATA: gs_event TYPE slis_alv_event.
    DATA: BEGIN OF GT_DISPLAY OCCURS 100.
       INCLUDE STRUCTURE MARA.
       DATA: BOX.
    DATA: END OF GT_DISPLAY.
    START-OF-SELECTION.
    SELECT * FROM MARA UP TO 50 ROWS
      INTO CORRESPONDING FIELDS OF TABLE GT_DISPLAY.
    End-of-Selection.
      PERFORM build_alv.
      PERFORM display_screen .
    FORM build_alv .
      DATA: ls_fieldcat LIKE LINE OF gt_fieldcat.
      DATA: ls_top TYPE LINE OF slis_t_listheader.
      DATA: ls_sort TYPE slis_sortinfo_alv.
      CLEAR: ls_fieldcat, gt_fieldcat[], ls_top,gt_list_top_of_page[],
             ls_sort,gs_grid,gs_print_alv,gt_sortinfo_alv[].
    *&-----gs_layout definition.
    gs_layout-zebra = 'X'.
    gs_layout-detail_popup = 'X'.          "ÊÇ·ñµ¯³öÏêϸÐÅÏ¢´°¿Ú
    gs_layout-f2code = '&ETA'.             "ÉèÖô¥·¢µ¯³öÏêϸÐÅÏ¢´°¿ÚµÄ¹¦ÄÜÂë,ÕâÀïÊÇË«»÷
      gs_layout-no_vline = ' '.              "ÉèÖÃÁмä¸ôÏß
      gs_layout-colwidth_optimize = 'X'.     "ÓÅ»¯Áпí
      gs_layout-detail_initial_lines = 'X'.
    gs_layout-coltab_fieldname = 'LINE_COLOR'. "Line_colorΪgt_displayµÄÒ»¸ö×Ö¶Î,¾ßÌåÑÕÉ«ÉèÖüûÏÂÃæ˵Ã÷.
      gs_layout-hotspot_fieldname = 'MATNR'.
    gs_layout-detail_titlebar = 'ÏêϸÄÚÈÝ'. "ÉèÖõ¯³ö´°¿ÚµÄ±êÌâÀ¸
    gs_layout-group_change_edit = 'X'.
    *&-----gs_grid definition.
      gs_grid-top_p_only = 'X'.
    *&-----gs_print_alv definition.
      gs_print_alv-prnt_title = 'X'.
      gs_print_alv-prnt_info = 'X'.
    *&-----gt_sortinfo_alv definition. С¼Æ
      ls_sort-fieldname = 'MTART'.
      ls_sort-tabname =  'GT_DISPLAY'.
      ls_sort-subtot = 'X'.
      ls_sort-spos      = 1.
      ls_sort-up        = 'X'.
    ls_sort-group = 'UL'.
      APPEND ls_sort TO gt_sortinfo_alv.
      ls_sort-fieldname = 'AENAM'.
      ls_sort-tabname =  'GT_DISPLAY'.
      ls_sort-subtot = 'X'.
      ls_sort-spos      = 1.
      ls_sort-up        = 'X'.
    ls_sort-group = 'UL'.
      APPEND ls_sort TO gt_sortinfo_alv.
    *&-----slis_t_listheader definition. title.
      CLEAR  ls_top.
      ls_top-key  = 'µ±Ç°ÈÕÆÚ:'.
      ls_top-typ  = 'S'.  " H = Header, S = Selection, A = Action
      CONCATENATE  sy-datum0(4)   '-' sy-datum4(2) '-' sy-datum+6(2) INTO ls_top-info .
      APPEND ls_top TO gt_list_top_of_page.
      CLEAR  ls_top.
      ls_top-key  = 'title'.
      ls_top-typ  = 'S'.  " H = Header, S = Selection, A = Action
      ls_top-info = space.
      APPEND ls_top TO gt_list_top_of_page.
    *&-----gs_print_alv definition.
      gs_print_alv-prnt_title = 'X'.
      gs_print_alv-prnt_info = 'X'.
    *&-----gt_fieldcat definition.
    CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
       EXPORTING
         i_program_name     = sy-repid
         i_internal_tabname = 'GT_DISPLAY'
          i_structure_name = 'MARA'
          I_CLIENT_NEVER_DISPLAY = 'X'
         i_inclname         = sy-repid
       CHANGING
         ct_fieldcat        = gt_fieldcat[]
       EXCEPTIONS
         inconsistent_interface = 1
         program_error          = 2
         OTHERS                 = 3.
      ls_fieldcat-hotspot = 'X'.
      MODIFY gt_fieldcat FROM ls_fieldcat INDEX 2.
    **-1. definition with macro.
      DEFINE macro.
       col_pos = col_pos + 1.
       ls_fieldcat-tabname   = 'it_typ_data'.
        ls_fieldcat-fieldname = '&1'.
        ls_fieldcat-seltext_l =  &2.
       ls_fieldcat-col_pos   =  col_pos.
        ls_fieldcat-outputlen =  '&3'.
       ls_fieldcat-datatype  =  '&4'.
       ls_fieldcat-do_sum    =  &5.
       ls_fieldcat-edit    =   &6.
       ls_fieldcat-checkbox  =   &7.
       ls_fieldcat-key   =   &9.
       ls_fieldcat-fix_column =  &10.
       ls_fieldcat-no_out =  &11.
        ls_fieldcat-ref_fieldname = &4.    " System F4 Effect.
        ls_fieldcat-ref_tabname   =  &5.   " System F4 Effect.
        ls_fieldcat-hotspot   =   &6.
        append ls_fieldcat to gt_fieldcat.
        clear ls_fieldcat.
      END-OF-DEFINITION.
      macro matnr     'matnr'            18   'MATNR'   'MARA'  'X'.
      macro MTART     'MTART'            18      'MTART' 'MARA'  ''.
      macro  AENAM    'AENAM'            18       'MAENAM'  'MARA'   ''.
    **-2. definition one-by-one.
    CLEAR ls_fieldcat.
    ls_fieldcat-fieldname = 'MATNR'.
    ls_fieldcat-seltext_s = 'ÎïÁÏ'.
    ls_fieldcat-ref_fieldname = 'ROLLNAME'.
    ls_fieldcat-ref_tabname   =  'DD03L'.
    APPEND ls_fieldcat TO gt_fieldcat.
    ENDFORM.                    "build_alv
    FORM display_screen .
    CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
       EXPORTING
         i_list_type     = 0
       IMPORTING
         et_events       = gt_event
       EXCEPTIONS
         list_type_wrong = 1
         OTHERS          = 2.
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    READ TABLE gt_event INTO gs_event WITH KEY name = 'TOP_OF_PAGE'.
    IF sy-subrc EQ 0.
       gs_event-form = 'TOP_OF_PAGE'.
       MODIFY gt_event FROM gs_event INDEX sy-tabix.
    ENDIF.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
      I_INTERFACE_CHECK                 = ' '
      I_BYPASSING_BUFFER                = ' '
      I_BUFFER_ACTIVE                   = ' '
         i_callback_program                = sy-repid
        i_callback_pf_status_set          = 'PF_STATUS_SET '
         i_callback_user_command           = 'USER_COMMAND'
        i_callback_top_of_page            = 'TOP_OF_PAGE'
       I_CALLBACK_HTML_TOP_OF_PAGE       = 'HTML_TOP_OF_PAGE'
      I_CALLBACK_HTML_END_OF_LIST       = ' '
      I_STRUCTURE_NAME                  =
        I_BACKGROUND_ID                   = 'ALV_BACKGROUND'    "When top-of-page is initial.
      I_GRID_TITLE                      =
      I_GRID_SETTINGS                   =
         is_layout                         = gs_layout
         it_fieldcat                       = gt_fieldcat[]
      IT_EXCLUDING                      =
      IT_SPECIAL_GROUPS                 =
        it_sort                           =  gt_sortinfo_alv[]
      IT_FILTER                         =
      IS_SEL_HIDE                       =
      I_DEFAULT                         = 'X'
       I_SAVE                            = 'A'
      IS_VARIANT                        =
      IT_EVENTS                         = gt_event
      IT_EVENT_EXIT                     =
       IS_PRINT                          = gs_print_alv
      IS_REPREP_ID                      =
      I_SCREEN_START_COLUMN             = 0
      I_SCREEN_START_LINE               = 0
      I_SCREEN_END_COLUMN               = 0
      I_SCREEN_END_LINE                 = 0
      I_HTML_HEIGHT_TOP                 = 0
      I_HTML_HEIGHT_END                 = 0
      IT_ALV_GRAPHICS                   =
      IT_HYPERLINK                      =
      IT_ADD_FIELDCAT                   =
      IT_EXCEPT_QINFO                   =
      IR_SALV_FULLSCREEN_ADAPTER        =
    IMPORTING
      E_EXIT_CAUSED_BY_CALLER           =
      ES_EXIT_CAUSED_BY_USER            =
        TABLES
          t_outtab                          = gt_display
    EXCEPTIONS
       program_error                     = 1
       OTHERS                            = 2
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.                    "display_screen
    FORM user_command          USING ucomm LIKE sy-ucomm
                               selfield TYPE slis_selfield.
    Data ref1 type ref to cl_gui_alv_grid.
      CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR' "Check Box need fieldcat-checkbox, input and edit.
         IMPORTING
           E_GRID = ref1.
      CASE ucomm.
        WHEN '&IC1'. " SAP standard code for double-clicking
    READ TABLE gt_display INTO gs_display INDEX  slis_selfield-tabindex.
    CHECK sy-subrc = 0.
         CASE  selfield-fieldname  .
           WHEN 'PLNUM'.
             SET PARAMETER ID 'PAF' FIELD gs_display-plnum.
             CALL TRANSACTION 'MD12' AND SKIP FIRST SCREEN.
           WHEN  'POSNR'.
           SUBMIT  rvscd100 USING SELECTION-SCREEN '1000' WITH vbeln = gs_display-vbeln
                                                          WITH posnr = gs_display-posnr
                                                          WITH zinfo = 'X'
                                                          AND RETURN.
         ENDCASE.
       IF selfield-sel_tab_field = 'OUT_ITAB-PI_SL'. " Line detail.
           READ TABLE i_output INTO pisl_itab INDEX selfield-tabindex.
           IF sy-subrc EQ 0.
       ENDIF.
        WHEN 'CHANGE'.
         CALL METHOD ref1->check_changed_data.
         CALL METHOD ref1->refresh_table_display.
    *5´Ë´¦´úÂë×èÖ¹'REUSE_ALV_GRID_DISPLAY´´½¨ÐµÄÆÁÄ»£¬Ôì³ÉÆÁÄ»¶à²ã
         selfield-refresh = 'X'.
        WHEN 'SWITCH'.
         PERFORM switch_edit_mode.
        WHEN OTHERS.
      ENDCASE.
    ENDFORM.                    "user_command
    Add your code in user_command form.
    WHEN you click matnr ucomm eq '&IC1'.
    Message was edited by:
            Chunhai Hu

Maybe you are looking for